StatsHelix / demoinfo

A library to analyze CS:GO demos in C#
MIT License
320 stars 78 forks source link

weapon_fire event not triggered for some knife attacks #92

Open econoraptor opened 8 years ago

econoraptor commented 8 years ago

I noticed that some of my player_hurt events caused by knife attacks had no associated weapon_fire event. I'm not sure if this is a problem with the parser or the demo though because when I used demoinfogo to get a text output of the demo, no weapon_fire event showed up in the text.

I'm not 100% certain, but I think this only happens with knives and not other weapons.

moritzuehling commented 8 years ago

Maybe for knife-attacks, since that are alternate-fires?

moritzuehling commented 8 years ago

Problem is, that I'm just passing the event on from the game, so it shouldn't be our code that causes the problem.