Multiplayer game using direct IP connect

Discussion in 'Support!' started by bitflop, April 28, 2015.

  1. bitflop

    bitflop New Member

    Messages:
    7
    Likes Received:
    12
    In our house we have connected several LANs together and when playing different LAN games one has to specifically enter the IP address of the game server in order to play.

    This works out-of-the-box on most multiplayer games.

    So some time ago I purchased PA, but now I see that there is NO direct IP connect. The game cannot locate the other box serving the game as they don't reside on the same LAN.

    How do we solve this?
  2. cola_colin

    cola_colin Moderator Alumni

    Messages:
    12,074
    Likes Received:
    16,221
    In the UI debugger (rough path is PA directory -> coherent -> debugger.exe) I use this kind of command in the start scene to connect to server:ip

    sessionStorage['gameHostname'] = '"ip here, do not replace any quotes!"'; sessionStorage['gamePort'] = 'port here, do not replace any quotes! ';window.location.href = 'coui://ui/main/game/connect_to_game/connect_to_game.html';

    An easier way would be to install pamm and search the UI mods for "connect". There are at least 2 mods that solve this issue by providing a neat input field that basically runs the command I explained above.

    To start a server either just start it from inside PA, or for more control over it start it in a console somewhere (even on the other side of the planet over the internet):
    server.exe --headless --game-mode Config --allow-lan --server-name "test"
    It has some more command line options, I think --help shows them.
  3. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    Install the Connect Buttons client mod from the PA Mod Manager.

Share This Page