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:
    810
    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,438
    Likes Received:
    670
    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:
    810
    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,438
    Likes Received:
    670
    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:
    2
    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:
    2
    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:
    23
    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

Share This Page