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

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

Guillaume.Chanel's avatar
Guillaume.Chanel committed
10
11
12
All logs can be parsed by the ':' separator. The first is always a string event which dictates the rest of the marker.

Other information for the logging system can be found on the [Xonotic page](https://github.com/xonotic/xonotic/wiki/Event-logging).
Phil.Lopes's avatar
Phil.Lopes committed
13

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

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

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

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

Phil.Lopes's avatar
Phil.Lopes committed
28
### Item_Pickup
Phil.Lopes's avatar
Phil.Lopes committed
29
30
31
: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
32
### Weapon_Pickup
Phil.Lopes's avatar
Phil.Lopes committed
33
34
35
:weapon_pickup:PlayerID:WeaponID:PlayerCoordinates
Example -- :weapon_pickup:2:3:'2369.9 -382.8 611.9'

Phil.Lopes's avatar
Phil.Lopes committed
36
### Damage
Phil.Lopes's avatar
Phil.Lopes committed
37
38
39
: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
40
### Self Damage
Phil.Lopes's avatar
Phil.Lopes committed
41
42
43
: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
44
### Respawn
Phil.Lopes's avatar
Phil.Lopes committed
45
46
47
:respawn:PlayerID:RespawnCoordinates
Example -- :respawn:1:'-472.0 -1240.0 -150.0'

Phil.Lopes's avatar
Phil.Lopes committed
48
### Kill
Phil.Lopes's avatar
Phil.Lopes committed
49
50
51
52
53
54
55
56
: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
57
### Heal
Phil.Lopes's avatar
Phil.Lopes committed
58
59
60
:heal:PlayerID:HealQuantity:PlayerCoordinates
Example -- :heal:1:100:'112.0 142.0  -8.0'

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

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

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

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

--------------- 
Phil.Lopes's avatar
Phil.Lopes committed
78
## End of Match Statistics
Phil.Lopes's avatar
Phil.Lopes committed
79

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


Phil.Lopes's avatar
Phil.Lopes committed
85
### Player (Individual Player Statistics)
Phil.Lopes's avatar
Phil.Lopes committed
86
87
88
89
90
91
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
92
## Weapon ID References
Phil.Lopes's avatar
Phil.Lopes committed
93
94
95
96
97
98
99
100
101
102
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
103
## Item ID References
Phil.Lopes's avatar
Phil.Lopes committed
104
105
106
107
108
1 = Healing Item
2 = Armor Item
3 = Shotgun Ammo
4 = Machine Gun Ammo
5 = Mortar / Devastator Ammo
Phil.Lopes's avatar
Phil.Lopes committed
109
6 = Electro / Crylink / Vortex (Sniper) Ammo