Skip to content

Commit e62b9d1

Browse files
authored
Merge pull request #581 from markus-wa/unknown-events
fix: missing game events
2 parents 203c3b0 + 8669860 commit e62b9d1

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

pkg/demoinfocs/game_events.go

+2
Original file line numberDiff line numberDiff line change
@@ -228,6 +228,7 @@ func newGameEventHandler(parser *parser, ignoreBombsiteIndexNotFound bool) gameE
228228
"exit_buyzone": nil, // Dunno, only in locally recorded (POV) demo
229229
"flashbang_detonate": geh.flashBangDetonate, // Flash exploded
230230
"firstbombs_incoming_warning": nil, // First wave artillery incoming (Danger zone mode)
231+
"grenade_thrown": nil, // CS2 only, not reliable as it's not always present in demos and always fired. You should use "weapon_fire".
231232
"hegrenade_detonate": geh.heGrenadeDetonate, // HE exploded
232233
"hostage_killed": geh.hostageKilled, // Hostage killed
233234
"hostage_hurt": geh.hostageHurt, // Hostage hurt
@@ -237,6 +238,7 @@ func newGameEventHandler(parser *parser, ignoreBombsiteIndexNotFound bool) gameE
237238
"hltv_fixed": nil, // Dunno
238239
"hltv_message": nil, // No clue
239240
"hltv_status": nil, // Don't know
241+
"hltv_title": nil, // Don't know
240242
"hostname_changed": nil, // Only present in locally recorded (POV) demos
241243
"inferno_expire": geh.infernoExpire, // Incendiary expired
242244
"inferno_startburn": delay(geh.infernoStartBurn), // Incendiary exploded/started. Delayed because inferno entity is not yet created

0 commit comments

Comments
 (0)