Hello dear friends, since my first post on Reddit I have learned a lot!!! My code for the Dota 2 tool is now on github and I wanted to share some of the progress I have made since I have uploaded it there. The tool now supports these features:
- GetMatchHistory
- This provides the latest 100 matches with a lot of the information parsed and reformatted to make sense
- GetHeroes
- This method grabs the latest heroes
- GetMatchDetails [WIP]
- This method grabs an individual match detail including player information as well as build details
Here is a bit of the output for GetMatchDetails
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
Match ID: 1277955116 Match SeqNum: 1145807745 Real Players: 10 Start Time: 2/26/2015 5:41:40 PM Account ID: 4294967295 Sniper K/D/A: 10/11/4 CS: 214/2 Gold GPM: 452g GoldSpent: 13935g End of game: 3430g Account ID: 4294967295 Pudge K/D/A: 3/11/8 CS: 49/1 Gold GPM: 270g GoldSpent: 8125g End of game: 1580g Account ID: 4294967295 Necrolyte K/D/A: 2/8/11 CS: 62/0 Gold GPM: 282g GoldSpent: 10610g End of game: 189g Account ID: 113514646 Enigma K/D/A: 3/8/10 CS: 125/1 Gold GPM: 304g GoldSpent: 8275g End of game: 1846g Account ID: 4294967295 Ursa K/D/A: 3/8/5 CS: 101/1 Gold GPM: 321g GoldSpent: 12490g End of game: 291g Account ID: 88744521 Chaos knight K/D/A: 9/3/8 CS: 237/6 Gold GPM: 509g GoldSpent: 23585g End of game: 938g |
and here is a sample output of GetMatchHistory:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
Match 98 of 100 Match ID: 1280932739 Lobby Type: 1v1 Practice Matchmaking (8) MatchSeqNum: 1148462754 Start Time: 2/27/2015 4:12:17 PM Real Players: 2 Player 1 of 2 Name: Pudge Hero ID: 14 Account ID: 4294967295 Player 2 of 2 Name: Pudge Hero ID: 14 Account ID: 4294967295 |
As of now, I am only storing this data in memory but once I complete most of the these methods, I will move onto the data store phase. Currently I am leaning towards Microsoft SQL but that might not be the best approach for a long term solution. My end goal would be to keep storing data and allowing our users to use this as a database…similar to DotaBuff but hoping I could keep it free.
Stay tuned for more guides in this series!
You can find the guides here:
If you wish to contribute or see what the code looks like, check out my project on GitHub