Reconnecting after crashing

Reconnecting after crashing

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Reconnecting after crashing

Post by hrmph »

I'm curious, is this currently possible? I've noticed that the script.txt file still resides along with all the previous game information. If this isn't possible, how hard would it be to implement? The issue I see is that the server would have to be able to keep accepting connections even after a game has started (and tell which spot the returning player should be placed in).

Anyways, I think it would be a great feature. I'm sure every one of us has crashed out of a game, that kept running; in which we could have returned to and most likely won.

just babbling - hrmph
User avatar
jcnossen
Former Engine Dev
Posts: 2440
Joined: 05 Jun 2005, 19:13

Post by jcnossen »

If saving and loading is fully working, Im guessing the host could send a savegame to the person who has crashed. With a few modifications the clients engine would be able to load that (while the other players wait a moment though) and reconnect to the host and have the same gamestate as the host.

What is even better about this, is that you could also be able to save a multiplayer game when someone has to go and continue when all players are back :)
SJ
Posts: 618
Joined: 13 Aug 2004, 17:13

Post by SJ »

The current save game feature isnt that good yet though since it misses saving lots of different state. So someone would have to improve that first before trying to add the rest. It would be very nice if someone would do this though.
User avatar
hrmph
Posts: 1054
Joined: 12 May 2005, 20:08

Post by hrmph »

Ahh, now I understand how the two things go hand in hand (save state, and reconnecting).
Post Reply

Return to “Engine”