Blizzard / heroprotocol

Python library to decode Heroes of the Storm replays
MIT License
398 stars 69 forks source link

RegenGlobePickedUp not synced with SUnitDiedEvent #69

Open myrddraall opened 6 years ago

myrddraall commented 6 years ago

I'm trying to map the locations of regen globe pickups however RegenGlobePickedUp events happen 4-8 game ticks after their SUnitDiedEvents which sometimes leads to sequences such as:

SUnitDiedEvents SUnitDiedEvents RegenGlobePickedUp RegenGlobePickedUp

making it impossible to determine weather 2 players picked up the same globe or weather they each picked up one or tell if a globe expired vs was picked up in the last tick of it's life. Would t be possible to add m_unitTagIndex and m_unitTagRecycle to the m_intData of of RegenGlobePickedUp events?