From: Samual Lenks Date: Fri, 7 Sep 2012 03:07:58 +0000 (-0400) Subject: Bump the format version up for playerstats-- this way we can differentiate X-Git-Tag: xonotic-v0.7.0~249 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=b82161b356e31ce554369a42da80037f85f592e1;p=xonotic%2Fxonotic-data.pk3dir.git Bump the format version up for playerstats-- this way we can differentiate between old servers which still have the bug with accuracy and new servers which report accuracy properly. --- diff --git a/qcsrc/server/playerstats.qc b/qcsrc/server/playerstats.qc index b2b2750a7..a83c5772f 100644 --- a/qcsrc/server/playerstats.qc +++ b/qcsrc/server/playerstats.qc @@ -174,7 +174,7 @@ void PlayerStats_TeamScore(float t, string event_id, float value) // TODO: doesn The following keys are defined: - V: format version (always 1) - this MUST be the first line! + V: format version (always a fixed number) - this MUST be the first line! #: comment (MUST be ignored by any parser) R: release information on the server T: time at which the game ended @@ -236,7 +236,7 @@ void PlayerStats_ready(entity fh, entity pass, float status) switch(status) { case URL_READY_CANWRITE: - url_fputs(fh, "V 1\n"); + url_fputs(fh, "V 2\n"); #ifdef WATERMARK url_fputs(fh, sprintf("R %s\n", WATERMARK())); #endif