AMS2 Dedicated Server Tool / SteamCMD Support

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

  1. Addy_XL

    Addy_XL New Member

    Joined:
    Jul 29, 2024
    Messages:
    4
    Likes Received:
    3
    I remembered seeing this after I already got the server running so I didn't pay much mind to it. But looking back at it, this would work way easier than my method I used. That being said, there is an easier way to install steamcmd via ubuntu, and you can use the anonymous username when running the install command. I didn't make a directory to install Steam in (it creates one named "steam"). I also didn't create a user to do so, but I already had a user that wasn't root either.

    sudo add-apt-repository multiverse; sudo dpkg --add-architecture i386; sudo apt update
    sudo apt install steamcmd
     
  2. KRRTDustin

    KRRTDustin Well-Known Member AMS2 Club Member

    Joined:
    Dec 27, 2020
    Messages:
    247
    Likes Received:
    811
    Anyone knows the Track ID for the Betonschleife 1971? I can't find that one on the enum page.
     
  3. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,471
    Likes Received:
    690
    That should be:

    -1999809693
    According to /api/list/tracks on the dedi
     
  4. KRRTDustin

    KRRTDustin Well-Known Member AMS2 Club Member

    Joined:
    Dec 27, 2020
    Messages:
    247
    Likes Received:
    811
    Dedi says unknown track when I start it up. What could be the issue?
     
  5. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,471
    Likes Received:
    690
    Is your dedi fully updated?

    Edit, i just tried it myself, and setting it in the server.cfg works for me:

    Schermafbeelding 2024-08-07 191417.png
     
    Last edited: Aug 7, 2024
  6. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    148
    Likes Received:
    55
    I have to correct myself.
    There really does not seem to be a native Linux DS.
    I thought I had it installed, but the folder I used is empty.
    The package ID 1338040 includes the Windows DS only and the User Guide uses the package ID from Project Cars 2.
     
    • Like Like x 1
  7. Fernando Vignola

    Fernando Vignola New Member

    Joined:
    Sep 13, 2024
    Messages:
    3
    Likes Received:
    0
    Is the server only on Windows or can I open it on Linux?
     
  8. Fernando Vignola

    Fernando Vignola New Member

    Joined:
    Sep 13, 2024
    Messages:
    3
    Likes Received:
    0
    upload_2024-9-13_17-58-55.png

    Where do I set this text?

    I tried going to sms_motd_config.json

    But nothing appeared.

    // The message to send to each new session member. If empty, "Welcome to 'SERVER_NAME'" will be used.
    "motd" : "",
     
  9. drak64

    drak64 New Member

    Joined:
    Mar 9, 2020
    Messages:
    24
    Likes Received:
    21
    Use these two slashes
    // to prevent unwanted information from being published.
    // Anything written after them is not published.

    an example:
    // In this case "restrictions" will not be published,
    If you want to publish restrictions remove the two slashes //
    Code:
    "send_setup" : [
    "controls",
    "format",
    // "restrictions",
    "weather",
    "date"
    ],
    Set your message to "motd" : "" without any strange characters, some of which cause errors.
    Code:
    config : {
    "motd" : "Your greeting to newcomers"
    "send_setup" : [
    "date"
    ],
    "send_when_returning_to_lobby" : true
    }
    

    If you want your welcome message to be published you must remove the two slashes // in the server.cfg file in:
    Code:
    luaApiAddons : [
    "sms_base",
    "sms_rotate",
    // "sms_motd",
    "sms_stats",
    ]
    And that's it, I hope it helps you




    This information can also be found at:
    Automobilista 2 - Dedicated Server/UserGuide.pdf
    Point: Server Addons
     
    Last edited: Sep 15, 2024
    • Informative Informative x 1
  10. Addy_XL

    Addy_XL New Member

    Joined:
    Jul 29, 2024
    Messages:
    4
    Likes Received:
    3
    I got it running using Wine and XVFB using the Windows client on a linux box. If people are interested, I would be up for writing a more detailed instruction on how to install on linux.
     
    • Like Like x 1
  11. Addy_XL

    Addy_XL New Member

    Joined:
    Jul 29, 2024
    Messages:
    4
    Likes Received:
    3
    You can run it on Linux, but you have to run it using Wine and XVFB as since most people will be running this on a headless Linux box, you'll need something to simulate a video display. I've been contemplating making a detailed instruction on how to install it on Linux.
     
    • Like Like x 2
  12. Fernando Vignola

    Fernando Vignola New Member

    Joined:
    Sep 13, 2024
    Messages:
    3
    Likes Received:
    0

    upload_2024-11-8_10-28-37.png


    Hello friend, so it only appears on the left side, but not on the right where there is the question mark ????
     
  13. drak64

    drak64 New Member

    Joined:
    Mar 9, 2020
    Messages:
    24
    Likes Received:
    21
    Exactly, you can use it to have your own reference, for example:
    Code:
    "sms_motd", "welcome" // This tag is used to send a welcome message
    Or to override a tag in the code:
    Code:
    // "sms_motd", "welcome" // This tag is used to send a welcome message
    In the first case, the welcome message will be sent, and in the second, it will not.
     
  14. kmikiwi

    kmikiwi Member

    Joined:
    Jun 19, 2016
    Messages:
    61
    Likes Received:
    25
    Hi there!
    I have a question regarding the dedicated server and what 1.6 will be... Will AMS2 have the dedicated server as an exclusive tool to create events? Or will the two ways of connecting to an event, p2p mode and the dedicated server, still be valid? With the multiplayer adjustments you have made, will there be a difference between using P2P and/or the dedicated server? is one going to be left alone? Will one work better than the other? thank you.
     
    • Like Like x 1
  15. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    its all under the hood and transparent for the user.
    All you'll have to do is install the updated DS on your server.
    P2P and DS will work as before, DS just a bit mor reliable than b4
     
    • Like Like x 1
    • Agree Agree x 1

Share This Page