UI Debugger?

Discussion in 'Support!' started by killerkiwijuice, December 21, 2014.

  1. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Based on this thread, I'd like to know how to use the UI debugger since it's impossible to host a public lobby and I have no idea how to fix it.
  2. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    I found the UI Debbuger and the privacy UI.

    Now the hard part is finding what went wrong :oops:
  3. wondible

    wondible Post Master General

    Messages:
    3,315
    Likes Received:
    2,089
    https://forums.uberent.com/threads/ui-debugger.50276/

    On OS X I have to copy the devtools directory (including the devtools directory itself) into the host directory in pa (after every update... :-( )

    Then you can run the Debugger app; you can usually just hit 'go' when PA is running and it will connect and give a list of scenes, which varies a bit based on what PA is doing. From there, it's mostly webkit developer tools, plus understanding how PA works. Calling up the 'model' object is the key to most things, and most of the properties are Knockout observables, which in practice means they are functions you have to call to get the value.
  4. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Any idea if the UI debugger can find out why the lobbies don't go public?

    EDIT: I downloaded both versions of PA (steam and the official launcher) and both show the same problem with the lobby...

    :(
    Last edited: December 21, 2014
  5. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Well, you can use it to find errors. In PA, try to create a game. Then start the debugger and you'll see a list of scenes (after pressing "Go" of course :))
    Choose "Game Lobby" and go to the tab "Console". You'll see a list of errors and debug statements there.
    Try to set your lobby to public and see if more errors pop up.
  6. killerkiwijuice

    killerkiwijuice Post Master General

    Messages:
    3,879
    Likes Received:
    3,597
    Do errors pop up like notifications or do I need to find them in the code?
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    They appear in red in the Console window. There "should" be three already.
    killerkiwijuice likes this.

Share This Page