Join back the game after crash
Moderator: Moderators
Join back the game after crash
Hi guys
The feature I miss the most is the possibility to come back to the game after it has crashed.
I've seen it in many games and I think it would be a great improvement in spring.
I know it might be a hard stuff (sync again and bandwidth)...
Thanx for your attention and you efforts in spring
Cheers
alexmic
The feature I miss the most is the possibility to come back to the game after it has crashed.
I've seen it in many games and I think it would be a great improvement in spring.
I know it might be a hard stuff (sync again and bandwidth)...
Thanx for your attention and you efforts in spring
Cheers
alexmic
Re: Join back the game after crash
This would be really hard to do.
Re: Join back the game after crash
would it not be possible to DL the replay file from the host, fast forward it to current gamestate, and then .give the dropped team back to the player ?
- MightySheep
- Posts: 243
- Joined: 11 Nov 2007, 02:17
Re: Join back the game after crash
or you could make it possible to save the game or have it autosave.
- BrainDamage
- Lobby Developer
- Posts: 1164
- Joined: 25 Sep 2006, 13:56
Re: Join back the game after crash
means 20-30 secs of inactivity every nth minutes of game, players would get quite frustratedMightySheep wrote:or you could make it possible to save the game or have it autosave.
Re: Join back the game after crash
lol, i fail to understand that,
the server would just have to send a copy of all its current information to the client joining...
literally a snapshot, then just run the connection as normal...
the server would just have to send a copy of all its current information to the client joining...
literally a snapshot, then just run the connection as normal...
Re: Join back the game after crash
the problem is that this snapshot can weigh in at several hundred megs.
Re: Join back the game after crash
a snapshot is basically the current Memory usage of spring.exe (RAM and swap)
Re: Join back the game after crash
why are save games so small?
isn't a lot of the stored data unsynced?
isn't a lot of the stored data unsynced?
Re: Join back the game after crash
the replays are basically the netcode (a list of commands) and then the game is extrapolated... not sure why games saves would be small... I would guess if you paused the game to let people rejoin another players saved game would probably suffice.
Re: Join back the game after crash
good catch, I dunno ^^ maybe it's not *that* much stuff.
Re: Join back the game after crash
No, it wouldn't have to include any loaded textures or models or sounds, just everything in the sim.SinbadEV wrote:a snapshot is basically the current Memory usage of spring.exe (RAM and swap)
Re: Join back the game after crash
A saved replay for even a large game is 2-3MB or so. So theoretically , the server could pause, send the replay to the client, which runs it at full speed with graphics off to get to the same state as everyone else. Then unpause and continue.
The problem is implementing this in spring is not as easy as that. However, it would probably be easier than writing a full save/load system. It's been on the wish list for a long time, but it's a big task...
The problem is implementing this in spring is not as easy as that. However, it would probably be easier than writing a full save/load system. It's been on the wish list for a long time, but it's a big task...
Re: Join back the game after crash
I was just wondering if reconnect could actually be handled like a huge ping...
Sometimes we see players with outrageous pings (i.e. > 5 secs) and the player can resync in secs when the game is paused...
So when the player joins back, pause the game and resync ?
I know it is quite the same idea as stated earlier but, I think the pausing stuff could remove a point?
Cheers
alexmic
Sometimes we see players with outrageous pings (i.e. > 5 secs) and the player can resync in secs when the game is paused...
So when the player joins back, pause the game and resync ?
I know it is quite the same idea as stated earlier but, I think the pausing stuff could remove a point?
Cheers
alexmic
- Tribulexrenamed
- Posts: 775
- Joined: 22 Apr 2008, 19:06
Re: Join back the game after crash
Brain Damage wrote:means 20-30 secs of inactivity every nth minutes of game, players would get quite frustratedMightySheep wrote:or you could make it possible to save the game or have it autosave.
Multithreading ;]
Re: Join back the game after crash
Continuing the sim in one thread while saving it in the other?Tribulex wrote:Brain Damage wrote:means 20-30 secs of inactivity every nth minutes of game, players would get quite frustratedMightySheep wrote:or you could make it possible to save the game or have it autosave.
Multithreading ;]
