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. Kevin Cox

    Kevin Cox Active Member AMS2 Club Member

    Joined:
    Mar 11, 2016
    Messages:
    477
    Likes Received:
    99
    So it doesn't work then ;)
     
  2. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    no luck.
     
  3. viper4r

    viper4r Active Member AMS2 Club Member

    Joined:
    Mar 5, 2020
    Messages:
    150
    Likes Received:
    56
    I tested it again on a win 10 system which is not my gaming machine. If I execute the Dedicated Server exe and Steam is not running then it is working in my case and the start of the Steam client is not triggered.
     
  4. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    try to rename steam.exe to prevent from running
     
  5. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    half/half
    names, times,splits etc are ok
    All you have todo is export to csv, open in Excel or similar and replace some entries
     
  6. Dams

    Dams Member

    Joined:
    Apr 1, 2020
    Messages:
    32
    Likes Received:
    3
    for me the results do not work.
    I'm having trouble setting an option.
    the json remains empty
     
  7. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    If you want to use SIMRESULTS:
    in \Automobilista 2 - Dedicated Server\lua_config\sms_stats_config.json

    set "track_results" : true,

    in \Automobilista 2 - Dedicated Server\lua\sms_stats\sms_stats.lua
    replace following section

    --- Session game state changes.
    function handle_session_game_state_change( old_state, new_state )
    if not old_state or old_state == "" then
    old_state = "None"
    end
    session_game_state = new_state
    if ( old_state == "None" ) and ( new_state == "Lobby" ) then
    handle_new_session_lobby()
    elseif ( old_state == "Returning" ) and ( new_state == "Lobby" ) then
    handle_returning_session_lobby()
    elseif ( old_state == "Lobby" ) and ( new_state == "Loading" ) then
    handle_session_loading()
    elseif ( old_state == "Loading" ) and ( new_state == "PostRace" or new_state == "Race" ) then
    handle_session_loaded()
    elseif ( old_state == "PostRace" or old_state == "Race" ) and ( new_state ~= "PostRace" and new_state ~= "Race" ) then
    if new_state == "None" then
    handle_session_finished_prematurely()
    else
    handle_session_finished()
    end
    end
    end


    upload following file to simresults.net
    \Automobilista 2 - Dedicated Server\lua_config\sms_stats_data.json

    read paths carefully. Those are different folders !!
     
    Last edited: Jul 6, 2020
    • Like Like x 1
  8. VFX Pro

    VFX Pro Well-Known Member AMS2 Club Member

    Joined:
    Mar 31, 2017
    Messages:
    1,294
    Likes Received:
    705
    Finally... I got my East US Server running. I simply removed everything, including the steam client based setup (don't use). I re-installed the option that allows anonymous running on the CMD instead. I will find out tomorrow if I can now run the game on of my computer and the server on the other one without blocking each other via the Steam Authentication.
     
    • Like Like x 1
    • Informative Informative x 1
  9. Martin Edmunds

    Martin Edmunds New Member AMS2 Club Member

    Joined:
    Aug 5, 2019
    Messages:
    11
    Likes Received:
    1
  10. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    Last edited: Jul 6, 2020
  11. Ayrton

    Ayrton Active Member AMS2 Club Member

    Joined:
    Jun 29, 2019
    Messages:
    202
    Likes Received:
    150
    I believe I followed the directions correctly from post #42. I replaced that section in the lau file. Yet I'm still only getting results for 1 lap with simresults.
     
  12. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    you believe or know ;)
    Also checked the other file?
     
  13. Dams

    Dams Member

    Joined:
    Apr 1, 2020
    Messages:
    32
    Likes Received:
    3
    Hello
    how to set the limit tracks.
    we had an open in P3 on Imola and many we had drive through when they were lost in the grass.
    thank you
     
  14. Jefka

    Jefka Member

    Joined:
    Jul 6, 2019
    Messages:
    30
    Likes Received:
    6
    Just to be certain, am I right that the linux dedicated server is not yet available?
     
  15. Wolfgang Herold

    Wolfgang Herold I Like Liveries :) AMS2 Club Member

    Joined:
    Apr 3, 2016
    Messages:
    2,456
    Likes Received:
    1,456
    yes
     
    • Like Like x 1
    • Dislike Dislike x 1
  16. DFAlex

    DFAlex New Member AMS2 Club Member

    Joined:
    Mar 19, 2016
    Messages:
    11
    Likes Received:
    1
    :(
    ...we need a version for Linux....
     
  17. DFAlex

    DFAlex New Member AMS2 Club Member

    Joined:
    Mar 19, 2016
    Messages:
    11
    Likes Received:
    1
    oh, and for results, we have coded ouer own tool...ok, for pc2, but i think it works for AMS2 too...
    For example: Cayman_Cup
     
    • Like Like x 1
  18. Dams

    Dams Member

    Joined:
    Apr 1, 2020
    Messages:
    32
    Likes Received:
    3
    [QUOTE = "DFAlex, post: 87057, member: 917"] oh, et pour les résultats, nous avons codé notre propre outil ... ok, pour pc2, mais je pense que ça marche aussi pour AMS2 ...
    Par exemple: Cayman_Cup [/ QUOTE]
    can you share your code? or tell us more about it.
    thank you
     
  19. DFAlex

    DFAlex New Member AMS2 Club Member

    Joined:
    Mar 19, 2016
    Messages:
    11
    Likes Received:
    1
    Hi,
    i'm sorry, no. I'm not the one who made it, i'm only the user....
     
  20. Damian Baldi

    Damian Baldi Active Member

    Joined:
    May 28, 2020
    Messages:
    180
    Likes Received:
    131
    Anyone knows the ID of Brasilia Outer? it's not at the server file.
     

Share This Page