odota / core

Open source Dota 2 data platform
https://www.opendota.com
MIT License
1.52k stars 303 forks source link

Mixed up players on Immortal Draft replays #2811

Open howardchung opened 2 weeks ago

howardchung commented 2 weeks ago

Received via email:

I found a bug for parsing Immortal Draft replays, it seems like when Immortal Draft replays are parsed all the heroes, and names, colors get mixed up, probably because all players get that set at the start of the replay then later when people get drafted to a team it is all changed. For reference here is a replay that is bugged: https://www.opendota.com/matches/8003434593/chat

We probably need to update the parser to handle this case and fetch the player to slot mappings at the start of the game and not when first available