Any C# programmer?
#9

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
You can login from the launcher using the same algorithm that you use in game, but the problem is that there is no way that you can pass info between launcher and ingame DIRECTLY so when players enters game there is no way to check if player logged in successfully from launcher.

However if you think you can actually pass info from launcher to ingame, here is the methods that I thought:
  • Create a mysql table name say "launcherLogin" and then create columns say (timestamp, ip, playerName/playerAccID).
  • On successful login from launcher insert info into db.
  • When players comes in game retrieve info from the same DB using ip and playerName/playerAccID and check the difference between current timestamp and timestamp in DB.
  • If difference isn't more than say 25secs then allow login and delete that row, else he didnt login from launcher.
EDIT :
However as iKarim mentioned the app can be reverse-engineered so the DB part should be done on server side using a suitable backend language like php, asp.net, nodejs etc.
I understand the login part now, but it is first time when I hear about reverse-engineering and I didn't really understand how to make it with php, do any of you know any good tutorial for this?

I want the same login on the launcher because there will be the UCP too.
Reply


Messages In This Thread
Any C# programmer? - by AndreiWow - 05.04.2017, 20:55
Re: Any C# programmer? - by Isolated - 05.04.2017, 21:21
Re: Any C# programmer? - by nicolaskettler - 05.04.2017, 22:28
Re: Any C# programmer? - by ]Kurence[ - 05.04.2017, 23:45
Re: Any C# programmer? - by AndreiWow - 06.04.2017, 05:32
Re: Any C# programmer? - by iKarim - 06.04.2017, 05:55
Re: Any C# programmer? - by ]Kurence[ - 06.04.2017, 06:18
Re: Any C# programmer? - by BroZeus - 06.04.2017, 06:33
Re: Any C# programmer? - by AndreiWow - 06.04.2017, 13:18
Re: Any C# programmer? - by jlalt - 06.04.2017, 13:39

Forum Jump:


Users browsing this thread: 1 Guest(s)