[REL] Planetary Automatic Ladder

Discussion in 'Released Mods' started by Illmaren, December 12, 2013.

  1. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Illmaren I think you ended up with some inconsistent data somehow due to my server move.
    Look at that "1v1" game 83: http://ladder.pastats.tk/player/23884
    I suggest you clean your database and do a full reload.

    EDIT: This is btw somehow caused by the fact that there was a point in time where both the new and the old server were used by some people, depending on the moment they loaded the mod. In this case for that game ID the old database has a completely different game and you at least took some part from it.
    soliderfighter and Quitch like this.
  2. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    @cola_colin
    I just witnessed another inconsistency (like the one I reported on previous page) bug between PA Stats said "winner" and the winner "ID" sent to the ladder.
    Report is available here :
    [​IMG]
    And it shows as a loss :
    [​IMG]
    Since the ID doesn't seems to be always reliable, shouldn't the winner string be parsed (at least first player) to determine the real winner (team) ?
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    The issue is not that the the string is somehow magically better than the id. The issue seems to be that somehow randomly for whatever reason sometimes the winner of a game is reported to the wrong game. I have not looked into it as of yet, but it's weird.
    Fr33Lancer likes this.
  4. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Alright, just went through PA stats thread and saw this and this.
    That's what you're talking about, right ?
    Those reports are even weirder, since the winner string comes out of nowhere (as you mention, from another game most likely), whereas in my case, at least it stated the string right.

    Anyway, it was just for reporting purpose (I should have done it in the other thread maybe), and I know you've been busy lately with the awesome cesium stuff and the server move.
    Thanks and keep up the good work ;)
    cola_colin likes this.
  5. Illmaren

    Illmaren Active Member

    Messages:
    174
    Likes Received:
    150
    Fixed now the bugs because of the Server Change of PAStats..
    Now the Ladder should display all games correctly
    Quitch and Fr33Lancer like this.
  6. naginacz

    naginacz Member

    Messages:
    63
    Likes Received:
    79
  7. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Fixed internal state of PA Stats. Illmaren will need to do a partial reload to fix it though.
    As soon as I have time I will add some extra logging and protection to prevent stuff like this.
    Quitch likes this.
  8. Illmaren

    Illmaren Active Member

    Messages:
    174
    Likes Received:
    150
    Down for Maintance

    Should now be fixed
    Last edited: March 26, 2014
    Fr33Lancer likes this.
  9. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
  10. Illmaren

    Illmaren Active Member

    Messages:
    174
    Likes Received:
    150
    thats not an bug.

    i split the 1on1 games into two categories:

    ranked = Game Against an player who have PAStats Installed
    unranked = Game against an player who don´t have PAStats Installed

    and this game:
    is not in my System because there is no winner in Colas system so he don´t send me this game.

    Lg.
  11. LavaSnake

    LavaSnake Post Master General

    Messages:
    1,620
    Likes Received:
    691
    ok, thanks!
  12. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    Are you referring to the issue with games won flagged as "loss" ? (It seems naginacz's issue above was fixed)
  13. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That one game was fixed. All I did was update the winner of that one game by hand. I have not fixed all of them because lazy. Sorry. I however have pushed up the whole thing as the next thing I will fix (as in fix the root cause if possible) once I get to work on PA Stats again. During that time I might also fix more cases of broken winner-reports. Which will probably be on saturday.
    Fr33Lancer likes this.
  14. Fr33Lancer

    Fr33Lancer Well-Known Member

    Messages:
    595
    Likes Received:
    288
    That's what I thought (because mine were not), there is no point to manually update these on people request, that's too much work and a waste of your precious time. Hope the root cause will be found, and that somehow then a script might make everything back in order ;)
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Broken cases will only be fixed by hand. The reason why I fixed that one case is because I happened to read it while I had a database shell open so it was easy to do in that moment. Wrong data is in the database and only humans are able to tell that really apart. So I will go over the known cases while I am working on the issue.
    Fr33Lancer likes this.
  16. Illmaren

    Illmaren Active Member

    Messages:
    174
    Likes Received:
    150
    k and when cola_colin has fixed the issue i´m going to update all games so that Win/Loss is correct again.

    Lg.
    Fr33Lancer likes this.
  17. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Hmm I have been lazy today. I'll try to work on it tomorrow xD

    But the reason I am here:
    Could you add markers to the ladder that show the points/place change of a player in the last 24 hours or so?
    Basically display additional 2 columns here: http://ladder.pastats.tk/1on1
    "Points change last 24h" and "Place change last 24h"
  18. Illmaren

    Illmaren Active Member

    Messages:
    174
    Likes Received:
    150
    Mhm, i could, i think i would do it within an 3rd cronjob thats looking after the atm rank and rating and write it in table for that.

    Lg.
  19. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I fixed some things, you can do a reload to get some fixed games.
    Fr33Lancer likes this.
  20. naginacz

    naginacz Member

    Messages:
    63
    Likes Received:
    79

Share This Page