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