• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ Time to vote for the top 3 models! The POLL for Hive's 6th HD Modeling Contest: Mechanical is now open! 📅 Poll close on July 16, 2024! 🔗 Cast your vote now!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Any1 interested in polishing/finishing this PHP replay parser?

Status
Not open for further replies.
Level 22
Joined
Feb 4, 2005
Messages
3,971
http://forums.battle.net/thread.html?topicId=25170442476&sid=5010

Ofc this requires someone who is working with PHP

Replay parsers are very useful things, some are used in websites, others are just offline tools. Some parsers for SC2 were made but either require JAVA, or are simply buggy and work only for old versions and are abandoned. In SC Beta forum 1 guy posted his project that he releases for others to use as well:

https://code.google.com/p/phpsc2replay

You can try parsing your replays with this:
http://kuukkeli.ath.cx/ooaemkee/SC2Replay/upload_file.php

What makes it so great? That it has 3 very important features

- Display Winner correctly unlike some other buggy programs
- Version independent - worked for me for Patch 13 and 15 replays
- Displays which version the replay is from

Some sites don't show winner, I only dl replays where my fave player wins, with this I can see who wins before watching.

I don't want to load old version replays, with the parser I can see what version the replay is from and whether it is the latest before watching it.

I talked to the creator and he is working on improving APM system, adding chat log but he says he doesn't want to make interfaces and he's just giving it to users.

Of course, what Im asking is if someone can make a parser with black background like the war3 one:

http://w3rep.sourceforge.net/example.php

I would say, if SC2 parser was made to look that way, that would be best and using the code for SC2 already existing.

Here is the war3 parser source:
http://sourceforge.net/projects/w3rep/

Was thinking, if someone can make really a parser like the War3 one, using the SC2 code above, I would be thankful and so will thousands when they learn about the existence of such thing
 
Level 9
Joined
Nov 28, 2008
Messages
704
Jeez, that wouldn't be hard to do at all. I'll talk to a friend about web hosting and I'll try getting it working. Do you have any replay files you can give me to test with?
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
Ofc it isn't hard considering the code is already made and thank you.

The creator made some improvements - now has chat log, apm. The winner isnt displayed accurately if the saver of the replay is not a player as he says. Once created, improvements in APM, interface, displaying winner accurately could be done on your own. It is important to improve it and update it when needed not just create it once and abandon it :)

http://w3rep.sourceforge.net/example.php

Above is the war3 parser, so if you can make the interface like war3 parser that would be best. So e.g use war3 parser code from http://sourceforge.net/projects/w3rep/ and apply the browsed files to be /SC2replay using the SC2 parser code.

Would be nice to add in the future while all is displayed in the same order as war3 parser:

- Map Image - corresponding to the correct map, you can use images frm GosuGamers:

blistering%20sands.PNG
lost%20temple.PNG
stepees%20of%20war.PNG
Kulas%20ravine.PNG


- name of Replay saver
- Winner and Loser displayed with (loser) (winner) not the lame 1 and 0 numbers that are currently used
- Unit number - how many of each units, upgrades, resources, minerals (details only if you click on them)
- APM max/min actions besides the average
- Observers (other players in the game)
- chat log beneath all other info and not in a table
- APM graph and build order to show/hide so only if you click on them to display details currently are huge tables just taking space

Replays from here (at the bottom are Patch 13, if there is a change in the format with new patches I hope it could be made with new replays as well):

http://www.gosugamers.net/starcraft2/replays/

Im not sure if they will change the Replay format with the new patches after, I hope they don't or I guess the code may have to be started over but once the interface is created, the rest (figuring out the extention) would be done by many im sure
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
That would be cool but no :)

PHP is a language like HTML, with which a webpage is made. The parser would allow information/statistics about replays to be seen without having to watch replays, just stats. Like if you want to know the winner before watching a replay, if you want to see their APM, if you want to see their chat logs (sometimes is funny if there is rage), what units are built.


I suggest we wait for the final phase of beta, to make sure they havent changed the extention etc. Cause a Blizzard announcement said replays from older versions won't work anymore - this will be because with new patch - gg version folders 'Build 12345'. So that it can work for new versions but that also depends on the creator of the code.

What's with SC2MAP SC2REPLAY, 5 letter extentions? Are they going to change them like s2m (map), s2g/s2r (replay) ? AIm gonna ask them
 
Status
Not open for further replies.
Top