Play2D Development Team

In-game login system



In-game login system

Post by Guest on Sat Aug 27, 2016 4:16 am

If we want to have some kind of report system we're not going to be able to rely on the account's ID (everyone knows that the IDs can be faked), for that I have a possible solution:

1. Every time a user logins to his account, it generates a unique session ID
2. The session ID is logged on the user's account on some database
3. The session ID will be sent to the player & to the servers, this is going to be used to check login sessions in game
4. If someone wants to report a cheater, this person will have to send the session id of the cheater
5. Since the session ID is dynamic, the person (that's reporting) will have to tell when was the cheater seen cheating. That information will be checked with the information of the database

1. A session ID will be generated anyway
3. The IP of the player will be stored on the session ID, and the session ID on some database
4. If someone reports the session ID, it will be easy to just ban that IP address

Please give some ideas/suggestions regarding the design of this system, or propose your own.


Posts : 1
Join date : 2016-08-27

Re: In-game login system

Post by _Yank on Sat Aug 27, 2016 1:30 pm

I kinda agree but keep that in mind that most things will need to be done on the server side. The server would generate the session ID and link it to its account. Then each player would retrieve that session from the server and not from the player itself (this way player would be able to fake it since the game is opensource).

    Current date/time is Sat Jan 19, 2019 5:20 am