1. Fill your cup and take your pick among the maps best suited for this year's Hive Cup. The 6th Melee Mapping Contest Poll is up!
    Dismiss Notice
  2. Shoot to thrill, play to kill. Sate your hunger with the 33rd Modeling Contest!
    Dismiss Notice
  3. Do you hear boss music? It's the 17th Mini Mapping Contest!
    Dismiss Notice
  4. Check out the Staff job openings thread.
    Dismiss Notice
Dismiss Notice
60,000 passwords have been reset on July 8, 2019. If you cannot login, read this.

Computing unit bounty (gold upon kill) from a replay

Discussion in 'Warcraft Discussion' started by jp06, Sep 23, 2019.

Tags:
  1. jp06

    jp06

    Joined:
    Jul 10, 2015
    Messages:
    4
    Resources:
    0
    Resources:
    0
    Is it possible to do it for every instance of it throughout the game? Like when a unit does not have a fixed bounty (e.g. between 45-53)?

    I've read some stuff about Warcraft III replays and the bounty gold data is not in there. But if this can be reproduced when playing the replay, could there be some way to compute it from timestamps or seeds?

    I just want to try to make a DotA replay parser in the future and I'm wondering if I could deviate from the good old way of taking the costs of items bought throughout the game for net worth statistics.
     
    Last edited: Sep 23, 2019
  2. Ceday

    Ceday

    Joined:
    Feb 22, 2010
    Messages:
    1,114
    Resources:
    0
    Resources:
    0
    There is no way to extract this information from the replay file alone. Replay files only store necessary information (player inputs + seeds) so that by executing same actions game engine can reproduce the same game. They do not store redundant information such as resources of players, happened events, units on the map...