[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
    because drop_pod_launcher isn't part of the unit specs?

    Yeah after sleeping a night with this in my mind I also came up with "this has to be a timing issue in relation to shadowing, maybe even to having 2 mods that shadow those files: A balance server mod and a fancy explosions client mod". Will do some tests later to validate this suspection.
  2. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Yes. If I overwrite unit_list, Puppetmaster won't be usable with balance mods.
  3. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Hmm yeah. alertsManager basically assumes that all units are in the unit_list. Can't do much about that from my side, did you find a fix for your application?
  4. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    Yes, although I had to do a second patch because I forgot to go back and test without PA Stats ;^)
  5. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I'll probably put this in additionally into the next version of PA Stats nevertheless:
    Code:
                                // units not in the unit_list, this can happen when other mods are involved
                                if (unitTypeBySpec === undefined) {
                                    return true;
                                }
    
    So units that are not part of the unit_list won't be filtered by it.

    The other thing is not a timing issue, there is invalid json in Cplosions. PA Stats assumes that all unit jsons are valid and parses them on startup and I guess if somebody should try to build a Stingray or a fabrication_sub the client might blow up as well.

    PA Stats handles it now as nicely as possible:
    [​IMG]
    Last edited: October 26, 2014
    proeleert likes this.
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    PA Stats now should report data from 1vs1 ranked games in the PTE. stable should be unaffected.
    For consumers of the winner webservice: PA Stats marks automatches just like it did before.
    proeleert likes this.
  7. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I cleaned away the pa stats matchmaking code now. I don't think this should cause any issues, but if you notice any issues please tell.
  8. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    So I was told to report my problem to this page so I will:
    Recently I've been having an issue where it says that I "Local games cannot report to PAStats" whenever I do a ranked 1v1. One thing that was suggested to me was to go into settings and set Local Server to off; that did not work.

    Additionally, before I had the local game issue, several of the games I did were not listed with only 3 out of the 14 games I've done shown to be listed and counted on my PAStats id profile: http://ladder.pastats.tk/player/18162

    Any solution to these two problems?
  9. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    only games vs other pa stats users are counted on the pa stats ladder.

    The other issue is more weird. The code that handles uber automatches is pretty new though, so it may be buggy. Have you tried to play a non-ranked game inbetween? Have you tried to play since 7 hours ago, as I changed some code in that area, maybe that fixed it?
    Do you have any other mods installed?
  10. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    I have played 4 matches within the last hour and I have not tried playing a non ranked match as of late.

    My installed Mods:
    AMD Super Brightness Fix
    Awesome Projectiles
    Better System View
    Better in-lobby planet generation
    Blueprint Info Framework
    Dark Nights
    Fabulous Selections
    Genesis Device
    Instant Sandbox
    Mod BatchSize
    Pa Stats Online
    Pixel Icons
    Show Starting Planets
    System Sharing
    Team Build Color
    Team Commander Explosion Color
    Team Commander Landing Color
    Team Teleporter Color
    Team Uber Cannon Color
    TeamLatheColor

    That's it
  11. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Hmm try to start a vs AI game, does it report normally?
    Try a ranked game after that.
    If it still is broken I'll look hard at the code and maybe add something to debug.
  12. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    Started a game vs AI and it let me report normally.
    I'll try another ranked game later since I am currently too hungry to continue playing.

    -also, most of the players i've been playing with have pastats as I have been able to find them using the search function on the player list
    Last edited: November 5, 2014
  13. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    So I played a few custom games (vs AI and vs Other Players) and I can now report to PA Stats with the ranked 1v1.
    cptconundrum and cola_colin like this.
  14. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Hmm....
    *makes a note to ensure that playing ranked games resets the "game is local" flag*

    :)
  15. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    Well, i'm getting the option to send data to PA Stats now but so far only 1 out of the 4 games I've done have reported back

    Bleh...

    edit: It seems to be fine now; realized I was playing against non PA Stats players.
    Last edited: November 7, 2014
  16. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    If you play against non PA Stats players it should still show up on the page? Or do you want it show up on the pa stats ladder?
  17. xankar

    xankar Post Master General

    Messages:
    752
    Likes Received:
    1,004
    Ladder, my bad. I lacked specificity
    Last edited: November 7, 2014
  18. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    I think the PTE breaks something. I recommend to disable PA Stats when playing it for now.
  19. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
  20. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    PA Stats now supports the new PTE. However it does not store the full map definition for maps that have custom csg. For that I'll need to do some backend work to make storing it more efficient.

Share This Page