quaketf/server — Issue #16: Time remaining reports and gameclock syncing
Author: h1man
Created: 2011-11-27 02:23:32+00:00
State: open

This is analogous to KTPRO and the open-source KTX project.

Every minute there should be a "[x] minute(s) remaining", EXACTLY like KTPRO/KTX. A "30 seconds remaining" countdown should also be included, along with a 10 second final countdown.

Several benefits for this:
-Better knowledge of how long is left
-ezQuake's gameclock syncs with these messages. Therefore, if a person comes late to a game (player or spectator), his countdown gameclock will display the correct amount of minutes/seconds remaining.
-No cons to players using older clients

!! This requires changing the serverinfo "status" field !!

[11:53] in ktx you can find something like localcmd("serverinfo status \"%d min left\"\n", (int)self->cnt);
[11:53] localcmd( "serverinfo status Countdown\n" );
[11:53] localcmd("serverinfo status Standby\n");

ezQuake parses changes in server for:
Countdown
x min left
standby