Heikkiv, MaZ,
I love you.
http://sh.lawlr.us/compare?tags=+[TSC]
PS: Looks like Match draws count as defeats!?
Heikkiv, MaZ,
I love you.
http://sh.lawlr.us/compare?tags=+[TSC]
PS: Looks like Match draws count as defeats!?
Last edited by deebz; 11-16-2009 at 05:56 PM.
Great wok, thx for that!
Seeing as there's no "draws" data and pretty much everyone has more losses than wins, seems like a good theory
edit: Timestamps for achievements seem to have an appended '.0' (eg. <time>2009-11-06 20:22:35.0</time>), which looks like it would represent milliseconds except it never seems to change. Is this intentional?
edit2: game->wins + game->losses doesn't equal 'matches', which seems to always be slightly larger. Any chance the missing amount not outputted specifically is "draws"?
Also, the "main" achievements tag is called achievements while the child tags for each achievement are achivement
Also also: It doesn't particularly change things for single-use API requests (signature generation for a single person / whatever), but for things where multiple player stats need to be retrieved it would be really useful for it all to be possible in a single request - should speed up multiple requests quite a bit and reduce load from connection spam on both ends - e.g. say I want to compare 16 players and their stats, based on their player name - I have to make one request per player to retrieve their ID and 1 request to retrieve their actual stats - 32 individual HTTP requests which would optimally be returned in 2 requests - 1 grabbing all the player ID's for a list of names, and 1 returning all the stats for each ID in that list.
Yet more:
Player searching seems to work a bit strangely - for example, doing a player search for 'Kher' returns '[CPC] Akheris' as the first result when there is also a player named exactly Kher. Would be cool if it returned players ordered by their likeness to the search string or something, or return exact matches first (I think atm it seems to sort by player ID, right?)
Even more even more (sorry):
Perhaps a quick API for the global stats would be cool (players online, servers online, matches played)![]()
Last edited by MaZ-; 11-16-2009 at 08:26 PM.
This is aMaZing work - see what I did there?
MaZ, if you can add a more user-friendly front-end to your stats site I would be happy to add it to our Fansites page on the official website: http://www.shatteredhorizon.com/community/fansites/
Terrible joke
http://sh.lawlr.us - That's about as much of a front end as I have effort to write atm- also moved it to a shorter domain because the other one is a bit much effort to remember
![]()
MaZ can you add a contact mail or form to your stats webapp ? Also i can't contact you by PM ?