PDA

View Full Version : How to retrieve player statistic data?



Dordanov
09-23-2009, 05:31 AM
I did quite some searches on Google, Wiki's, This forum, and any other pages I could find, but I still couldn't find any info on how to retrieve player stats.

Sites like honage.net that have rankings and/or signatures get their data from a webservice or a page call I assume. Now I now S2 is working on their own stats pages, but I'm a programmer myself, and would like to integrate some stats in a website I'm making for some friends.

I don't require any info on how to do it technically and what to code, I'll manage that. I'm just looking for someone that can point me the URL to get the data from, or any link to maybe existing documentation.

Thanks in advance.

Hurdy
09-23-2009, 06:52 AM
I don't know if anyone has documented it yet. You could use wireshark, filter for http transfer and log in. It's very simple to figure out, just some serialized PHP data that you can request from a few scripts on masterserver.hon.s2games.com.

Dordanov
09-23-2009, 07:18 AM
Ah ofcourse, I should have realised the game needs to get the data fro their stats server/site as well!

Thanks a lot for the suggestion, will see what I can figure out when I get back home from work.

Should anyone already have some more detailed info on specific functions/methods that can be used/are available I'd still like to hear them! :)

Vadi
09-23-2009, 07:40 AM
Wont be available for long anyway, those sites are already stressing the servers.

Dordanov
09-23-2009, 07:47 AM
Well, if they plan on stopping that service they would have to "ban" those specific sites from their servers, as it's hard to identify all those requests from the actual requests the game does. ;)
Unless ofcourse it's a huge site with hundreds of requests a minute.

I won't be making an advanced website with all sort of stats and regular updates, just 1 update a day to fetch data of about 10 players to display in a cached overview.

SteelBallz
02-25-2010, 02:54 PM
Bringing this back to life in order to find out how to pull stats off the S2 HON server...

I am in the same boat as the op.... just want to know the url of the server...

Edit:
I found it.... http://xml.heroesofnewerth.com/