1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

AMS2 Dedicated Server Tool / SteamCMD Support

Discussion in 'Automobilista 2 - General Discussion' started by Dave Stephenson, May 29, 2020.

  1. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    884
    Likes Received:
    1,243
    That's not possible at the moment, making the lobby server controlled is the way to achieve that.
     
  2. Giovani Baltieri

    Giovani Baltieri New Member

    Joined:
    Jul 6, 2019
    Messages:
    11
    Likes Received:
    0
    Good afternoon, the "WAIT_FOR_RACE_READY_INPUT" function works only if you configure it in server.cfg and do not make any changes to the "webapi". If you make any changes to the server via "webapi", either in the current session or in the next session, the "WAIT_FOR_RACE_READY_INPUT" function will not work again. You need to create this in the "webapi" to solve the problem. Thank you
     
    • Informative Informative x 1
  3. Marc Collins

    Marc Collins Internal Tester AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    6,751
    Likes Received:
    3,414
    I have a dummies question: why do dedicated servers that are not currently in use fail to list the car/series? Right now you have to try to join one to find out what car it is, which seems somewhat absurd. Can this be fixed?
     
    • Like Like x 2
  4. Balrog

    Balrog Active Member AMS2 Club Member

    Joined:
    Aug 25, 2016
    Messages:
    220
    Likes Received:
    56
    But is there a way to prevent the AI bug atm? If I create a session via the webapi, the server loads an AI car as well, no matter what, I tested it with both lua addons turned off and on.
     
  5. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    did you set both?
    MaxPlayerSize = MaxGridSize in server.cfg
    "FILL_SESSION_WITH_AI" = 0 in Flags
     
  6. DFAlex

    DFAlex New Member AMS2 Club Member

    Joined:
    Mar 19, 2016
    Messages:
    11
    Likes Received:
    1
    Hello,
    i hope you find the time :)
    i'm Admin of the malzbierbude.de, we have atm up to 7 pC2 Server, but we have only an Linux based Server, it would be great to have a AMS2 Dedi!
    THX for this great work!

    regards
    Alex
     
  7. Goffik

    Goffik Well-Known Member

    Joined:
    Apr 5, 2020
    Messages:
    472
    Likes Received:
    308
    So it seems that we can't have a session that has two races, with the second grid being based on finishing positions in the first race. Is that right?

    What happens if I set up a rotation with the second session being identical to the first, but with no practice or qualifying session? How is the grid worked out then?
     
  8. Balrog

    Balrog Active Member AMS2 Club Member

    Joined:
    Aug 25, 2016
    Messages:
    220
    Likes Received:
    56
    But that's my point, if I change something on the webapi, it overrides the MaxPlayerSize = MaxGridSize setting.
     
    • Agree Agree x 1
  9. Kevin Cox

    Kevin Cox Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    477
    Likes Received:
    99
    Yes when is this one extra AI bug going to be fixed?
     
  10. Kevin Cox

    Kevin Cox Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    477
    Likes Received:
    99
    How can you get the results out of a dedi server?
     
  11. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
  12. Kevin Cox

    Kevin Cox Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    477
    Likes Received:
    99
  13. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    it works, but unknown track/car
     
  14. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    Situation: I have multiple computers at home. One is my AMS2 dedicate server and another is my sim racing rig.

    Problem:
    When I launch my East US Server to host any races, my main sim racing rig tells me it will shutdown my hosting server...? Perhaps a security conflict from Steam? How can I host and use AMS2 on 2 different computers at home?
     
  15. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    start the exe direct, not from within steam or a steam launch icon
     
  16. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    Tried that..no luck :(. The steam dedicated server always launch. Wondering, if there is a settings somewhere to let my account be active on 2 sessions... (server and my sim rig).
     
  17. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    Do not start steam on the server pc. Running here w/o problems
     
    • Agree Agree x 1
  18. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    Thanks for your help Wolfgang, but I'm not starting it. I only click on the DedicatedServerCmd.exe and it automatically starts the Steam Client and logs in under my account (probably the source of the problem). If I shutdown Steam in the tray, then the servers shuts down as well.

    I initially downloaded the server from steam, is there a different download link that doesn't require steam that I'm not aware of?

    I really want to create a East US server to help AMS2 adoption. The majority or servers are in Latin American or Europe at the moment with a bad ping.
     
    Last edited: Jul 5, 2020
  19. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    Did you test to logout in Steam Client before.
    I know from Linux DS that it can run under anonymous. Maybe this works.

    But I also thought, that I started the exe without Steam Client, but I am not 100% sure.
     
  20. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    Thanks... will try your approach.
     

Share This Page