]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
add a note about matchid format
authorRudolf Polzer <divverent@alientrap.org>
Tue, 6 Dec 2011 17:55:59 +0000 (18:55 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Tue, 6 Dec 2011 17:55:59 +0000 (18:55 +0100)
qcsrc/server/g_world.qc

index 263f53d49f7c3c37ec090de9eb6facbe5106285a..d0474b8ed4e92633c8ee3a83747db22eff59ea99 100644 (file)
@@ -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));