README.md 3.28 KB
Newer Older
Phil.Lopes's avatar
Phil.Lopes committed
1
2
# Intall Config

Phil.Lopes's avatar
Phil.Lopes committed
3
To use this logging system just replace the original qcsrc folder in: 
Phil.Lopes's avatar
Phil.Lopes committed
4
5
xonotic\data\xonotic-data.pk3dir\qcsrc with the one in this repository.

Phil.Lopes's avatar
Phil.Lopes committed
6
# Code Reference For Parsing
Phil.Lopes's avatar
Phil.Lopes committed
7
8
9
10
11

This is a reference for the logging codes we obtain from Xonotic just to make sure once analysing the markers everything is correct.

All logs can be parsed by the ':' separator. The first is always a string event which dictates the rest of the marker. 

Phil.Lopes's avatar
Phil.Lopes committed
12
## Keyword Event:
Phil.Lopes's avatar
Phil.Lopes committed
13
14
15

Join
:join:PlayerID:TeamID:IPAddress:UserName
Phil.Lopes's avatar
Phil.Lopes committed
16

Phil.Lopes's avatar
Phil.Lopes committed
17
18
19
20
Example -- :join:3:3:37.6.246.199:XonoticPlayer159

Team
:team:TeamID:?:?
Phil.Lopes's avatar
Phil.Lopes committed
21

Phil.Lopes's avatar
Phil.Lopes committed
22
23
24
25
Example -- :team:3:5:1

Fire
:fire:PlayerID:WeaponID:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
26

Phil.Lopes's avatar
Phil.Lopes committed
27
28
29
30
Example -- :fire:1:2:'-1115.8 135.7 344.0'

Item_Pickup
:item_pickup:ItemID:PlayerID:ItemQuantity:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
31

Phil.Lopes's avatar
Phil.Lopes committed
32
33
34
35
Example -- :item_pickup:4:2:80:'2369.9 -382.8 611.9'

Weapon_Pickup
:weapon_pickup:PlayerID:WeaponID:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
36

Phil.Lopes's avatar
Phil.Lopes committed
37
38
39
40
Example -- :weapon_pickup:2:3:'2369.9 -382.8 611.9'

Damage
:dmg:PlayerID_SHOOTER:PlayerID_VICTIM:DamageQuantity:PlayerCoordinates_SHOOTER:PlayerCoordinates_VICTIM
Phil.Lopes's avatar
Phil.Lopes committed
41

Phil.Lopes's avatar
Phil.Lopes committed
42
43
44
45
Example -- :dmg:1:2:79.625000:'1008.0 -1087.9 600.0':'1010.1 -861.0 600.0' 

Self Damage
:self_dmg:PlayerID:PlayerID:DamageQuantity:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
46

Phil.Lopes's avatar
Phil.Lopes committed
47
48
49
50
Example -- :self_dmg:1:1:49.334324:'1182.7 -1018.4 600.0'

Respawn
:respawn:PlayerID:RespawnCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
51

Phil.Lopes's avatar
Phil.Lopes committed
52
53
54
55
56
57
58
Example -- :respawn:1:'-472.0 -1240.0 -150.0'

Kill
:kill:KillType:PlayerID_KILLER:PlayerID_VICTIM:WEAPONID_or_ENVIRONMENTTYPE:items=WeaponID_KILLER:victimitems=WeaponID_VICTIM:KillingCoordinates

Example
:kill:frag:2:1:type=2:items=2-1:victimitems=2-1:'-482.6 -1249.2 -168.0'
Phil.Lopes's avatar
Phil.Lopes committed
59

Phil.Lopes's avatar
Phil.Lopes committed
60
:kill:suicide:1:1:type=522:items=10-1:'808.1 -551.5 -88.0'
Phil.Lopes's avatar
Phil.Lopes committed
61

Phil.Lopes's avatar
Phil.Lopes committed
62
:kill:accident:1:1:type=HURTTRIGGER:items=2-1:'-880.9 -509.4 164.7'
Phil.Lopes's avatar
Phil.Lopes committed
63

Phil.Lopes's avatar
Phil.Lopes committed
64
65
66
67
:kill:accident:1:1:type=LAVA:items=10-1:'1527.8 -793.1 472.0'

Heal
:heal:PlayerID:HealQuantity:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
68

Phil.Lopes's avatar
Phil.Lopes committed
69
70
71
72
Example -- :heal:1:100:'112.0 142.0  -8.0'

Armor
:armor:PlayerID:ArmorQuantity:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
73

Phil.Lopes's avatar
Phil.Lopes committed
74
75
76
77
Example -- :armor:1:5:'-785.0 -695.3 264.0'

Strength Power (Begin)
:str_begin:PlayerID:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
78

