Assambra / Free-MMORPG

MIT License
12 stars 5 forks source link

Implement reconnecting to server #83

Open Assambra opened 7 months ago

Assambra commented 7 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.

Originally posted by @tvd12 in https://github.com/Assambra/Free-MMORPG/issues/45#issuecomment-1890391606