Dedicated server not running as Titans

Discussion in 'Support!' started by cheezeit, August 22, 2015.

  1. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Hello Uber and peeps :)

    I just wanted to say I really really am enjoying Titans. No worries/issues on that.

    However I did notice something odd.

    When I start up the dedicated server portion (I have a dedicated server that I run with a few friends of mine) I noticed that the game starts up and works as intended. I downloaded the Steam version of the game that is Titans and whatnot. Everything seems to connect and work.

    However when I play the game, I notice that the game I am playing is actually PA vanilla and NOT Titans. Even though I am using the Titans executables for my computer and my dedicated server...

    To me this seems like something of an "oopsie". Or it's a potential bug.

    I am not quite sure if this has been reported before. I'm guessing this is probably already known.

    If Uber can look into this when they can....that'd be awesome.

    As always, thank you for the fantastic game :):):)
  2. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Could you try adding --game-mode PAExpansion1:Config to the parameters for the server? (Or replacing if you already have a --game-mode parameter)
    cheezeit likes this.
  3. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Heya DeathByDenim...

    Thanks for responding.

    So after I added that I saw something odd. When I joined from my computer the server program actually crashes. Immediately just crashes....

    server.exe --allow-lan --http --headless --port <blah> --game-mode PAExpansion1:Config --server-name "Stuff Network PA Dedicated Server" --output-dir "E:\Steam\PA Titans\stuff"

    That's my actual command.....hmm.....seen anything like that on your end?
  4. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Hmm, here's the log file from the server...


    [00:38:32.000] INFO Started at 2015-08-23 00:38:32
    [00:38:32.000] INFO SDL: Built w/ v2.0.4, linked w/ v2.0.4
    [00:38:32.000] INFO Mounting E:\Steam\PA Titans\media\ as /
    [00:38:32.000] INFO Loaded buildID 2015081886422
    [00:38:32.016] WARN Crash reporting disabled.
    [00:38:32.016] INFO Log file E:\Steam\PA Titans\stuff\server-2015-08-23_003832.txt opened
    [00:38:32.016] INFO Starting background thread pool with 4 threads
    [00:38:32.016] INFO GameServerImpl::resetModUpdateAuthToken: Auth token reset to "991425e3-1431-cd43-8270-ab0273c436cb"
    [00:38:32.109] INFO Mounting E:\Steam\PA Titans\media\ as /
    [00:38:32.109] INFO Mounting E:\Steam\PA Titans\media\pa_ex1\ as /pa/
    [00:39:34.901] INFO 10.0.0.45:50479: connection established
    [00:39:34.901] INFO 10.0.0.45:50479: recvLogin()
    [00:39:34.917] INFO 10.0.0.45:50479: handleLogin()
    [00:39:34.917] INFO 10.0.0.45:50479: sending login acceptance
    [00:39:34.933] INFO New client: <redacted> 1/1 clients connected
    [00:39:34.948] INFO Rejecting connection from client that only has the following content mounted: [], but need: ["PAExpansion1"]
    [00:39:34.948] INFO Rejecting client: Connecting with wrong expansion pack set up.
    [00:39:34.948] INFO 10.0.0.45:50479: recvCmd()
    [00:39:34.948] INFO Rejected connection from misconfigured client, and shutting down.
    [00:39:34.948] INFO Script requested exit:
    in states/empty line 62:20
    wrapper in utils line 15:23
    [00:39:34.964] INFO Starting exit process
    [00:39:34.964] INFO shutting down mongoose
    [00:39:34.042] INFO Message from client <redacted> : {"message_type":"hello","payload":{},"response_key":7138}
    [00:39:34.042] INFO Responding to client <redacted> : {"message_type":"response","payload":{"key":7138,"status":"success","result":{"state":"empty","url":""}}}
    [00:39:34.057] INFO 10.0.0.45:50479: close()
    [00:39:34.057] INFO <redacted> disconnected. 0/1 clients remaining
    [00:39:34.057] INFO Shutting down script environment
    [00:39:34.057] INFO Shutting down server
    [00:39:34.057] INFO 10.0.0.45:50479: reset()
    [00:39:34.073] INFO requesting exit
    [00:39:34.073] INFO Resolving 0 callstacks
    [00:39:34.073] INFO Resolve complete


    That's odd....apparently I don't have the expansion installed? Let me re-install the game...
    Last edited: August 23, 2015
  5. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Even more odd...

    So I tried this with a friend and he is on a MAC. He was able to join the dedicated server no problem. So the server config-let you gave me is proper.

    I uninstalled, reinstalled, and verified the game. I went under Steam and went under DLC and clicked the Titans check mark. Then under options in the game I set active product to "Titans" instead of "Classic".

    When I try to join the dedicated server it still....fails on me. That's odd.....have you seen this?
  6. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Ok, so after doing some troubleshooting I think this is a bug on Titans for x86/x64.

    For my game when I join by IP for some reason the game disables the Titans expansion pack check. When I go back to the lobby after it fails to join server I show as the regular PA screen and NOT Titans. When I go to options however it THEN goes to Titans expansion.

    The MAC version works fine. The x86/x64 version does not.

    I CAN duplicate this. If need be I can give directions.
  7. DeathByDenim

    DeathByDenim Post Master General

    Messages:
    4,328
    Likes Received:
    2,125
    Just as additional info. I just tried this on Linux. Works fine too.
    I don't have Windows to test this on, so it could still be unique to you. Can you try with a Windows friend?
    cheezeit likes this.
  8. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    I have asked others with Windows builds to try this out.

    I have a laptop that runs Windows 8.1 that I installed this on. It exhibited the same behavior as my installation of Windows 7. I was able to duplicate the same issue on PAMM using the "Connect Buttons" mod and using the console command of:

    sessionStorage['gameHostname'] = '"<insert IP here>"'; sessionStorage['gamePort'] = '27050';window.location.href = 'coui://ui/main/game/connect_to_game/connect_to_game.html';

    Also, thank you for ruling out that Linux works too :) :)

    I think @Sorian and @bgolus are going to hate us because there's another bug on the pile for them to have to enumerate.
  9. mikeyh

    mikeyh Post Master General

    Messages:
    1,869
    Likes Received:
    1,509
    The join custom server code has been updated in Faster Server Browser and PA Stats.

    Connect Buttons does not work and needs to be updated.

    Code:
    sessionStorage['gameHostname'] = '<serverIPaddress>'; sessionStorage['gamePort'] = '<serverPort>';
    window.location.href = 'coui://ui/main/game/connect_to_game/connect_to_game.html?content=PAExpansion1&local=false';
    
    cheezeit likes this.
  10. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Verified, and you are correct sir in that "join" statement.

    I added the "?content=PAExpansion1&local=false" and that did the trick. Thank you thank you thank you thank you :) :) :) :)

    No bug then on the part of PA. It seems that the "connect by LAN ip" mod is unreachable for download :( :( :(

    It's alright. I guess such is life right?

    For those curious the complete console command for join for regular PA is:

    Code:
    sessionStorage['gameHostname'] = '<ip>"'; sessionStorage['gamePort'] = 'port';window.location.href = 'coui://ui/main/game/connect_to_game/connect_to_game.html'

    For the complete console command for join for PA Titans, it is:

    Code:
    sessionStorage['gameHostname'] = '"<ip>"'; sessionStorage['gamePort'] = '<port>';window.location.href = 'coui://ui/main/game/connect_to_game/connect_to_game.html?content=PAExpansion1&local=false'
    Last edited: August 23, 2015
    cola_colin and DeathByDenim like this.
  11. miliascolds

    miliascolds Member

    Messages:
    76
    Likes Received:
    6
    if yours is like mine then I got mine to run as titans by making the gamemode parameter "PAExpansion1:Configure" in the config.json file where you set the server IP
  12. jorgenpt

    jorgenpt Uber Programmer Uber Alumni

    Messages:
    164
    Likes Received:
    390
    Am I correct in assuming that this was a server command line / client mod issue? It sounds like everything has been resolved.
  13. cheezeit

    cheezeit Member

    Messages:
    30
    Likes Received:
    7
    Yes yes Jørgen. It was actually a command line issue.

    Because there still isn't a "join by IP" option within PA and PA:Titans I had to resort to the command line command for it. I didn't realize that there would be an issue with the join command assuming that it was only PA and not PA:Titans.

    Thank you though for responding sir :)

Share This Page