API for player statistics - Page 2
+ Reply to Thread
Page 2 of 7 FirstFirst 123456 ... LastLast
Results 11 to 20 of 68

Thread: API for player statistics

  1. Top | #11
    Former Staff
    Join Date
    Sep 2009
    Location
    Finland
    Posts
    23
    Threads
    2

    Re: API for player statistics

    I've added some new statistics, including achievements, to the player xml. Check out the first post for the details.

    I also changed the total time to plain seconds instead of the previous human readable format.

  2. Top | #12

    Re: API for player statistics

    Quote Originally Posted by SEKCobra View Post
    Where is the post? o.O
    It says new post by someone, but nothing here o.o
    I edited my previous post and it disappeared so I tried to repost it twice and they all disappeared, and now the original is back

    Quote Originally Posted by FM_HeikkiV View Post
    I've added some new statistics, including achievements, to the player xml. Check out the first post for the details.

    I also changed the total time to plain seconds instead of the previous human readable format.
    beautiful!
    Last edited by MaZ-; 11-11-2009 at 01:58 PM.

  3. Top | #13

    Re: API for player statistics

    Quote Originally Posted by FM_HeikkiV View Post
    I've added some new statistics, including achievements, to the player xml. Check out the first post for the details.

    I also changed the total time to plain seconds instead of the previous human readable format.
    Nice done, thank you!

  4. Top | #14
    Firefly Unstoppable beta tester
    Arconaut
    • Computer Specs
      • Motherboard or Laptop:
      • ASRock Z77 Extreme4
      • Chipset:
      • Z77
      • CPU:
      • Intel i5 3570k
      • CPU Overclock Speed:
      • 3.4Ghz
      • Memory:
      • 2x 4GB DDR3 Patriot Viper 3 Venom Red
      • Memory Speed:
      • 1600Mhz
      • Video Card(s):
      • MSI AMD 7850 1GB
      • Video Card Speed:
      • 1050/900
      • Sound Card:
      • Onboard 7.1 Sound Card
      • PSU:
      • LC Power LC6600 (600w)
      • Hard Drive(s):
      • SSD Samsung 840 120GB & 2x Western Digital 1TB Green
      • Optical Drives:
      • LG DVD-RW
      • Operating System:
      • Windows 7 Ultimate x64 SP1

    Join Date
    Jul 2009
    Location
    Belgrade, Serbia
    Posts
    1,136
    Threads
    39

    Re: API for player statistics

    Quote Originally Posted by JoseyWales View Post
    thanks Wisher.[thumbup]
    lol,wht did i do?

  5. Top | #15
    Junior Member Unstoppable beta tester
    Arconaut

    Join Date
    Nov 2009
    Location
    Helsinki, Finland
    Posts
    42
    Threads
    1

    Re: API for player statistics

    I guess I could try doing something with java or something.

    Unless somebody makes it before I do, but I'll see what I can do soon enough.

  6. Top | #16

    Re: API for player statistics

    Heikki any chance you could elaborate on what makes up the "total kills" number?

    For example: I have 2513 kills total - API reports this:

    Code:
    <total>2513</total>
    <assist>722</assist>
    <team>35</team>
    <headshots>455</headshots>
    <tankshots>211</tankshots>
    <assaultmode>2317</assaultmode>
    <snipermode>155</snipermode>
    <melee>72</melee>
    <defence>248</defence>
    <yinyang>234</yinyang>
    <whileemped>77</whileemped>
    <ghost>86</ghost>
    <ghostbuster>183</ghostbuster>
    <deathfromabove>315</deathfromabove>
    And 4 suicides

    From what I understand, total kills is however much you've killed (friendlies and enemies) MINUS the number of team kills - but the actual number of rifle kills / sniper kills seems to count team kills as well (which explains why some people I've seen have higher rifle kills than kills in total [shocked]).

    E.g. For my example, my total number of hostile + friendly kills is 2513 + 35 (2548) which adds up to the same as rifle kills + sniper kills + melee kills + suicides.

    Does this sound correct? I'm pretty sure it is but could just be coincidence

  7. Top | #17

    Re: API for player statistics

    Quote Originally Posted by JoseyWales View Post
    [thumbup]Looking awsome MaZ-!![thumbup]
    Thumb resize.
    Hahah I never tested it with that many players

    I've turned the names vertical now so it shouldn't bunch up with a ton of players, as for grabbing members from a tag I'm pretty sure I can do that but requires changing a couple of bits

  8. Top | #18

    Re: API for player statistics

    Code:
    http://011000110110111101100011011010110110110001100101.com/sh/stats.php?tag=[FMS]
    Grabs all players matching [FMS] tag
    Last edited by MaZ-; 11-11-2009 at 09:11 PM.

  9. Top | #19
    Senior Member Arconaut
    Join Date
    Jun 2009
    Location
    St. Louis, MO
    Posts
    236
    Threads
    9

    Re: API for player statistics

    Ok...for a second there I thought I was a much worse team player than I thought I was!

    Why does everyone have so many more losses than wins? Are partial rounds counted as losses? Does losing the defense half of assault count as a loss even if the total match is a tie?

    Also, very cool tool Maz! Thanks for that. What are you using for it?
    Last edited by FormulaRedline; 11-11-2009 at 09:38 PM.

  10. Top | #20

    Re: API for player statistics

    Quote Originally Posted by FormulaRedline View Post
    Ok...for a second there I thought I was a much worse team player than I thought I was!

    Why does everyone have so many more losses than wins? Are partial rounds counted as losses? Does losing the defense half of assault count as a loss even if the total match is a tie?

    Also, very cool tool Maz! Thanks for that. What are you using for it?
    It's just a horribly hacky php5 script using open-flash-chart-2, jquery/tablesorter and memcached to store API requests for 30 mins (I noticed it was getting a little slow loading 10+ players every time).




    Quote Originally Posted by JoseyWales View Post
    hey MaZ- I can't pm you because you don't have 15 posts here yet. can you come over to my site so we can comunicate. i'll hook you up with our coms on ventrilo. http://www.futuremarksoldiers.com/. you are welcome to become a member. we are not a clan but a community for Shattered Horizon and we are open to all players.
    Regged as 'MaZ'

+ Reply to Thread

Posting Permissions

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