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