Assambra / Free-MMORPG

MIT License
12 stars 5 forks source link

If a player disconnect from the server and fast logged in back, the player are allready exist on the server, we need a check for this behaviour #45

Closed Assambra closed 7 months ago

tvd12 commented 8 months ago

You can have a reconnect flow like that:

  1. After an user access app, you don't send a game logic command from client, you will send a reconnect command instead like this
  2. On server you will check state of the user and response the reconnect data like this
  3. Then on client you can process reconnect command response data and decide to reconnect the user to the current game or create new one like this.
Assambra commented 7 months ago

We close this issue because we open a new issue here #83 with the instructions how to implement a reconnecting it match better as the original issue descriped here. And at the moment it isnt reproducable too.