Phil.Lopes's avatar
Phil.Lopes committed
79
80
81
82
Example -- :str_begin:1:'1868.0 -364.1 648.0'

Strength Power (End)
:str_end:PlayerID:PlayerCoordinates
Phil.Lopes's avatar
Phil.Lopes committed
83

Phil.Lopes's avatar
Phil.Lopes committed
84
85
86
87
Example -- :str_end:1:'1602.8 -364.6 524.0'

Part (Leave)
:part:PlayerID
Phil.Lopes's avatar
Phil.Lopes committed
88

Phil.Lopes's avatar
Phil.Lopes committed
89
90
91
Example -- :part:1

--------------- 
Phil.Lopes's avatar
Phil.Lopes committed
92
## End of Match Statistics
Phil.Lopes's avatar
Phil.Lopes committed
93
94

Labels (ID Information for Parsing)
Phil.Lopes's avatar
Phil.Lopes committed
95

Phil.Lopes's avatar
Phil.Lopes committed
96
97
98
99
100
Example
:labels:player:score!!,,,,,,,,deaths<,dmg,dmgtaken<,,,elo,,fps,,,,,,,,,,,,,kills,,,,,,,,,,,,,,suicides<,,teamkills<


Player (Individual Player Statistics)
Phil.Lopes's avatar
Phil.Lopes committed
101

Phil.Lopes's avatar
Phil.Lopes committed
102
103
Example
:player:see-labels:2,0,0,0,0,0,0,0,0,226.743286,0,0,0,-2,0,200,0,0,0,0,0,0,0,0,0,0,0,0,2,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0:148:-1:1:Worship101
Phil.Lopes's avatar
Phil.Lopes committed
104

Phil.Lopes's avatar
Phil.Lopes committed
105
106
107
108
:player:see-labels:0,0,0,0,0,0,0,0,2,0,226.743286,0,0,-2,0,20,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0:135:-1:2:Worship101

---------------

Phil.Lopes's avatar
Phil.Lopes committed
109
## Weapon ID References
Phil.Lopes's avatar
Phil.Lopes committed
110
111

1 = Blaster (Default Key Bind: 1)
Phil.Lopes's avatar
Phil.Lopes committed
112

Phil.Lopes's avatar
Phil.Lopes committed
113
2 = Shotgun (Default Key Bind: 2)
Phil.Lopes's avatar
Phil.Lopes committed
114

Phil.Lopes's avatar
Phil.Lopes committed
115
3 = Machine Gun (Default Key Bind: 3)
Phil.Lopes's avatar
Phil.Lopes committed
116

Phil.Lopes's avatar
Phil.Lopes committed
117
4 = Mortar (Grenade Launcher) (Default Key Bind: 4)
Phil.Lopes's avatar
Phil.Lopes committed
118

Phil.Lopes's avatar
Phil.Lopes committed
119
6 = Electro (Default Key Bind: 5)
Phil.Lopes's avatar
Phil.Lopes committed
120

Phil.Lopes's avatar
Phil.Lopes committed
121
7 = Crylink (Default Key Bind: 6)
Phil.Lopes's avatar
Phil.Lopes committed
122

Phil.Lopes's avatar
Phil.Lopes committed
123
8 = Vortex (Sniper) (Default Key Bind: 7)
Phil.Lopes's avatar
Phil.Lopes committed
124

Phil.Lopes's avatar
Phil.Lopes committed
125
9 = Hagar (Default Key Bind: 8)
Phil.Lopes's avatar
Phil.Lopes committed
126

Phil.Lopes's avatar
Phil.Lopes committed
127
128
10 = Devastator (Rocket Launcher) (Default Key Bind: 9)

Phil.Lopes's avatar
Phil.Lopes committed
129
## Item ID References
Phil.Lopes's avatar
Phil.Lopes committed
130
131

1 = Healing Item
Phil.Lopes's avatar
Phil.Lopes committed
132

Phil.Lopes's avatar
Phil.Lopes committed
133
2 = Armor Item
Phil.Lopes's avatar
Phil.Lopes committed
134

Phil.Lopes's avatar
Phil.Lopes committed
135
3 = Shotgun Ammo
Phil.Lopes's avatar
Phil.Lopes committed
136

Phil.Lopes's avatar
Phil.Lopes committed
137
4 = Machine Gun Ammo
Phil.Lopes's avatar
Phil.Lopes committed
138

Phil.Lopes's avatar
Phil.Lopes committed
139
5 = Mortar / Devastator Ammo
Phil.Lopes's avatar
Phil.Lopes committed
140

Phil.Lopes's avatar
Phil.Lopes committed
141
6 = Electro / Crylink / Vortex (Sniper) Ammo