]> icculus.org git repositories - divverent/nexuiz.git/blob - Docs/eventlog.txt
event log now shows who's a player and who's a bot
[divverent/nexuiz.git] / Docs / eventlog.txt
1 cvars:
2 ______________
3
4    sv_eventlog                    master switch (default: 0)
5    sv_eventlog_files              print frags, scores and captures for separate files each match (default: 0)
6    sv_eventlog_console            print frags, scores and captures to serverconsole during the match (default: 1)
7    sv_logscores_bots              choose whether bot are included in stats or not (default: 0)
8                                 
9    sv_eventlog_files_counter      number of matches logged until now
10    sv_eventlog_files_nameprefix   file name prefix to be used (default: nexuiz)
11    sv_eventlog_files_namesuffix   file name extension to be used (default: .log)
12
13 log format:
14 ______________
15
16    :logversion:1
17    :gamestart:<gametype>_<mapname>:<matchid>
18    :join:<ID>:player:<nickname>
19    :join:<ID>:bot:<nickname>
20    :part:<ID>
21    :team:<ID>:<team>
22    :kill:frag:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
23    :kill:tk:<ID of killer>:<ID of victim>:type=<death type>:items=<itemstring of killer>:victimitems=<itemstring of victim>
24    :kill:suicide:<ID>:<ID>:type=<death type>:items=<itemstring>
25    :kill:accident:<ID>:<ID>:type=<death type>:items=<itemstring>
26    :ctf:steal:<flagcolor>:<ID of attacker>
27    :ctf:dropped:<flagcolor>:<ID of dropper>
28    :ctf:pickup:<flagcolor>:<ID of attacker>
29    :ctf:capture:<flagcolor>:<ID of attacker>
30    :ctf:return:<flagcolor>:<ID of defender>
31    :ctf:returned:<flagcolor>
32    :dom:taken:<previouscolor>:<ID of player>
33    :scores:<gametype>_<mapname>:<map runtime>
34    :player:<frags>:<deaths>:<playtime>:<team>:<ID>:<nickname>
35    :end
36    :gameover
37
38    Note that only the :join and :player lines ever contain player names.
39
40 team colors:
41     1 = No Team (Domination)
42     5 = Red Team
43    14 = Blue Team
44    10 = Pink Team
45    13 = Yellow Team
46
47 itemstring:
48    <weaponid><flags>
49    or
50    <weaponid><flags>|<runes>
51
52    where flags can contain:
53          F = player carries the flag
54          S = player has strength
55          I = player has the shield
56    
57    and weapon IDs are:
58          1 = Shotgun
59          2 = Uzi
60          4 = Mortar
61          8 = Electro
62         16 = Crylink
63         32 = Nex
64         64 = Hagar
65        128 = Rocket Launcher
66       4096 = Laser
67
68    runes/curses are stored as a bit mask with the following values:
69          1 = Strength
70          2 = Defense
71          4 = Regeneration
72          8 = Speed
73         16 = Vampire
74       8192 = Weakness
75      16384 = Vulnerability
76      32768 = Venom
77      65536 = Slow
78     131072 = Empathy
79
80 death type:
81    either a weapon ID (see above), or one of:
82      10000 = fallen to death
83      10001 = telefragged
84      10002 = drowned
85      10003 = killed by a trap / fallen into the void
86      10004 = lava
87      10005 = slime
88      10006 = console kill
89      10007 = (MinstaGib) out of ammo
90      10008 = swamp
91      10009 = team change
92      10010 = auto team change
93      10011 = camping protection
94
95 There will be a log analyzer parsing this file format soon. Note that weapon
96 IDs are below 10000.