SUPPORT ACCOUNT CLANS
Welcome, Unregistered.
 

Thread: Working Replay Chat Parser!

Results 1 to 7 of 7
  1. #1

    Working Replay Chat Parser!

    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.

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

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

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

  5. #5
    Quote Originally Posted by vapor1zer View Post
    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.
    Ah thanks vapor! I'm always trying to get away from being dependent on s2 match info.

  6. #6
    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?

  7. #7
    Offline
    Account Icon
    Chat Symbol
    Join Date
    Jul 2009
    Location
    Van, down by the river.
    Posts
    1,370
    nvm.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •