3skcassoc / sich

Cossacks 3 multiplayer server
Do What The F*ck You Want To Public License
15 stars 2 forks source link

Reconnect to running game #4

Closed ralfeus closed 4 years ago

ralfeus commented 4 years ago

Hi. Is there a way for user to reconnect to existing game? It's useful since sometimes client crashes for one player but other continue playing. So it would be nice if crashed one could rejoin

3skcassoc commented 4 years ago

Unfortunately no. To be able to connect to an existing game (or something else, like, to save the state of the game) it must be supported by the client itself. The server only tracks connected clients and created rooms, and when the game starts, the server simply routes packets between clients without inspection what's inside.