From: Rudolf Polzer Date: Tue, 16 Aug 2011 12:24:22 +0000 (+0200) Subject: add a "match ID" (I line) X-Git-Tag: xonotic-v0.5.0~138 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f432043f5f14bf3b1dfcf027ff5d7324a14ee8e3;p=xonotic%2Fxonotic-data.pk3dir.git add a "match ID" (I line) --- diff --git a/qcsrc/server/playerstats.qc b/qcsrc/server/playerstats.qc index ea6956f79..402930f89 100644 --- a/qcsrc/server/playerstats.qc +++ b/qcsrc/server/playerstats.qc @@ -226,6 +226,7 @@ void PlayerStats_Shutdown() bufstr_set(b, i++, sprintf("T %s.%06d", strftime(FALSE, "%s"), floor(random() * 1000000))); bufstr_set(b, i++, sprintf("G %s", GetGametype())); bufstr_set(b, i++, sprintf("M %s", GetMapname())); + bufstr_set(b, i++, sprintf("I %s", matchid)); bufstr_set(b, i++, sprintf("S %s", cvar_string("hostname"))); bufstr_set(b, i++, sprintf("C %d", cvar_purechanges_count)); for(p = playerstats_last; (pn = db_get(playerstats_db, sprintf("%s:*", p))) != ""; p = pn)