From b82161b356e31ce554369a42da80037f85f592e1 Mon Sep 17 00:00:00 2001 From: Samual Lenks Date: Thu, 6 Sep 2012 23:07:58 -0400 Subject: [PATCH] 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. --- qcsrc/server/playerstats.qc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2