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. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    I think it’s a P2P only thing
     
    • Like Like x 2
  2. Andy

    Andy Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    103
    Likes Received:
    27
    Is it possible to set the weather up for the practice and q session in server.cfg?
    I have set the race weather, but the P and Q sessions are always set as real weather and I would like to change that if possible.

    Many thanks
     
  3. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    Yes you can, your looking at something like this:

    "PracticeLength" : 10,
    "PracticeDateHour" : 9,
    "PracticeDateProgression" : 1,
    "PracticeWeatherSlots" : 1,
    "PracticeWeatherSlot1" : -934211870,
    "QualifyLength" : 10,
    "QualifyDateHour" : 11,
    "QualifyDateProgression" : 1,
    "QualifyWeatherSlots" : 1,
    "QualifyWeatherSlot1" : -934211870,
    "RaceLength" : 5,
    "RaceDateProgression" : 1,


    Look at /api/list/enums/weather for the weather codes you can use
     
  4. Andy

    Andy Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    103
    Likes Received:
    27
    Thank you...I see where to add the weather now
     
  5. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    yes i have added this just below the gridsize and maxplayers parameters, i also dont use track rotation
     
    • Like Like x 1
  6. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    you are very welcome, you can setup pretty much everything in the server.cfg file i found, which is nice.
     
  7. Andy

    Andy Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    103
    Likes Received:
    27
    Perfect thank you
     
  8. DaWorstPlaya

    DaWorstPlaya Active Member

    Joined:
    Aug 5, 2020
    Messages:
    354
    Likes Received:
    152
    Yes this is feature is only in P2P lobbies. I agree it would be nice to have that as a setting to turn ON/OFF on the DS servers.
     
    • Agree Agree x 2
  9. Hunt

    Hunt New Member

    Joined:
    Jan 18, 2021
    Messages:
    8
    Likes Received:
    0
    Does anyone know why the server is not becoming visible to all?
     
  10. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    862
    Likes Received:
    1,100
    @Spie @Tony Binelli

    This is a support thread guys not for discussion, please take it to one of the other threads or start your own, thanks.
     
    • Agree Agree x 1
    • Informative Informative x 1
  11. Julien Lemoine

    Julien Lemoine New Member AMS2 Club Member

    Joined:
    Aug 3, 2021
    Messages:
    26
    Likes Received:
    0
    Hello to all,
    The update is really good (V1.3.0).
    However, I think there are two key things that could improve the multiplayer experience and therefore increase the number of multiplayers.And this must be a top priority in my opinion.
    So :
    1. The fact that the dedicated saves everything in one file and not one file per session is really something that prevents a lot of organisations from organising things. So it would be cool if the dedicated generated one result file per session.
    2. Being able to customize your name in single player is great, but it would be cool if it also took into account the multiplayer.
    Thank you for taking the time to read and I look forward to your feedback.
     
  12. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    "Being able to customize your name in single player is great, but it would be cool if it also took into account the multiplayer."

    This will come in a future update
     
    • Like Like x 2
  13. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    Any idea if and how i can set the currentdate to be used in automatically from within the server.cfg file, i tried using currentyear, currentdate etc, but did not seem to work.
     
    • Friendly Friendly x 1
  14. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    Unfortunately there isn't a setting i am aware of and the webAPI also doesn't allow for it. I guess it is something @Dave Stephenson could look at down the line.

    For me, on Touristenfahrten, I simply set the day through a script as part of my daily server maintenance.
     
  15. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    As a reference, to make your DS a ranked server you need to add 3 things.
    Add this bit inside of sessionattributes

    Code:
    // Minimum Online Safety Rank: "U","F","E","D","C","B","A","S" or numbers 0 to 7 for the same row of ranks
        "MinimumOnlineRank" : "F",
    
        // MinimuM Online Driver Rank: 100 - 5000 :: Use lower values to allow more players in, segragate by safety rank to get clean drivers
        //"MinimumOnlineStrength" : 1000,
    Also needs "ONLINE_REPUTATION_ENABLED" in the flag values (8388608)
     
    • Winner Winner x 1
  16. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    862
    Likes Received:
    1,100
    Not at the moment Roy. My own wishlist includes easy options for setting current date and default date so expect both of those at some point but I can't give you a firm fix as to when I might be able to get them in.
     
    • Informative Informative x 2
  17. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    ok, thnx for your response, it would be nice to have that functionality,
     
  18. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    if there is anything i can do to help, in terms of testing or anything, just let me know, i wanna help where i can.
     
    • Like Like x 1
  19. Andy

    Andy Active Member AMS2 Club Member

    Joined:
    Mar 25, 2020
    Messages:
    103
    Likes Received:
    27
    Would some please take a look at my server.cfg file to see why enabling reputation isnt working?
    Ive added the new lines and included the flag, but it just doesnt seem to want to play nicely.

    sessionAttributes : {

    // Whether the server controls track selection. (0/1)
    "ServerControlsTrack" : 1,

    // Whether the server controls the vehicle class selection. (0/1)
    // Flag FORCE_SAME_VEHICLE_CLASS (1024) should be also set for this to make sense.
    "ServerControlsVehicleClass" : 1,

    // Whether the server controls car individual vehicle selection. (0/1)
    // Flag FORCE_IDENTICAL_VEHICLES (2) should be also set for this to make sense.
    "ServerControlsVehicle" : 0,

    // Minimum Online Safety Rank: "U","F","E","D","C","B","A","S"
    "MinimumOnlineRank" : "E",
    // MinimuM Online Driver Rank: 100 - 5000 :: Use lower values to allow more players in, segragate by safety rank to get clean drivers
    "MinimumOnlineStrength" : 500,

    // Race flags - bitfield consisting of many flags. Add flag values to get overall number required here.
    // See /api/list/flags/session in HTTP API for the full list. (previous -1579417320, timed race)
    "Flags" : 701235736,


    // Grid size & number of slots reserved for players. Remaining will be populated with AI. 32 is the max setting.
    "GridSize" : 24,
    "MaxPlayers" : 24,

    // TRACK. See /api/list/tracks/ in HTTP API.
    "TrackId" : 2018595322,

    // VEHICLE CLASS. See /api/list/vehicle_classes/ in HTTP API.
    "VehicleClassId" : -112887377,

    // Practice length in minutes, in-game time, and time multiplier.
    "PracticeLength" : 0,
    "PracticeDateHour" : 16
    "PracticeDateProgression" : 1
    "PracticeWeatherSlots" : 1,
    "PracticeWeatherSlot1" : 296956818,

    // Qualifying length in minutes, in-game time, and time multiplier.
    "QualifyLength" : 15,
    "QualifyDateHour" : 16
    "QualifyDateProgression" : 1
    "QualifyWeatherSlots" : 1,
    "QualifyWeatherSlot1" : 296956818,

    // Race length in LAPS, in-game time, and time muliplier.
    "RaceLength" : 6,
    "RaceDateHour" : 17
    "RaceDateProgression" : 1
    "RaceWeatherSlots" : 2,
    "RaceWeatherSlot1" : 296956818,
    "RaceWeatherSlot2" : -1299791789,

    // AI opponent difficulty from 0 to 120. Only valid is AI are enabled.
    "OpponentDifficulty" : 100,

    //View allowed
    "AllowedViews" : 0,

    //Pit control
    "pit_control" : 1,

    //Cuts
    "AllowedCutsBeforePenalty" : 3,

    // Damage setting. Club default is visual damage only.
    "DamageType" : 0,

    // Tyre wear setting. Club default is 1x wear rate.
    "TireWearType" : 6,

    // Fuel usage setting. Club default is 1x usage rate.
    "FuelUsageType" : 0,

    // Penalties. (0/1)
    "PenaltiesType" : 1,

    // Pit line penalty. (0/1)
    "PitWhiteLinePenalty" : 1

    // Drive-through penalties. (0/1)
    "DriveThroughPenalty" : 1

    // How much penalty time (in seconds) is required to trigger a drive-though penalty.
    "AllowablePenaltyTime" : 5

    // Race mandatory pit stop.
    "RaceMandatoryPitStops" : 0

    // Manual pit stops. (0/1)
    "ManualPitStops" : 1

    // Race rolling starts.
    "RaceRollingStart" : 0

    // Manual rolling starts.
    "ManualRollingStarts" : 0

    // Race formation lap. Only valid if using a rolling start.
    "RaceFormationLap" : 0


    }
     
  20. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,232
    Likes Received:
    564
    Did you add this number: 8388608 to your flags number?
     

Share This Page