]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
document sv_eventlog_files_timestamps
[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>:player:<nickname>\r
27    :join:<ID>: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    :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>\r
44    :restart\r
45    :end\r
46    :gameover\r
47    :vote:suggested:<mapname>:<playerid>\r
48    :vote:keeptwo:<mapname>:<mapvotes>:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
49    :vote:finished:<mapname>:<mapvotes>:::<mapname>:<mapvotes>:<mapname>:<mapvotes>:...:didn't vote:<notvoters>\r
50    :vote:suggestion_accepted:<mapname>\r
51    :vote:vcall:<ID of player>:<vote command display string>\r
52    :vote:vyes:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
53    :vote:vno:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
54    :vote:vtimeout:<yescount>:<nocount>:<abstaincount>:<notvoters>:<mincount>\r
55    :vote:vstop:<ID of stopper>\r
56    :vote:vlogin:<ID of player>\r
57    :vote:vdo:<ID of player>:<do command display string>\r
58    :time:<YYYY-MM-DD HH:MM:SS>\r
59 \r
60    Note that only the :join and :player lines ever contain player names. The\r
61    :time event only appears in the log files if sv_eventlog_files_timestamps\r
62    is 1; there is no way to log these time stamps to the console (for console\r
63    timestamps, set timestamps to 1).\r
64 \r
65 team colors:\r
66     1 = No Team (Domination)\r
67     5 = Red Team\r
68    14 = Blue Team\r
69    10 = Pink Team\r
70    13 = Yellow Team\r
71 \r
72 itemstring:\r
73    <weaponid><flags>\r
74    or\r
75    <weaponid><flags>|<runes>\r
76 \r
77    where flags can contain:\r
78          F = player carries the flag\r
79          S = player has strength\r
80          I = player has the shield\r
81          T = player is typing (console, menu or chat)\r
82    \r
83    and weapon IDs are:\r
84          1 = Shotgun\r
85          2 = Uzi\r
86          4 = Mortar\r
87          8 = Electro\r
88         16 = Crylink\r
89         32 = Nex\r
90         64 = Hagar\r
91        128 = Rocket Launcher\r
92       4096 = Laser\r
93 \r
94    runes/curses are stored as a bit mask with the following values:\r
95          1 = Strength\r
96          2 = Defense\r
97          4 = Regeneration\r
98          8 = Speed\r
99         16 = Vampire\r
100       8192 = Weakness\r
101      16384 = Vulnerability\r
102      32768 = Venom\r
103      65536 = Slow\r
104     131072 = Empathy\r
105 \r
106 death type:\r
107    either a weapon ID (see above), or one of:\r
108      10000 = fallen to death\r
109      10001 = telefragged\r
110      10002 = drowned\r
111      10003 = killed by a trap / fallen into the void\r
112      10004 = lava\r
113      10005 = slime\r
114      10006 = console kill\r
115      10007 = (MinstaGib) out of ammo\r
116      10008 = swamp\r
117      10009 = team change\r
118      10010 = auto team change\r
119      10011 = camping protection\r
120          10012 = player became too fast (should never happen)\r
121 \r
122 There will be a log analyzer parsing this file format soon. Note that weapon\r
123 IDs are below 10000.\r