AMS2 Dedicated Server Tool / SteamCMD Support

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

  1. Orcajavi

    Orcajavi New Member

    Joined:
    Jan 25, 2018
    Messages:
    2
    Likes Received:
    0
    That's the problem. Thank you
     
  2. TeTeT

    TeTeT New Member AMS2 Club Member

    Joined:
    Mar 12, 2016
    Messages:
    9
    Likes Received:
    3
    Hi,

    do you plan to release any component/lib/framework to use the dedicated server config and lua_config files?

    I've written a small prototype for changing the rotation config in javascript/python over the weekend. It was awkward to parse the lua config, as it's almost JSON, but also not. I used a python regular expression to remove the // comments and string replace for the opening lines until it is a valid JSON file. The result then of course has no more comments and such. I'm looking for a better way to deal with these lua config file(s) right now.

    Cheers,
    TeTeT
     
    • Like Like x 1
  3. Epicfool

    Epicfool New Member AMS2 Club Member

    Joined:
    Oct 11, 2016
    Messages:
    6
    Likes Received:
    1
    I fixed my problem but don't know how... Completely reinstalled the server, interestingly it no longer adds AI to the race so that's a plus

    Thanks all
     
  4. Dams

    Dams Member

    Joined:
    Apr 1, 2020
    Messages:
    32
    Likes Received:
    3
    Bonjour

    quand je lance un serveur et qu'une personne arrive sur un ia arrive comme impossible de le tirer.

    avez-vous une solution merci
     
    Last edited: Jun 15, 2020
  5. Dams

    Dams Member

    Joined:
    Apr 1, 2020
    Messages:
    32
    Likes Received:
    3
    Sorry
     
  6. Giovani Baltieri

    Giovani Baltieri New Member

    Joined:
    Jul 6, 2019
    Messages:
    11
    Likes Received:
    0
    I need some help, I am director of the VRT Brasil League and we are in the 2nd Season of the Stock Car Brazil Championship - Automobile 2, we trust this simulator since the beginning, but I am having difficulty making the dedicated server wait for the Start anters to start the running. I will send my server.cfg file and I ask you to help me. Rename it to server.txt, otherwise your site won't accept it.
     

    Attached Files:

  7. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    if you mean "WAIT_FOR_RACE_READY_INPUT", that is here. Its the only flag you set.

    There is a little fault with Track ID
    Instead of
    "TrackId" : "Cascavel",
    you should write
    "TrackId" : -916478809,

    afaik in server.cfg only IDs are allowed, real names are for lua.

    Some of your entries are taken from pCARS2 server.cfg. Don't know if they are all supported or have a bad influence currently.
     
  8. Dave Stephenson

    Dave Stephenson Administrator Staff Member AMS2 Club Member

    Joined:
    Feb 13, 2016
    Messages:
    873
    Likes Received:
    1,124
    I think they should be mostly be fine with the exception of day/month/year which are ignored and use track default as in the game client and cool down lap setting which is always manual in multiplayer but option not removed from dedi interface yet. Certainly there has been no dedicated attempt to alter/remove the behaviour of any of the other settings at least.
     
    • Like Like x 1
  9. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,280
    Likes Received:
    697
    What are the minimum requirements? Can it run on Windows 10 desktop or it needs to be a Windows Service license?
     
  10. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    windows, Linux. No license.
    some MBit upload ;)
     
  11. DaVeX

    DaVeX AMSUnofficial Staff AMS2 Club Member

    Joined:
    Mar 8, 2016
    Messages:
    1,994
    Likes Received:
    1,057
    You mean the server isn't waiting ready imput and starts the race session automatically?
    If yes that would be great for us!
    Can you elaborate this a little more? Just to be sure I understood it :D
     
  12. MasterLooser

    MasterLooser Greyhat DWORD Developer Staff Member AMS2 Club Member

    Joined:
    Apr 1, 2020
    Messages:
    361
    Likes Received:
    175
    i have a weird bug.
    i wanted to allow trackselection but leave the car/class as stockcar v8.

    i am setting controlgamesetup to true,
    ServerControlsTrack 0
    ServerControlsVehicleClass 1
    ServerControlsVehicle 1

    tho this will lock the car and the track, so it cant be adjusted.

    further more, when setting controlgamesetup to false and then setting the flags to use identical car/class the first player joining cannot change the car but track.(this is good and wanted)
    but when the player switches the track, it also does change the car to a random one and then cant be changed afterwards due to being locked.

    ontop of all that, both ingame and on the serverbrowser the server will be displayed as "multi class", even tho its set to stockcarv8, even when the car was randomly changed due to the track change, and everyone is on the same car/class, it would still say pos 9/15 class 9/15 (assuming u are 9th)
     
    • Like Like x 1
  13. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    148
    Likes Received:
    55
    Maybe I missed it, but is there a Linux version of AMS2 DS?
     
    Last edited: Jun 17, 2020
  14. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    download the steam Windows version. Inside you'll find usergide.pdf with Linux instructions
     
  15. Giovani Baltieri

    Giovani Baltieri New Member

    Joined:
    Jul 6, 2019
    Messages:
    11
    Likes Received:
    0
    [QUOTE = "DaVeX, post: 81051, membro: 147"] Você quer dizer que o servidor não está esperando a imputação pronta e inicia a sessão de corrida automaticamente?
    Se sim, isso seria ótimo para nós!
    Você pode elaborar isso um pouco mais? Só para ter certeza de que eu entendi : D[/ QUOTE]

    Exatamente, o servidor dedicado não espera os pilotos clicarem em "Iniciar", após o que o administrador clica em "Continuar" e o AMS2 Dedi já salta para a pista e ativa o sinal para iniciar!
     
    • Informative Informative x 1
  16. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    Maybe in flags you set "FORCE_MULTI_VEHICLE_CLASS" flag
     
  17. MasterLooser

    MasterLooser Greyhat DWORD Developer Staff Member AMS2 Club Member

    Joined:
    Apr 1, 2020
    Messages:
    361
    Likes Received:
    175
    nope i didnt
     
  18. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,417
    Likes Received:
    1,446
    what is your flags entry number?
     
  19. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    148
    Likes Received:
    55
    Good idea in general, but this part in the User Guide is a copy/paste from pcars2.
    If you check the Steam ID which is used there you will get the following result in Steam DB:
    Project CARS 2 - Dedicated Server · AppID: 413770
     
  20. Martin Edmunds

    Martin Edmunds New Member AMS2 Club Member

    Joined:
    Aug 5, 2019
    Messages:
    11
    Likes Received:
    1
    Of course, but currently the results have almost no data.
    But yes raceapp.eu is awesome. If it's not too much work would be nice
     

Share This Page