]> git.xonotic.org Git - xonotic/xonotic.git/blob - Docs/scorelog.txt
Merge branch 'nyov/wikiexporter' into 'master'
[xonotic/xonotic.git] / Docs / scorelog.txt
1 cvars (see xonotic.org/tools/cacs for more up-to-date information):\r
2 ______________\r
3 \r
4    sv_logscores_console         print scores to serverconsole after each match (set to 1 to enable)\r
5    sv_logscores_file            print scores to a file after each match \r
6    sv_logscores_filename        filename of the output file if sv_logscores_file is enabled (the file will be stored in Xonotic/data/data or ~/.xonotic/data/data)\r
7    sv_logscores_bots            choose whether bot are included in stats or not\r
8 \r
9 \r
10 commands:\r
11 ______________\r
12 \r
13    printstats                   print current scores to file/console (requires sv_logscores_console and/or \r
14                                   sv_logscores_file to be enabled)\r
15 \r
16 \r
17 log format:\r
18 ______________\r
19 \r
20 example:\r
21    \r
22    :scores:dm_nexdm01:131\r
23    :player:1:7:129:1:GrooveMachine\r
24    :player:1:4:129:1:DanceWithMe\r
25    :player:10:1:130:3:Player\r
26    :end\r
27    \r
28    start of a new section:      :scores:<gametype>_<mapname>:<map runtime>              (if the dump was triggered\r
29                                    by "printstats", the line starts with :status:)\r
30    player entry:                :player:<frags>:<deaths>:<playtime>:<team>:<nickname>   (playername might contain ":",\r
31                                    so be sure your parser doesn't split them, playtime is messured in seconds)\r
32    section end:                 :end\r
33 \r
34 team colors:\r
35    Red Team     =  5\r
36    Blue Team    = 14\r
37    Yellow Team  = 13\r
38    Pink Team    = 10\r
39 \r
40    other team numbers may appear in free for all games\r
41 \r
42    for an example parser (written in php, thanks to tChr) have a look at:\r
43       http://excalibur.nvg.ntnu.no/nexuiz/statsparser\r