StatsHelix / demoinfo

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

Better grenades #138

Open econoraptor opened 6 years ago

econoraptor commented 6 years ago

Most demos seem to have at least a few missing detonate events from times we would fully expect the event to be present. This PR interpolates the detonate events by tracking their associated entities

Additions:

Problems:

econoraptor commented 6 years ago

You may want to hold off on merging/testing this. After messing around with grenades I checked some other entities and realized that a lot of events can be more reliably handled by looking up entity properties. I'll make a number of PRs when I'm finished with the changes and you can decide which you want in the main branch.