]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
pattern fix
[divverent/nexuiz.git] / Docs / eventlog.txt
1 cvars:\r
2 ______________\r
3 \r
4    sv_eventlog                    master switch (default: 0)\r
5    sv_eventlog_files              print frags, scores and captures for separate files each match (default: 0)\r
6    sv_eventlog_console            print frags, scores and captures to serverconsole during the match (default: 1)\r
7    sv_logscores_bots              choose whether bot are included in stats or not (default: 0)\r
8                                 \r
9    sv_eventlog_files_counter      number of matches logged until now\r
10    sv_eventlog_files_nameprefix   file name prefix to be used (default: nexuiz)\r
11    sv_eventlog_files_namesuffix   file name extension to be used (default: .log)\r
12    sv_eventlog_files_timestamps   prefix log lines in the files with :time events (default: 1)\r
13 \r
14 log format:\r
15 ______________\r
16 \r
17    :logversion:2\r
18    :gamestart:<gametype>_<mapname>:<matchid>\r
19    :gameinfo:mutators:LIST:mutator1:mutator2:...\r
20 \r
21       (note that mutators are listed by their cvar name with g_ removed,\r
22       unless such a cvar is 1 by default - then the mutator is listed with\r
23       a no_ prefix if the cvar is 0)\r
24 \r
25    :gameinfo:end\r
26    :join:<ID>:<slot>:<ip>:<nickname>\r
27    :join:<ID>:<slot>:bot:<nickname>\r
28    :name:<ID>:<nickname>\r
29    :part:<ID>\r
30    :team:<ID>:<team>\r
31    :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
32    :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
33    :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>\r
34    :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>\r
35    :ctf:steal:<flagcolor>:<ID of attacker>\r
36    :ctf:dropped:<flagcolor>:<ID of dropper>\r
37    :ctf:pickup:<flagcolor>:<ID of attacker>\r
38    :ctf:capture:<flagcolor>:<ID of attacker>\r
39    :ctf:return:<flagcolor>:<ID of defender>\r
40    :ctf:returned:<flagcolor>\r
41    :dom:taken:<previouscolor>:<ID of player>\r
42    :scores:<gametype>_<mapname>:<map runtime>\r
43    :labels:player:<head1><flags>,<head2><flags>,...\r
44    :player:see-labels:<score1>,<score2>,...:<playtime>:<team>:<ID>:<nickname>\r
45    :player:see-labels:<score1>,<score2>,...:<playtime>:spectator:<ID>:<nickname>\r
46    :labels:teamscores:<head1><flags>,<head2><flags>,...\r
47    :teamscores:see-labels:<score1>,<score2>,...:<team>\r
48    :end\r
49    :restart\r
50    :gameover\r
51    :vote:suggested:<mapname>:<playerid>\r
52    :vote:keeptwo:<mapname>:<mapvotes>:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
53    :vote:finished:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
54    :vote:suggestion_accepted:<mapname>\r
55    :vote:vcall:<ID of player>:<vote command display string>\r
56    :vote:vyes:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
57    :vote:vno:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
58    :vote:vtimeout:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
59    :vote:vstop:<ID of stopper>\r
60    :vote:vlogin:<ID of player>\r
61    :vote:vdo:<ID of player>:<do command display string>\r
62    :time:<YYYY-MM-DD HH:MM:SS>\r
63    :recordset:<ID of player>:<time in seconds>\r
64 \r
65    Note that only the :join and :player lines ever contain player names. The\r
66    :time event only appears in the log files if sv_eventlog_files_timestamps\r
67    is 1; there is no way to log these time stamps to the console (for console\r
68    timestamps, set timestamps to 1).\r
69 \r
70 team colors:\r
71     1 = No Team (Domination)\r
72     5 = Red Team\r
73    14 = Blue Team\r
74    10 = Pink Team\r
75    13 = Yellow Team\r
76 \r
77 label flags:\r
78    !! = primary sorting key\r
79    <!! = primary sorting key, lower is better\r
80    ! = secondary sorting key\r
81    <! = secondary sorting key, lower is better\r
82    < = lower is better\r
83 \r
84 itemstring:\r
85    <weaponid><flags>\r
86    or\r
87    <weaponid><flags>|<runes>\r
88 \r
89    where flags can contain:\r
90          F = player carries the flag\r
91          S = player has strength\r
92          I = player has the shield\r
93          T = player is typing (console, menu or chat)\r
94    \r
95    and weapon IDs are:\r
96          1 = Shotgun\r
97          2 = Uzi\r
98          4 = Mortar\r
99          8 = Electro\r
100         16 = Crylink\r
101         32 = Nex\r
102         64 = Hagar\r
103        128 = Rocket Launcher\r
104       4096 = Laser\r
105 \r
106    runes/curses are stored as a bit mask with the following values:\r
107          1 = Strength\r
108          2 = Defense\r
109          4 = Regeneration\r
110          8 = Speed\r
111         16 = Vampire\r
112       8192 = Weakness\r
113      16384 = Vulnerability\r
114      32768 = Venom\r
115      65536 = Slow\r
116     131072 = Empathy\r
117 \r
118 death type:\r
119    either a weapon ID (see above), or one of:\r
120      10000 = fallen to death\r
121      10001 = telefragged\r
122      10002 = drowned\r
123      10003 = killed by a trap / fallen into the void\r
124      10004 = lava\r
125      10005 = slime\r
126      10006 = console kill\r
127      10007 = (MinstaGib) out of ammo\r
128      10008 = swamp\r
129      10009 = team change\r
130      10010 = auto team change\r
131      10011 = camping protection\r
132          10012 = player became too fast (should never happen)\r
133 \r
134 There will be a log analyzer parsing this file format soon. Note that weapon\r
135 IDs are below 10000.\r