README.md 3.31 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

Phil.Lopes's avatar
Phil.Lopes committed
14
### Join
Phil.Lopes's avatar
Phil.Lopes committed
15
16
17
:join:PlayerID:TeamID:IPAddress:UserName
Example -- :join:3:3:37.6.246.199:XonoticPlayer159

Phil.Lopes's avatar
Phil.Lopes committed
18
### Team
Phil.Lopes's avatar
Phil.Lopes committed
19
20
21
:team:TeamID:?:?
Example -- :team:3:5:1

Phil.Lopes's avatar
Phil.Lopes committed
22
### Fire
Phil.Lopes's avatar
Phil.Lopes committed
23
24
25
:fire:PlayerID:WeaponID:PlayerCoordinates
Example -- :fire:1:2:'-1115.8 135.7 344.0'

Phil.Lopes's avatar
Phil.Lopes committed
26
### Item_Pickup
Phil.Lopes's avatar
Phil.Lopes committed
27
28
29
:item_pickup:ItemID:PlayerID:ItemQuantity:PlayerCoordinates
Example -- :item_pickup:4:2:80:'2369.9 -382.8 611.9'

Phil.Lopes's avatar
Phil.Lopes committed
30
### Weapon_Pickup
Phil.Lopes's avatar
Phil.Lopes committed
31
32
33
:weapon_pickup:PlayerID:WeaponID:PlayerCoordinates
Example -- :weapon_pickup:2:3:'2369.9 -382.8 611.9'

Phil.Lopes's avatar
Phil.Lopes committed
34
### Damage
Phil.Lopes's avatar
Phil.Lopes committed
35
36
37
:dmg:PlayerID_SHOOTER:PlayerID_VICTIM:DamageQuantity:PlayerCoordinates_SHOOTER:PlayerCoordinates_VICTIM
Example -- :dmg:1:2:79.625000:'1008.0 -1087.9 600.0':'1010.1 -861.0 600.0' 

Phil.Lopes's avatar
Phil.Lopes committed
38
### Self Damage
Phil.Lopes's avatar
Phil.Lopes committed
39
40
41
:self_dmg:PlayerID:PlayerID:DamageQuantity:PlayerCoordinates
Example -- :self_dmg:1:1:49.334324:'1182.7 -1018.4 600.0'

Phil.Lopes's avatar
Phil.Lopes committed
42
### Respawn
Phil.Lopes's avatar
Phil.Lopes committed
43
44
45
:respawn:PlayerID:RespawnCoordinates
Example -- :respawn:1:'-472.0 -1240.0 -150.0'

Phil.Lopes's avatar
Phil.Lopes committed
46
### Kill
Phil.Lopes's avatar
Phil.Lopes committed
47
48
49
50
51
52
53
54
: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'
:kill:suicide:1:1:type=522:items=10-1:'808.1 -551.5 -88.0'
:kill:accident:1:1:type=HURTTRIGGER:items=2-1:'-880.9 -509.4 164.7'
:kill:accident:1:1:type=LAVA:items=10-1:'1527.8 -793.1 472.0'

Phil.Lopes's avatar
Phil.Lopes committed
55
### Heal
Phil.Lopes's avatar
Phil.Lopes committed
56
57
58
:heal:PlayerID:HealQuantity:PlayerCoordinates
Example -- :heal:1:100:'112.0 142.0  -8.0'

Phil.Lopes's avatar
Phil.Lopes committed
59
### Armor
Phil.Lopes's avatar
Phil.Lopes committed
60
61
62
:armor:PlayerID:ArmorQuantity:PlayerCoordinates
Example -- :armor:1:5:'-785.0 -695.3 264.0'

Phil.Lopes's avatar
Phil.Lopes committed
63
### Strength Power (Begin)
Phil.Lopes's avatar
Phil.Lopes committed
64
65
66
:str_begin:PlayerID:PlayerCoordinates
Example -- :str_begin:1:'1868.0 -364.1 648.0'

Phil.Lopes's avatar
Phil.Lopes committed
67
### Strength Power (End)
Phil.Lopes's avatar
Phil.Lopes committed
68
69
70
:str_end:PlayerID:PlayerCoordinates
Example -- :str_end:1:'1602.8 -364.6 524.0'

Phil.Lopes's avatar
Phil.Lopes committed
71
### Part (Leave)
Phil.Lopes's avatar
Phil.Lopes committed
72
73
74
75
:part:PlayerID
Example -- :part:1

--------------- 
Phil.Lopes's avatar
Phil.Lopes committed
76
## End of Match Statistics
Phil.Lopes's avatar
Phil.Lopes committed
77

Phil.Lopes's avatar
Phil.Lopes committed
78
### Labels (ID Information for Parsing)
Phil.Lopes's avatar
Phil.Lopes committed
79
80
81
82
Example
:labels:player:score!!,,,,,,,,deaths<,dmg,dmgtaken<,,,elo,,fps,,,,,,,,,,,,,kills,,,,,,,,,,,,,,suicides<,,teamkills<


Phil.Lopes's avatar
Phil.Lopes committed
83
### Player (Individual Player Statistics)
Phil.Lopes's avatar
Phil.Lopes committed
84
85
86
87
88
89
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
: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
90
## Weapon ID References
Phil.Lopes's avatar
Phil.Lopes committed
91
92
93
94
95
96
97
98
99
100
1 = Blaster (Default Key Bind: 1)
2 = Shotgun (Default Key Bind: 2)
3 = Machine Gun (Default Key Bind: 3)
4 = Mortar (Grenade Launcher) (Default Key Bind: 4)
6 = Electro (Default Key Bind: 5)
7 = Crylink (Default Key Bind: 6)
8 = Vortex (Sniper) (Default Key Bind: 7)
9 = Hagar (Default Key Bind: 8)
10 = Devastator (Rocket Launcher) (Default Key Bind: 9)

Phil.Lopes's avatar
Phil.Lopes committed
101
## Item ID References
Phil.Lopes's avatar
Phil.Lopes committed
102
103
104
105
106
1 = Healing Item
2 = Armor Item
3 = Shotgun Ammo
4 = Machine Gun Ammo
5 = Mortar / Devastator Ammo
Phil.Lopes's avatar
Phil.Lopes committed
107
6 = Electro / Crylink / Vortex (Sniper) Ammo