[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
    Oh that is nice :) I guess I mixed this up with something else.
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Thanks to @h40p, he made the new banner
  3. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561
    Okay I'm getting some weird stuff happening when PA stats is on. Some irregular crashes when I'm spectating and also if I want to reconnect.

    Another problem that I get is that it tries to connect to the server and it kinda gets stuck.

    Now I'm still not sure if pa-stats is doing this but it runs good without pa-stats on. I'll give you more info if I know more.

    On the good side
    I love the chat function and being able to see someone else ranking. A must have mod.
  4. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Can you check for the logs of PA? Does it have stuff like "uploaded crash dump URL for developers here" stuff a the end? Can you share the URLs if so?
  5. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561

    Hmm i'll upload some logs as soon as I got some. Most of the time it won't crash though.

    How my logs looked like right now
    Code:
    [20:15:38.422] INFO Setting planet pole lock to off
    [20:16:06.485] INFO client::ClientGame::enableLanLookout
    [20:24:19.954] ERROR panel.message: Panel options_bar not found.
    [20:24:25.563] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:25.672] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:26.907] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:26.110] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:27.188] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:27.329] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:27.563] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:27.704] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:27.750] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:28.938] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:28.313] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:28.438] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:28.547] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:29.844] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:29.047] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:29.157] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:29.360] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:30.813] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:30.813] ERROR panel.message: Panel options_bar not found.
    [20:24:30.610] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:30.688] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:30.766] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:31.000] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:31.360] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:31.516] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:31.516] ERROR panel.message: Panel options_bar not found.
    [20:24:33.032] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:33.282] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:33.485] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:33.547] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:33.657] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:33.735] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.813] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.954] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.016] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.141] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.188] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.313] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.438] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:34.672] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.813] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.110] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.313] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.391] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.469] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:35.688] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.844] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.938] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.063] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.188] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.391] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.485] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.532] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.657] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:36.688] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.813] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.985] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.360] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.438] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.516] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.672] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:37.672] ERROR panel.message: Panel options_bar not found.
    [20:24:38.016] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:38.172] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:38.407] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:38.579] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:38.625] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:38.719] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:39.907] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:39.391] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:39.407] ERROR panel.message: Panel options_bar not found.
    [20:24:40.922] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:40.188] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:40.344] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:40.625] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:41.954] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:41.454] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:41.547] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:41.782] TEST client::UIBridge::dispatch !!!! ET_Char:
    [20:24:41.797] ERROR panel.message: Panel options_bar not found.
    [20:24:44.282] INFO client::ClientGame::disableLanLookout
    [20:24:45.422] INFO client::ClientGame::resetGameState
    [20:24:45.422] INFO Mouse constraint cleared.
    [20:24:45.422] INFO ClientInterface constructed
    [20:24:45.422] INFO ClientInterface constructed
    [20:24:46.829] ERROR panel.message: Panel options_bar not found.
    [20:24:46.829] ERROR panel.message: Panel options_bar not found.
    [20:24:50.922] INFO Streaming state: Uninitialized
    Code:
    [21:01:43.468] INFO client::ClientGame::resetGameState
    [21:01:43.468] INFO Mouse constraint cleared.
    [21:01:43.468] INFO ClientInterface constructed
    [21:01:43.515] INFO ClientInterface constructed
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:09.609] ERROR panel.message: Panel options_bar not found.
    [21:02:13.906] INFO client::ClientGame::enableLanLookout
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:16.828] ERROR panel.message: Panel options_bar not found.
    [21:02:17.484] INFO client::ClientGame::disableLanLookout
    [21:02:19.734] INFO client::ClientGame::resetGameState
    [21:02:19.734] INFO Mouse constraint cleared.
    [21:02:19.734] INFO ClientInterface constructed
    [21:02:40.734] INFO Connect to 75.126.116.196:9002 failed: Failed
    [21:03:01.781] INFO Connect to 75.126.116.196:9002 failed: Failed
    [21:03:22.843] INFO Connect to 75.126.116.196:9002 failed: Failed
    [21:03:43.859] INFO Connect to 75.126.116.196:9002 failed: Failed
    [21:04:04.875] INFO Connect to 75.126.116.196:9002 failed: Failed
    [21:04:04.875] INFO Could not connect to server at 75.126.116.196:9002: Failed
    [21:04:04.875] INFO client::ClientGame::connection_ConnectionFailed
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:04.890] ERROR panel.message: Panel options_bar not found.
    [21:04:07.890] INFO client::ClientGame::resetGameState
    [21:04:07.890] INFO Mouse constraint cleared.
    Code:
    [01:02:11.406] INFO Setting planet pole lock to off
    [01:02:18.906] ERROR Failed loading panel 4, path coui://ui/main/game/overlay/overlay.html: net::ERR_ABORTED
    [01:02:23.219] INFO client::ClientGame::disableLanLookout
    [01:02:24.687] INFO client::ClientGame::resetGameState
    Now again @cola_colin I'm not 100% sure its pa-stats. I do however have no other UI mods running then pa-stats.
  6. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    All the "options_bar not found" are a known issue with PA Stats right now, they should not do anything apart from spam the log a little. Will be fixed soon.

    In the last 2 logs it seems like the connection with server failed for some reason. I so far have no idea why PA Stats would cause that. Currently investigating if PA Stats really is related to that.

    There are no hard PA.exe crashes in those logfiles as far as I can tell.
  7. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561
    That is correct. The only crash I ever had was ingame or connecting as a spectator. I do however don't have those logs atm. What I get is when creating a game it'll try to connection but won't do anything (which is probably that connection error). The ui just kinda locks up. I did however ended PA while waiting. I'll let it continue running next time when it happens.
  8. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Well one single crash isn't worth chasing after it ;)

    For the connection trouble, I am hunting for that actively together with mikeyh, not sure if PA Stats causes it, but it is real issue for some people sometimes, that much is certain.
    Alpha2546 likes this.
  9. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561
    Could you check this? It could have been my mods too since its on PTE. If you don't want to then I understand that too. I dunno might be helpful.

    [00:51:27.000] ERROR Failed loading panel 2, path coui://ui/main/game/new_game/new_game.html: net::ERR_ABORTED
    [00:51:27.094] ERROR Failed loading panel 2, path coui://ui/main/game/new_game/new_game.html: net::ERR_ABORTED
    [00:51:29.078] INFO Crash uploaded, link developer to http://crashes.uberent.com/report/index/bp-d46d49b0-3165-47b6-9d33-c037d2150224
    [00:51:29.094] INFO Previous crashes stored in C:\Users\adriaan\AppData\Local\Temp\checkpoint.cpk
    [00:51:29.110] INFO Uploader exited with exit code 0
  10. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    @mikeyh and myself did very intensive testing with @mabn who has more or less reproduceable issues with joining games if PA Stats enabled. Special about his case is that they are really reproduceable enough to be rather sure it is related to PA Stats. We found this:

    - it seems what fails is engine.asyncCall('ubernet.joinGame', in net.js line 67 It fails by doing NOTHING. We setup a mitm ssl proxy and could see all requests PA was doing. We tried replacing the .then handler with a .done and a .fail handler. The fail handler was never called. Normally the joinGame seems to trigger a request to ubernet called "matchmake" and is given the lobby id (we logged it, it was fine) and gives the server ip:port. When the issue occured that network request was never even started. Just nothing happened.
    - disabling the chat seems to have massively increased the chance of it working. After joining the chat and waiting a while the problem seemed to be worse again. However both these cases were not as reliable
    - disabling the creation UI of the chat alone it seemed to work, disabling the network part of the chat alone seemed to work
    - disabling display only (so the whole UI datastructure was created) broke it more reproducible.

    Apart from the fact that engine.asyncCall is not doing what it should all findings are with less than 100% certaintiy due to the unreliable issue, as rarely it seems to work even with PA Stats enabled.

    @jorgenpt @masterdigital @jables It would be really cool if you could give us a hint to the expected behavior of engine.asyncCall('ubernet.joinGame', lobbyId) and especially if it has any edge cases. Are there any cases it would just not do anything at all? That is what we see: the call never hits any callbacks and our proxy setup, that works if "everything is fine, doesn't catch ANY request at all. It seems no network interaction is even started.
    As it stands I have no idea how to continue debugging. The issue isn't easy to reliable test and that engine call is a broken blackbox.

    Since joining of custom servers (those join directly by ip and port) still works I strongly suspect whatever breaks is inside that engine call alone. Once PA has the ip and port it very likely can connect just fine.
    proeleert, Quitch and trialq like this.
  11. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That reads like a native code error when handling the idle unit data stuff. If PA Stats caused it then it is a bug in PA that is shown by PA Stats, but I doubt that, as PA Stats does not touch idle units stuff.
    Alpha2546 likes this.
  12. Alpha2546

    Alpha2546 Post Master General

    Messages:
    977
    Likes Received:
    1,561
    Okay thanks for the effort @cola_colin! I really appreciate it. I'll bother you when I got something solid.

    Thanks again!
  13. EdWood

    EdWood Active Member

    Messages:
    533
    Likes Received:
    147
    Same here, all of a sudden I cannot connect to games anymore, I am stuck in the lobby when I press the join or host button. PAstats disabled, all works just fine again.
  14. nolane

    nolane New Member

    Messages:
    1
    Likes Received:
    1
    It's my attempt in banner creating. You can use it, if you find it nice.

    Attached Files:

    cola_colin likes this.
  15. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    @edwood if you are willing to do a debugging session via teamviewer please contact me the next time you see me in the chat, which you can join via palobby.com to stay free of PA Stats until then.
    I want to verify that you have the same kind of issue as @mabn.
    Also can you test to disable the automatic join to the PA Chat within PA? So keep PA Stats enabled, but go to the settings > PA Stats and disable autojoin to halcyon. Then restart PA. Does that fix it?

    Thanks, but you may have noticed that there is a new banner already, so I can't put any more banners to use at the same time :s
    EdWood likes this.
  16. EdWood

    EdWood Active Member

    Messages:
    533
    Likes Received:
    147
    Hello Cola_Colin, disabling auto-join fixed my problem, no chat, but PAStats running in the background. Nice.
    I will contact you sometime this week so we can find a date where we both have time. If you want me to do something before hand, just let me know.

    Thx :)
  17. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    That sounds a lot like what we saw with @mabn
    I'd really love to hear a dev comment on that engine call. Wtf does it do that is much less likely to succeed because of the chat?! The chat doesn't even modify the scene in question.
    I can only think of:
    - somehow the increased network activity of that due to the chat breaks the network request for join game. But why ONLY that call?! There are many other similar calls that PA does, and they seem to have no trouble.
    - somehow the chat does some engine call that changes some state in the native code. No idea what state that would be. Info on what exactly happens inside the engine call would help with this.
  18. EdWood

    EdWood Active Member

    Messages:
    533
    Likes Received:
    147
    It is weird, I had PAStats installed for quite some time, never ever had a problem, Global Chat worked since release just fine too.

    It was not even a situation where a patch changed something, it worked for days then out of the blue... problems.
  19. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    Can you give a rough date on when it started? Maybe I changed something in PA Stats.
  20. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    @jorgenpt @masterdigital @jables
    in searching issues to my issue I found something that probably isn't my issue, but I found something that definitely isn't very good at least, as minimum it spams my console when I debug log all engine calls:

    self.sortedFriendUberIds.subscribe(function (value) {
    api.Panel.message('game', 'friends', value);
    });

    due to the way the computed works for that code in uberbar.js it triggers roughly 700+ times when I start PA and login. Only ~50 calls actually reflect any change at all, in 650 calls it simply sends redundant data. The more users are in the usertagmap the more messages are passed around, probably one message per user.
    Maybe filter out duplicate events to reduce the amount of messages that are passed around.
    proeleert likes this.

Share This Page