StatsHelix / demoinfo

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

bullet_impact event #161

Closed tobuhl closed 4 years ago

tobuhl commented 4 years ago

Hi,

I wanted to use your library because I am interested in bullet_impact events in demos, but it seems that it is not being parsed since there isn't even a case for it in the game event handler: https://github.com/StatsHelix/demoinfo/blob/master/DemoInfo/DP/Handler/GameEventHandler.cs

Is it somehow possible to get this event?

master117 commented 4 years ago

I'm not sure if that event exists, sounds like something calculated client side. If it does, you can add an event handler like the others that exist. Weapon fired should probably be quite similar to it, check where it originates from and add your own handler next to it.

tobuhl commented 4 years ago

Alright, I see. It makes sense that non-hit bullet impacts aren't networked. I just thought that all (https://wiki.alliedmods.net/Counter-Strike:_Global_Offensive_Events) events are networked.

Thank you for your quick reply.