1. Do you need support for Assetto Corsa Competizione? Please use the proper forum below and ALWAYS zip and attach the WHOLE "Logs" folder in your c:\users\*youruser*\AppData\Local\AC2\Saved. The "AppData" folder is hidden by default, check "Hidden items" in your Windows view properties. If you report a crash, ALWAYS zip and attach the WHOLE "Crashes" folder in the same directory.
    Dismiss Notice

ACC Blog The Server Admin Handbook thread

Discussion in 'ACC General Discussions' started by Minolin, Jun 10, 2019.

  1. Minolin

    Minolin Staff Member KS Dev Team

    We've created the first version of the "Server Admin Handbook", which explains the configuration of the MP servers in depth, it'll be in the installation directory (1.0.3) and linked here. Additionally I would like to add and update a FAQ section colllecting information here, so just keep on discussing and ask questions and I'll add them to this post.

    Additionally I'd like to collect known issues and tasks so it's clear what we are aware of; together with the FAQ this hopefully is going to be a useful thread to read into the topic without having to read hundreds of discussions.


    FAQ:

    1) how do we set up different pitstop rules and event types e.g. sprint vs. endurance? Or set a required number of pitstop etc?

    Not yet. That's going to be options used both in "Private" Mp and Competition Servers. Will keep you updated

    2) Is ambientTemp used even when weather Randomness is not 0, as a starting point? So I could still choose to set up what will probably be a cold weekend or a very hot weekend by setting an appropriate ambientTemp?

    Update: In up to 1.0.3, the ambientTemp is not effective as a parameter. Will sort that out.

    3) I cannot connect when isAdmin is set to 1 in the entrylist

    It's a bug in 1.0.2, please do not use the isAdmin until 1.0.3

    4) Will be pit stops be forced in multiplayer?

    Never for "Public" MP, but for sure I'll try to implement it for "Private" MP and CP servers

    5) I have rented a server, what I do? I can't copy the folder

    Your server hoster should have instructions how to edit the configuraition files. The executable usually is handled by your hoster.

    Topics list:

    - More admin commands
    - Private server options
    - Log timestamps + keep server.log files
    - Formation lap
     

    Attached Files:

    Last edited: Jun 10, 2019
    max21, Wutzmann, Mascalzone and 24 others like this.

  2. Similar Threads
    Forum Title Date
    ACC Multiplayer Server Log Parser for HTML (league admins) Saturday at 12:36 AM
    ACC Multiplayer Can't join the server as admin or spectator May 29, 2019
    ACC General Discussions Server admin turn off practice session? May 18, 2019
    ACC Multiplayer ACC Server Setup questions - Admin Rights, Track Rotation and eventType Mar 10, 2019
    ACC Multiplayer 0.6+ Multiplayer server configuration (for server admins) Feb 5, 2019
    ACC Multiplayer Server admin commands? Nov 25, 2018
    ACC General Discussions Server Admins Q & A + Requests Nov 15, 2018
    ACC General Discussions SERVER ADMINS - PLEASE UPDATE YOUR SERVER Nov 14, 2018
    Chit Chat Room VivaioRacing Server Admin Sep 18, 2018
    Chit Chat Room How/where to contact server admins? (Apex Touristenfahrten Nordschleife) Jul 22, 2018
    Chit Chat Room Admin Commands Linux Dedicated Server Jun 26, 2018
    Multiplayer Bugs & Issues my server tells me I am not the admin Dec 23, 2016
    Suggestions Transfer multiplayer server admin rights using an admin command May 26, 2016
    Chit Chat Room Server Admin Discussion Mar 9, 2016
    Suggestions Allow server admins to set pit stops as mandatory Feb 28, 2016

  3. WallyM

    WallyM Alien

    1. Mr. Minolin, how do we set up different pitstop rules and event types e.g. sprint vs. endurance? Or set a required number of pitstop etc?

    2. Is ambientTemp used even when weather Randomness is not 0, as a starting point? So I could still choose to set up what will probably be a cold weekend or a very hot weekend by setting an appropriate ambientTemp?

    3. You've got a document reference glitch in the forcedCarModel description.
     
    Last edited: Jun 10, 2019
  4. vatanuki.kun

    vatanuki.kun Rookie

    Mr. Minolin, how to
    a) enable timestamp for server.log so each line will have date time at begining
    b) keep server.log files even after server restart
    c) select lobby server address (144.76.81.131 is ok, 5.9.149.194 always timeout)
    thanks
     
  5. Minolin

    Minolin Staff Member KS Dev Team

    thx, re-uploaded. Idk what is wrong with those references, didn't happen for the first time

    How do you know? Anyways, it's intended like that, in case of disconnects (which usually happens during backend updates), we cycle between primary and fallback backend.
     
  6. vatanuki.kun

    vatanuki.kun Rookie

    here server log with my comments in ***
    Code:
    C:\acc>accServer.exe
    Server starting with version 251
    weather 1881922398
    SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.901598
    SessionManager::randomizeGreenFlagTriggers: s:0.970972 e:0.000000 r:0.994448
    Listening to TCP 9900 | UDP 9900
    Session changed: Practice -> Practice 0
    Detected sessionPhase <waiting for drivers> -> <waiting for drivers> (Practice)
    New leaderboard with 0 lines:
    
    ***** trying ip 5.9.149.194 ******
    
    Trying to connect to lobby (0 times, interval 10000 s)
    TCP connect returns: -1
    ==ERR: RegisterToLobby TCP connection failed, couldn't connect to the lobby server
    
    ***** after 15 seconds on windows, or about 60 seconds linux wine ******
    ***** trying ip 144.76.81.131 ******
    
    Trying to connect to lobby (1 times, interval 10000 s)
    TCP connect returns: 0
    RegisterToLobby succeeded
    Sent lobby registration request for zolder
    TCPQueue now: 4
    New TCP incoming pakSizeMax, 0 => 2
    Lobby accepted connection
    Lobby accepted connection
    Updated lobby with 0 drivers
    
    here is tcpdump flow for those ips, you can see no answer from 5.9.149.194 and delay by timestamps:
    Code:
    12:09:56.214793 IP 192.168.0.99.62903 > 5.9.149.194.909: Flags [S], seq 759262286, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
    12:09:59.215411 IP 192.168.0.99.62903 > 5.9.149.194.909: Flags [S], seq 759262286, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
    12:10:05.215682 IP 192.168.0.99.62903 > 5.9.149.194.909: Flags [S], seq 759262286, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
    12:10:17.222917 IP 192.168.0.99.62922 > 144.76.81.131.909: Flags [S], seq 1329947273, win 64240, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
    12:10:17.274913 IP 144.76.81.131.909 > 192.168.0.99.62922: Flags [S.], seq 3070656771, ack 1329947274, win 8192, options [mss 1460,nop,wscale 8,nop,nop,sackOK], length 0
    12:10:17.275068 IP 192.168.0.99.62922 > 144.76.81.131.909: Flags [.], ack 1, win 1026, length 0
    12:10:17.275180 IP 192.168.0.99.62922 > 144.76.81.131.909: Flags [P.], seq 1:257, ack 1, win 1026, length 256
    12:10:17.347466 IP 144.76.81.131.909 > 192.168.0.99.62922: Flags [.], ack 257, win 256, length 0
    12:10:18.281015 IP 192.168.0.99.62922 > 144.76.81.131.909: Flags [P.], seq 257:380, ack 1, win 1026, length 123
    12:10:18.363195 IP 144.76.81.131.909 > 192.168.0.99.62922: Flags [.], ack 380, win 256, length 0
    12:10:18.364245 IP 144.76.81.131.909 > 192.168.0.99.62922: Flags [P.], seq 1:5, ack 380, win 256, length 4
    
    PS: 5.9.149.194 always goes first when restart server
     
  7. Echo_29

    Echo_29 Hardcore Simmer

    Why is there nothing about pit stops? you have driver swaps which I would of thought was a lot more complicated? Pit window is a massive feature in sprint races which is still not available online.

    Edit: Sorry if this sounds ungrateful, its awesome what we have but there are leagues ongoing and pit stops are quite important for sprint style races.
     
    Last edited: Jun 10, 2019
  8. Son

    Son Simracer

    When I went and added my Steam ID (the top one) it wouldn't let me join, however once I removed it I was allowed again. Not sure what I've done wrong here
    [​IMG]
     
  9. Minolin

    Minolin Staff Member KS Dev Team

    I'm investigating. Very important to fiddle with EntryList problems: Check if the log starts with
    upload_2019-6-10_12-5-58.png

    But concerining connections, I already have a case here, so let me see if I can reproduce it.
     
    Son likes this.
  10. jaccovdzaag

    jaccovdzaag Rookie

    My car is starting upside down, uncontrollable. Really weird.

     
  11. Son

    Son Simracer

    Will give it a go later after college, thanks :)
     
  12. WallyM

    WallyM Alien

    You didn't quite answer my question - my question was about when Randomness is not 0. In that case, does ambientTemp still control the starting point of the temperature? So you could still use ambientTemp make the weekend overall more likely to be hot or cold, but still random?
     
  13. Zanza21

    Zanza21 Gamer

    Are ya using windows version of tcpdump instead of wireshark or there is a linux version of acc server and i didnt know ?
     
  14. vatanuki.kun

    vatanuki.kun Rookie

  15. Nils42

    Nils42 Rookie

    How do Q results and R grids line up? I would assume a Q, Q, R, R, setup the second race would use the second Q results for the grid and the first the first; but what about having reverse grids after R1 with a Q, R, R, setup, or having race positions being used as the starting grid for the next R session?
     
  16. Minolin

    Minolin Staff Member KS Dev Team

    Ah sorry, missed the question.
    I just ran a few simulations and actually I'm surprised by the results, it does not act as I expected. For the moment I would say the ambientTemp does not have any effect, and you see a day/night/cloud dependent temperature both with dynamic weather on and off. Will need a few confirmations to fix this.

    How it is meant to be: the ambientTemp is the "daytime" baseline level

    Atm it is "not supported", though it's possible that it works without problems. So far I'm only focusing on P Q R, until this is fine
     
    WallyM, Nils42 and Rolz like this.
  17. FX2K

    FX2K Racer

    I hope track rotation is on the to-do list ;)
    Thanks for the guide.
     
    Max Doubt and MuddyPaws73 like this.
  18. Audun Sjøen

    Audun Sjøen Rookie

    Hi
    Trying to sort out the entry list file on one of our server for testing, but seems to be doing something wrong.

    Setting up a driver using the script from manual, with my steam ID with an S infront and set "isServerAdmin": 1, when I'm joining server, I am not elevated to admin, and can not join a server with a higher rating than I've got either.

    Need some advice on what I'm doing wrong, my entrylist.json is attached

    Edit: server log
    Server starting with version 251
    weather 1567891283
    setStatus: IGrip: 100.0% OGrip: 50.0%
    SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.901598
    SessionManager::randomizeGreenFlagTriggers: s:0.972300 e:0.990000 r:0.986615
    Listening to TCP 9072 | UDP 9071

    Thanks for the help
     

    Attached Files:

    Last edited: Jun 10, 2019
  19. FX2K

    FX2K Racer

    json file is malformed, brackets etc are out of place. Will follow up on discord ;)
     
    Audun Sjøen likes this.
  20. love the reading but would you mind doing an interface any time later this year? thanks
     
  21. Audun Sjøen

    Audun Sjøen Rookie

    Hi
    Got it working, log:
    Server starting with version 251
    Using entry list with 2 drivers
    weather -91113654
    setStatus: IGrip: 100.0% OGrip: 50.0%
    SessionManager::randomizeGreenFlagTriggers: s:0.890000 e:0.950000 r:0.901598
    SessionManager::randomizeGreenFlagTriggers: s:0.972300 e:0.990000 r:0.986615
    Listening to TCP 9072 | UDP 9071

    But now, I cannot join as posted earlier
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice