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
    Both apps are now updated to v1 content level
     
    • Like Like x 2
  2. gbriden

    gbriden New Member AMS2 Club Member

    Joined:
    Jun 4, 2016
    Messages:
    20
    Likes Received:
    0
    Yes I too am looking for track and Car ID's This list needs to be easily available to ALL. Why not just include in Dedicated Server files that get downloaded???
     
  3. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    @Dave Stephenson
    Big thanks for the DS update.

    2 small problems:
    - If you open the API path api/list/tracks Bathurst is still missing, but you can start a session on Bathurst
    - If the Fill with AI flag is set it is only working with the configured track in the server.cfg, if you change the track via in-game UI you will have no AI, I posted it already here -> link
     
  4. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    agree.
    Bathurst is also not in the webUI
    DSV1.0.JPG

    Update:
    Following the OLD Status screen in WebUI the track ID for Bathurst is "1080325116", but it only works if you connect to an empty server and set Bathurst manually. If you set it in server.cfg the DS cannot interpret it and uses some other track, as its not in the internal list/table.
    So we have to wait for an update :hurrayreiza:
     
    Last edited: Jul 1, 2020
  5. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    its easy accessable
    You need http enabled on your running server and enter https://your_IP:your_port/api/list/tracks in the browser. This list is allways uptodate ;)
     
    • Like Like x 1
  6. BigDog83

    BigDog83 New Member AMS2 Club Member

    Joined:
    Sep 13, 2016
    Messages:
    12
    Likes Received:
    4
    hi,
    can someone please tell me where I can find the vehicle_class_id for the Ginetta GT4?

    Code:
    "id" : 2091910841,
            "name" : "Ginetta G55 GT4 Supercup",
            "class" : "G55Supercup"
    Unfortunately I can't find the class id in any list.

    thx!
     
  7. BigDog83

    BigDog83 New Member AMS2 Club Member

    Joined:
    Sep 13, 2016
    Messages:
    12
    Likes Received:
    4
    all right, i found the id. (382290110)
    thx @Wolfgang Herold for tip with the webUI.
    i just started a new session with the webUI and read the id above the OLD status screen.

    Quasi:

    Trick17, von hinten durch die kalte Küche.
     
    • Winner Winner x 2
  8. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    884
    Likes Received:
    1,243
    There will be another updating with the Bathurst fix this evening guys. I missed the commit by a few mins yesterday :oops::rolleyes:
     
    • Friendly Friendly x 1
  9. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    the class ID for ginetta is 382290110
    But i think, the server will treat it as unknown, when its not in the servers list.
    Same as with Bathursts trackID

    Ninjad :)o_O
     
  10. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    If the HTTP API is enabled you can open:
    http://localhost:9000/api/list/vehicle_classes

    HTTP API Help where you can find such links:
    http://localhost:9000/api/help
     
  11. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    • Agree Agree x 1
  12. Giovani Baltieri

    Giovani Baltieri New Member

    Joined:
    Jul 6, 2019
    Messages:
    11
    Likes Received:
    0
  13. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    884
    Likes Received:
    1,243
    Builds up with Bathurst plus some additional classes
     
    • Like Like x 2
  14. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    Looks good now, thanks.

    2020-07-02_07-25-43__localhost_9009_api_list_tracks.jpg

    2020-07-02_07-26-29__localhost_9009_api_list_vehicle_classes.jpg
     
  15. Balrog

    Balrog Active Member AMS2 Club Member

    Joined:
    Aug 25, 2016
    Messages:
    220
    Likes Received:
    56
    Another noob question: in the simplest server configuration, it gives the admin rights to the first driver who arrives to the lobby, which is completely fine for a practice server. But is there a way to prevent this for an organized event and bind the admin rights to a specific player? I've noticed the race director flag, but I have no idea how it works in practice.
     
    • Like Like x 1
  16. Balrog

    Balrog Active Member AMS2 Club Member

    Joined:
    Aug 25, 2016
    Messages:
    220
    Likes Received:
    56
    This issue is still present when using the web UI btw.
     
  17. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    @Dave Stephenson
    Do you know when the Linux version of the DS will be available?
     
  18. B_U_R_I

    B_U_R_I New Member

    Joined:
    Jul 2, 2020
    Messages:
    1
    Likes Received:
    0
    Did you manage to resolve the problem?

    I have a very similar issue, except I have my own server and my own router. I've set destination NAT rules to allow access to the server on ports TCP&UDP 8766,27015,27016 and I have the Windows firewall completely disabled on the server.

    [​IMG]

    [​IMG]

    But the server doesn't appear in the game server list.
     
  19. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    884
    Likes Received:
    1,243
    hoping to find some time to look into it next week
     
    • Like Like x 3
  20. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    884
    Likes Received:
    1,243
    There is currently an issue in the client side that makes the initial session creation from the client unreliable. In the meantime you can get around this by creating the first session in the webapi.

    Set your server up as client controlled as you have done and then on the webapi go to Session Attributes > Next Session and create an event. After doing that it should show in the browser and the car/track settings will be available to change in the client immediately
     

Share This Page