Open albertz opened 13 years ago
Note that there is one thing that made this a bit more complicated: Currently, the network protocol is general enough so that the respawn time might not be as simple as a time-countdown. There could be a game mode with a more complicated logic about this where a time-countdown might not make sense.
To solve this, there could be some signal from the server like "spawn-countdown
Converted from SourceForge issue 1989622, submitted by albertzeyer
Multiple things this will improve:
The client knows that the server received the information that the worm is dead.
The client can show a countdown to the next respawn (good if the respawn time is high like 30 secs or so).
If the count-down is over and the client did not receive the respawn after +1 secs or so, it can request it again.
Though, in all the cases, it also has to be ensured, that the client can not just randomly respawn when it like to (cheating) or that the server counts the dead twice.