From f69d478604b7191a0fd3f01d095f2774a1ec20ca Mon Sep 17 00:00:00 2001 From: Rudolf Polzer Date: Tue, 6 Dec 2011 18:55:59 +0100 Subject: [PATCH] add a note about matchid format --- qcsrc/server/g_world.qc | 4 ++++ 1 file changed, 4 insertions(+) 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)); -- 2.39.2