You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 21, 2025. It is now read-only.
Repository navigation
This repository was archived by the owner on May 21, 2025. It is now read-only.
GameEvent::PlayerShoot is not executing within GameStateAnalyser #25
Unsure if this is a tf2 issue or an implementation issue, but I've tried putting a GameEvent::PlayerShoot into GameStateAnalyser.handle_message for the purposes of tracking weapon usage, however none of the demos I've tried (both my own and from others) have resulted in this event being executed. I've confirmed that the player death event is firing as intended using a print statement, and I've confirmed that no PlayerShoot events are missing the match statement by checking all unhandled GameEvents and messages for events containing "Shoot" in their serialized form.
I am using the command cargo run --release --bin gamestate -- "path/to/demo.dem" with the modification listed below.
Activity
megascatterbomb commentedon Nov 11, 2024
for copy-pasting convenience:
icewind1991 commentedon Dec 4, 2024
Not all game events are sent to players/recording in demos so the
PlayerShootevent is probably just included in demos