|
|
Took to long for s2 to fix the xml game logs so I created a little parser that just pulls the logs strait off the replay files. When you go to the url the site quickly downloads the file (if it has not been viewed yet) and parses for viewing. I've only tested about 20 games so let me know if something looks off.
http://mazungu.ftp.sh/hon_chat_parser.php?match_id=insertmatchidhere
ex: http://mazungu.ftp.sh/hon_chat_parser.php?match_id=94281633
Also, this downloads the replay from S2 so really old replays may not be available for download anymore.
Here is the source in case anyone else wants to poke around https://github.com/jquick/hon_chat_parser
**update: casual mode games may or may not work.. ill fix it when i get around to it..
Last edited by Mazungu; 07-06-2012 at 01:07 AM.
Hey man, looks awesome! Maybe we can chat sometime and maybe colab for a project! Keep up the good work! If you have Skype or something, I'd love to chat with you. Anyways, even better that you included the source <3
I created a new python version which is much faster and uses the game logs
http://mazungu.ftp.sh/honcp.py?match_id=94888755
still adding a few things.. but mostly final
Ill update my github with it in a few.
Last edited by Mazungu; 07-11-2012 at 04:49 PM.
Hey, just so you know, all of the hero name mappings exist in entities_en.str in resources.sz. You can create a script to parse instead of hardcoding them all. I used it for www.honalysis.com. In fact, I'm looking at your python script and it seems that we had similar ideas. Nice work.
Last edited by vapor1zer; 07-13-2012 at 09:58 PM.
nvm.
Last edited by Tanker; 08-31-2012 at 12:23 PM.