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 have wanted to see this idea since pC2. I even have my own name for it: the Dummy Plug system (yes I like NGE)
     
    • Funny Funny x 1
    • Winner Winner x 1
  2. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    Is there a way to set a max ping limit on the server? especially with the rating system this would be nice to have, since i dont wanna manually kick everyone who has a high ping.
     
    • Like Like x 1
  3. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    I'll see if I can dig an old addon from the pC forums. I remember there being something about pings and kicks xD
     
    • Like Like x 1
  4. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    i think this is it, tried to set max ping limit, but could not see it added in server.cfg, so it must work differently.

    Releases · CogentHub/PCDSG
     
  5. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    No. Literally a LUA addon. I found the 2 addons and cobbled them together but I am not getting the intended result yet.
     
  6. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    ah ok, i thought i found the magic thingy, but unfortunately not lol
     
  7. MrGit

    MrGit Well-Known Member AMS2 Club Member

    Joined:
    Feb 25, 2020
    Messages:
    223
    Likes Received:
    568
    Quick question...

    Everything seems good on my server, aside from when going from quali to the grid, there's no delay. Soon as the session timer runs out the next thing your on the grid with the lights counting down to green.

    Free practise is fine and shows 2 mins before the end...i take it I'm missing a particular flag in the json?
     
  8. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    Yeah, wait for race ready input, thats how its called in the webconfig
     
    • Like Like x 2
  9. chaigneau

    chaigneau New Member

    Joined:
    Mar 26, 2020
    Messages:
    17
    Likes Received:
    10
    hello!
    On my server, I want a RaceLength in "minutes", but I have only in "lap"...

    It's OK! I have the solution....
     
    Last edited: Dec 4, 2021
  10. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    873
    Likes Received:
    1,124
    The WAIT_FOR_RACE_READY_INPUT flag will give the countdown/ready-up phase
     
    • Like Like x 1
  11. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    You mind sharing the solution so others in here can benefit from it as well?
     
  12. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    Yeah, i couldn't remember the exact name lol
     
  13. roszman

    roszman Well-Known Member

    Joined:
    Jun 11, 2020
    Messages:
    338
    Likes Received:
    419
    Hey, how to control required server rating and all rating related stuff? There is nothing in readme.txt or UserGuide.pdf.
     
  14. Shriukan

    Shriukan Touristenfahrten Community AMS2 Club Member

    Joined:
    Sep 23, 2019
    Messages:
    1,293
    Likes Received:
    931
    • Like Like x 1
  15. chaigneau

    chaigneau New Member

    Joined:
    Mar 26, 2020
    Messages:
    17
    Likes Received:
    10
    Yes, of course.
    The solution is in the api flag :
    {
    "value" : 1048576,
    "name" : "TIMED_RACE"
    },
     
    • Like Like x 2
  16. chaigneau

    chaigneau New Member

    Joined:
    Mar 26, 2020
    Messages:
    17
    Likes Received:
    10
    I don't understand how to use "currentmonth", "currentyear" and "currentday"...
    An idea?
     
  17. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    if i recall i asked the same question, this doesn't work on ams2 dedi server. i know @Shriukan runs a script to automatically change the cfg to the current date
     
  18. maconnolly

    maconnolly New Member

    Joined:
    Dec 19, 2020
    Messages:
    24
    Likes Received:
    19
    Reasonably tech-savvy newbie-to-dedicated-servers here.

    Excited by the possibilities of running a DS now that I am switching more of my time over to AMS2. Keen to understand some of the fundamentals and, in particular, what the current (and known future) capabilities are around custom AI?

    Is the Dedicated Server effectively the 'host'? If so, is it possible to use a DS to distribute custom AI to all players who join a server? I know that an obvious challenge of custom AI in P2P sessions would be the host leaving (and therefore taking custom AI configuration with them). Seems like in a DS-scenario this could be worked around if the DS itself is persistent.

    If not possible today, is that something that is being considered at all?
     
  19. Roy Niessink

    Roy Niessink Well-Known Member AMS2 Club Member

    Joined:
    Mar 27, 2020
    Messages:
    1,467
    Likes Received:
    690
    Hi,

    Well the default possibilities of the dedicated server are much the same as the options you have when creating a lobby from within the game, on dedicated server you can utilize a blacklist/whitelist and kick people, and with some lua scripting there are more things possible if you are into that, currently no options to distribute custom ai as far as im aware of
     
    • Agree Agree x 1
    • Informative Informative x 1
  20. Hunt

    Hunt New Member

    Joined:
    Jan 18, 2021
    Messages:
    8
    Likes Received:
    0
    It would be nice if it would save "last state", and also advance/restart session.
     

Share This Page