[REL] PA Stats (Decommissioned)

Discussion in 'Released Mods' started by cola_colin, August 15, 2013.

  1. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Fixes for 68331, automatch is enabled again
    Also removed map "R2 Bereit", since it was imba
  2. stawos

    stawos Member

    Messages:
    79
    Likes Received:
    46
    Any plans for a PA Stats server-side mod. Something that will force all players to run enabled PA stats with live updates like in auto-matches? That would be very cool, I think!
  3. Quitch

    Quitch Post Master General

    Messages:
    5,885
    Likes Received:
    6,045
    Auto-matches doesn't enforce live updates.
    reptarking likes this.
  4. mayhemster

    mayhemster Well-Known Member

    Messages:
    394
    Likes Received:
    425
    Currently after a match ends, there are no stats.

    1.jpg
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Why would it?

    EDIT: Ah yeah, I should read threads from the top to the bottom, not the other way around

    @stawos: That is definitely possible, though it would be easier if Uber completely fulfilled my API request about getting ALL game information ingame. The teams are a start, but not enough. So far the planet data is still missing. I think at least, maybe I am blind for the planet data as well.
    Though I could do a bit extra work and have the host report the planets. But I also might miss the lobbyId, which would be a much bigger problem. Hackable, but really a clean solution would just query all info in live_game.
    Additionally once we get more server modding there might also be a way to directly gather data inside the server and send it to pastats directly. That would mean no modified stuff on the client at all.
  6. stuart98

    stuart98 Post Master General

    Messages:
    6,009
    Likes Received:
    3,888
    Would it be possible for PAStats to say what server mods a game is using, if any?
  7. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Probably yes
  8. centralsrutinizer

    centralsrutinizer New Member

    Messages:
    25
    Likes Received:
    3
    this is exactly what my issue is right now
  9. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That's only the score screen. It's on my todo to fix, expect a fix in the next few days.
    But the reporting to the server should work fine. So read the page to see your stats. It has more stats anyway.
  10. centralsrutinizer

    centralsrutinizer New Member

    Messages:
    25
    Likes Received:
    3
    Well, I figured there was some sort of correlation because the times it does report it shows the stats at the end and the times it does not it shows the screen posted above.
  11. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Well there sort of is a correlation. If PA Stats completely fails to report stats it will also show the empty score screen, but the usual cause of the empty score screen currently is different from that.
    Without debugger info on your stuff it's pretty hard to debug your issue. Maybe there is some network issue? If you sometimes can report and sometimes not?
  12. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
  13. mayhemster

    mayhemster Well-Known Member

    Messages:
    394
    Likes Received:
    425
    the fix worked. nice job colin :)
  14. compactdwarf

    compactdwarf New Member

    Messages:
    1
    Likes Received:
    0
    I was playing a game with a friend, necrowarrior, and when we won the game. However PA stats recorded the game as a loss, is this a bug and is there anyway we can fix that?

    Game ID: 178735
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I have not looked at it yet, but yes that may be a bug and yes it may be fixable. Will check this evening.
  16. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    I can't get replay links to work, maybe it's because v68767 is using the generic pa stats code?
    pastats.png
  17. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    the version detection is bugged for some scenes, the start scene never can detect the version correctly. That should not matter.

    I just started a replay and first got some weird "login rejected", but apparently it just retries and that worked.
  18. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    I was just looking one my hotfix mods this morning; I'm on the way out and don't have time to compare to what PAStats is currently doing.

    Code:
      if (model.buildVersion()) {
        enableCanery()
      } else {
        model.buildVersion.subscribe(enableCanery)
      }
    
  19. trialq

    trialq Post Master General

    Messages:
    1,295
    Likes Received:
    917
    That's strange. It must be my registry file because manually adding the commandline when starting pa.exe works fine.
  20. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    The case of PA Stats is more complex, as the loader needs to know the version of PA to insert the right files into the mods arrays right there. I can't wait for the buildVersion to be filled in, at that point mods are loaded already.
    So for the start scene I have no chance at all. I have not looked at some subscenes that also fail to know the version, they might be fixable. But currently I have no extra code for pte.

Share This Page