Giter Club home page Giter Club logo

Comments (7)

barrett777 avatar barrett777 commented on August 27, 2024 1

That's beyond my expertise, so I can't really help with that. Be careful though, that sounds like it would be against Blizzard's terms of service.

from heroes.replayparser.

koliva8245 avatar koliva8245 commented on August 27, 2024

Calculating hit rates with abilities isn't possible. The replays keep track of actions/events, so in this case the it will keep track of when Ana's abilities is used but you won't know if it hit anything.

from heroes.replayparser.

paviad avatar paviad commented on August 27, 2024

I can correlate heals with Q's at least that's the intention also I can calculate the heal target based on hero locations at the Q event and the Q direction

from heroes.replayparser.

barrett777 avatar barrett777 commented on August 27, 2024

This unfortunately probably isn't possible for a few reasons. You can find some more info here: Blizzard/heroprotocol#27

As kolivia mentioned, the replay file keeps track of user actions. You may be able to see if Ana tries to use her 'Q' ability (though that is a big problem by itself), and you would know what direction she tries to cast it. That's about it though, as that is all the replay file needs in order to replay the game.

You probably won't know if she casts it successfully, for example if she was stunned when trying to cast it or something. You probably won't know if it hits another hero, as hero locations aren't very precise in the replay file (at least how my library is tracking them). They are good enough general location, but not enough that you can pick out which hero is hit by an ability like this.

from heroes.replayparser.

paviad avatar paviad commented on August 27, 2024

So the problem is recreating the game state based on replay data? In theory can we use the existing game DLL's to do that?

from heroes.replayparser.

barrett777 avatar barrett777 commented on August 27, 2024

Maybe, though you're getting into uncharted territory. You may find more info in the Starcraft 2 community as well. HotS replay format and game engine are based on Starcraft 2's engine, and they've had many more years of trying to pull more data from the replay file. Good luck :)

from heroes.replayparser.

paviad avatar paviad commented on August 27, 2024

What about running the entire game through a debugger and monitoring the memory?

from heroes.replayparser.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.