PDA

View Full Version : Working Replay Chat Parser!



Mazungu
05-10-2012, 03:00 PM
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 (http://jaredquick.com/hon_chat_parser.php?match_id=insertmatchidhere)

ex: http://mazungu.ftp.sh/hon_chat_parser.php?match_id=94281633 (http://jaredquick.com/hon_chat_parser.php?match_id=89314152)

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..

BeRRyBoY
05-13-2012, 09:33 PM
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 :D. Anyways, even better that you included the source <3

Mazungu
07-11-2012, 04:46 PM
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.

vapor1zer
07-13-2012, 09:55 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.

Mazungu
07-16-2012, 11:17 AM
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 (http://www.honalysis.com). In fact, I'm looking at your python script and it seems that we had similar ideas. Nice work.

Ah thanks vapor! I'm always trying to get away from being dependent on s2 match info.

Leo
08-01-2012, 02:46 PM
Really nice job man, I love it. The only thing I need now is to be able to get my match IDs when I'm far away from HON. Any clues?

Tanker
08-31-2012, 12:11 PM
nvm.