Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support 7.07? #14

Open
GeraldLee opened this issue Dec 12, 2017 · 1 comment
Open

Support 7.07? #14

GeraldLee opened this issue Dec 12, 2017 · 1 comment

Comments

@GeraldLee
Copy link

will you guys support version 7.07? IceFrog added two new heroes.
btw, how you guys get the range of match id for a specific version of dota2.

@andreiapostoae
Copy link
Owner

I do plan to keep this tool updated, however I have been busy working for my BSc thesis.
Getting the match ID for a patch is not done programatically as the patch releases are rare and instead I check the patch release date and simulate a binary search on dotabuff match IDs until I hit the date of the release. If the patch is older and dotabuff does not show the actual date of the game, I use opendota the same way.

Basically:

  1. find the release date of a patch (info can be found online)
  2. find the last day of a patch (when the next patch is released or today if it is the latest patch)
  3. use dotabuff/opendota to query games and compare UNIX timestamp until those two dates are hit and then save the IDs in the config file (check bottom of the file)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants