From: Rudolf Polzer Date: Tue, 6 Dec 2011 17:55:59 +0000 (+0100) Subject: add a note about matchid format X-Git-Tag: xonotic-v0.6.0~35^2~12^2~1 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=f69d478604b7191a0fd3f01d095f2774a1ec20ca;p=xonotic%2Fxonotic-data.pk3dir.git add a note about matchid format --- diff --git a/qcsrc/server/g_world.qc b/qcsrc/server/g_world.qc index 263f53d49..d0474b8ed 100644 --- a/qcsrc/server/g_world.qc +++ b/qcsrc/server/g_world.qc @@ -718,6 +718,10 @@ void spawnfunc_worldspawn (void) // dom_init(); GameLogInit(); // prepare everything + // NOTE for matchid: + // changing the logic generating it is okay. But: + // it HAS to stay <= 64 chars + // character set: ASCII 33-126 without the following characters: : ; ' " \ $ if(autocvar_sv_eventlog) { s = sprintf("%d.%s.%06d", ftos(autocvar_sv_eventlog_files_counter), strftime(FALSE, "%s"), floor(random() * 1000000));