Results 1 to 10 of 19

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Developer giriel's Avatar
    Join Date
    Oct 2010
    Replies
    233
    Country
    Belgium
    Xfire
    giriel
    Clan
    -TB#
    Perhaps you guys have noticed but the k/d scores were fucked up.
    Seems like the statistics we get aren't really consistent so I had to remove this fix again, srry guys.
    I'll try to find another way.

  2. #2
    Spamming the boards! testforecho's Avatar
    Join Date
    Oct 2011
    Replies
    103
    Quote Originally Posted by giriel View Post
    Perhaps you guys have noticed but the k/d scores were fucked up.
    Seems like the statistics we get aren't really consistent so I had to remove this fix again, srry guys.
    I'll try to find another way.
    yeah I noticed, but, how come you get all those weird values? Do you get them wrong from the server, or it's the calculation you do after, that screws them up?
    I don't know exactly how you connect, but I guess you should be able to check the gamestate and all the stuff like a regular client, right?

    Are you checking that gamestate is GS_PLAYING (that is, 0) or maybe also GS_INTERMISSION (3)? You could wait some extra seconds after the warmup is over.

    edit:
    Actually the real problem should be xp, since you have xpsave and you need to know how much xp you have at the start. Player stats (k/d) instead, are resetted after every round, if it was only that you could even read them once at the end of the game, since you know how much time every player has played (shown at the end of the round, and it can be read by clients)

    edit2:
    if you don't have a real client (since I don't know the details I can't really help), you have those command strings ("sc0", "sc1") in the stream of data the server sends, there you should have all clients score and also how much time they have played up to then
    Last edited by testforecho; 14-12-2011 at 09:21.

  3. #3
    Spamming the boards! HellfiG's Avatar
    Join Date
    Oct 2010
    Replies
    139
    Country
    Belgium
    Xfire
    leaderplop
    Quote Originally Posted by giriel View Post
    Perhaps you guys have noticed but the k/d scores were fucked up.
    Seems like the statistics we get aren't really consistent so I had to remove this fix again, srry guys.
    I'll try to find another way.
    I did. More and more maps with several players getting an amount of +200 kills
    Looks cool though...

Posting Permissions