]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
I know it's wrong, but it sounds better. Tuba now one octave higher.
[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:3\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 = Laser\r
97                  2 = Shotgun\r
98                  3 = Uzi\r
99          4 = Mortar\r
100          5 = Electro\r
101          6 = Crylink\r
102          7 = Nex\r
103          8 = Hagar\r
104          9 = Rocket Launcher\r
105         10 = Port-O-Launch\r
106         11 = MinstaNex\r
107         12 = Grappling Hook\r
108         13 = Heavy Laser Assault Cannon\r
109         14 = T.A.G. Seeker\r
110 \r
111    runes/curses are stored as a bit mask with the following values:\r
112          1 = Strength\r
113          2 = Defense\r
114          4 = Regeneration\r
115          8 = Speed\r
116         16 = Vampire\r
117       8192 = Weakness\r
118      16384 = Vulnerability\r
119      32768 = Venom\r
120      65536 = Slow\r
121     131072 = Empathy\r
122 \r
123 death type:\r
124    either a weapon ID ORed with weapon death flags, or one of:\r
125      10000 = fallen to death\r
126      10001 = telefragged\r
127      10002 = drowned\r
128      10003 = killed by a trap / fallen into the void\r
129      10004 = lava\r
130      10005 = slime\r
131      10006 = console kill\r
132      10007 = (MinstaGib) out of ammo\r
133      10008 = swamp\r
134      10009 = team change\r
135      10010 = auto team change\r
136      10011 = camping protection\r
137          10012 = player became too fast (should never happen)\r
138          10013 = health rot\r
139          10014 = mirror damage\r
140          10015 = g_touchexplode\r
141          10100 = turret\r
142 \r
143    weapon death flags are:\r
144        256 = secondary fire\r
145            512 = splash damage\r
146           1024 = bounced projectile\r
147           2048 = head shot (MinstaNex only)\r
148           4096 = unused flag\r
149 \r
150 There will be a log analyzer parsing this file format soon. Note that weapon\r
151 IDs are below 10000.\r