]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
document all :vote: lines from eventlog
[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 \r
13 log format:\r
14 ______________\r
15 \r
16    :logversion:2\r
17    :gamestart:<gametype>_<mapname>:<matchid>\r
18    :gameinfo:mutators:LIST:mutator1:mutator2:...\r
19 \r
20       (note that mutators are listed by their cvar name with g_ removed,\r
21       unless such a cvar is 1 by default - then the mutator is listed with\r
22       a no_ prefix if the cvar is 0)\r
23 \r
24    :gameinfo:end\r
25    :join:<ID>:player:<nickname>\r
26    :join:<ID>:bot:<nickname>\r
27    :part:<ID>\r
28    :team:<ID>:<team>\r
29    :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
30    :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>\r
31    :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>\r
32    :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>\r
33    :ctf:steal:<flagcolor>:<ID of attacker>\r
34    :ctf:dropped:<flagcolor>:<ID of dropper>\r
35    :ctf:pickup:<flagcolor>:<ID of attacker>\r
36    :ctf:capture:<flagcolor>:<ID of attacker>\r
37    :ctf:return:<flagcolor>:<ID of defender>\r
38    :ctf:returned:<flagcolor>\r
39    :dom:taken:<previouscolor>:<ID of player>\r
40    :scores:<gametype>_<mapname>:<map runtime>\r
41    :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>\r
42    :restart\r
43    :end\r
44    :gameover\r
45    :vote:suggested:<mapname>:<playerid>\r
46    :vote:keeptwo:<mapname>:<mapvotes>:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
47    :vote:finished:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
48    :vote:suggestion_accepted:<mapname>\r
49    :vote:vcall:<ID of player>:<vote command display string>\r
50    :vote:vyes:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
51    :vote:vno:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
52    :vote:vtimeout:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
53    :vote:vstop:<ID of stopper>\r
54    :vote:vlogin:<ID of player>\r
55    :vote:vdo:<ID of player>:<do command display string>\r
56 \r
57    Note that only the :join and :player lines ever contain player names.\r
58 \r
59 team colors:\r
60     1 = No Team (Domination)\r
61     5 = Red Team\r
62    14 = Blue Team\r
63    10 = Pink Team\r
64    13 = Yellow Team\r
65 \r
66 itemstring:\r
67    <weaponid><flags>\r
68    or\r
69    <weaponid><flags>|<runes>\r
70 \r
71    where flags can contain:\r
72          F = player carries the flag\r
73          S = player has strength\r
74          I = player has the shield\r
75          T = player is typing (console, menu or chat)\r
76    \r
77    and weapon IDs are:\r
78          1 = Shotgun\r
79          2 = Uzi\r
80          4 = Mortar\r
81          8 = Electro\r
82         16 = Crylink\r
83         32 = Nex\r
84         64 = Hagar\r
85        128 = Rocket Launcher\r
86       4096 = Laser\r
87 \r
88    runes/curses are stored as a bit mask with the following values:\r
89          1 = Strength\r
90          2 = Defense\r
91          4 = Regeneration\r
92          8 = Speed\r
93         16 = Vampire\r
94       8192 = Weakness\r
95      16384 = Vulnerability\r
96      32768 = Venom\r
97      65536 = Slow\r
98     131072 = Empathy\r
99 \r
100 death type:\r
101    either a weapon ID (see above), or one of:\r
102      10000 = fallen to death\r
103      10001 = telefragged\r
104      10002 = drowned\r
105      10003 = killed by a trap / fallen into the void\r
106      10004 = lava\r
107      10005 = slime\r
108      10006 = console kill\r
109      10007 = (MinstaGib) out of ammo\r
110      10008 = swamp\r
111      10009 = team change\r
112      10010 = auto team change\r
113      10011 = camping protection\r
114          10012 = player became too fast (should never happen)\r
115 \r
116 There will be a log analyzer parsing this file format soon. Note that weapon\r
117 IDs are below 10000.\r