Xtreme Gaming Network

Assetto Corsa Server Setup Info

Author Topic: Assetto Corsa Server Setup Info  (Read 21237 times)

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Assetto Corsa Server Setup Info
« on: October 27, 2014, 01:52:19 PM »
Okay, I need this more than most  ;D

I am concerned about the 'kicking' from the server when the race finished on last Thursday,
I have now corrected:
RACE_OVER_TIME=150

Was the 'kicking from server' related to the too short a "RACE_OVER_TIME" or the "LOOP_MODE"?

REGISTER_TO_LOBBY=1
PICKUP_MODE_ENABLED=0
SLEEP_TIME=1
LOOP_MODE=1

I don't want to loose the logs again this week even if we all have the opportunity to finish.  (I will be extending the "RACE_OVER_TIME" this week as a lap is in excess of 120 seconds).

Any ideas?
"I refuse to be what you call normal." Lemmy Caution

Offline Wally

  • Administrator
  • Hero Member
  • *****
  • Posts: 11035
  • Karma: 152
  • AC Admin
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #1 on: October 27, 2014, 02:04:56 PM »
Okay, I need this more than most  ;D

I am concerned about the 'kicking' from the server when the race finished on last Thursday,
I have now corrected:
RACE_OVER_TIME=150

Was the 'kicking from server' related to the too short a "RACE_OVER_TIME" or the "LOOP_MODE"?

REGISTER_TO_LOBBY=1
PICKUP_MODE_ENABLED=0
SLEEP_TIME=1
LOOP_MODE=1

I don't want to loose the logs again this week even if we all have the opportunity to finish.  (I will be extending the "RACE_OVER_TIME" this week as a lap is in excess of 120 seconds).

Any ideas?

Are those settings what you had before, or what you've got now? LOOP_MODE in particular. I have LOOP MODE = 1, and when it loops, all the output continues to go into the same log file.

How are you capturing the log file? Are you redirecting output from acserver.exe to a txt file? You may well have lost race output if the race over time was too short.
“You can please some of the people all of the time, you can please all of the people some of the time, but you can’t please all of the people all of the time”

Offline Gratulin

  • Hero Member
  • *****
  • Posts: 2159
  • Karma: 44
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #2 on: October 27, 2014, 03:00:50 PM »
The parameter should be FINISH_WHEN_LAST_CAR_PASSES _CHEQUERED_FLAG=1. How hard can it be to program that!!??

Offline marty

  • Hero Member
  • *****
  • Posts: 3747
  • Karma: -63
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #3 on: October 27, 2014, 03:04:03 PM »
My server logs also continue on until I shutdown and restart the server, I also use loop mode on. I never tried loop mode of but the logs have never been wiped at the end of a session for me.

Offline Bird

  • Administrator
  • Hero Member
  • *****
  • Posts: 2321
  • Karma: -666
  • Ysu
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #4 on: October 27, 2014, 03:13:29 PM »
The parameter should be FINISH_WHEN_LAST_CAR_PASSES _CHEQUERED_FLAG=1. How hard can it be to program that!!??

That setting could mean that the server will never re-set...
I think leaving it for the admin to set to ~1lap-time is perfect.

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #5 on: October 27, 2014, 03:55:24 PM »
Okay, I think the info that I needed is:

1. I am redirecting the server data to a log file race<number>.txt
2. The short "RACE_TIME_OVER" is probably responsible for the loss of the race logs.
3.
Code: [Select]
REGISTER_TO_LOBBY=1
PICKUP_MODE_ENABLED=0
SLEEP_TIME=1
LOOP_MODE=1
are last week's settings and will remain.
4. All will be good on race night :)
"I refuse to be what you call normal." Lemmy Caution

Offline Gratulin

  • Hero Member
  • *****
  • Posts: 2159
  • Karma: 44
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #6 on: October 27, 2014, 04:22:59 PM »

The parameter should be FINISH_WHEN_LAST_CAR_PASSES _CHEQUERED_FLAG=1. How hard can it be to program that!!??

That setting could mean that the server will never re-set...
I think leaving it for the admin to set to ~1lap-time is perfect.
Good point Bird. But you do have a low opinion of some us :)) need to vote your karma down a bit for that ;)

Offline marty

  • Hero Member
  • *****
  • Posts: 3747
  • Karma: -63
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #7 on: October 27, 2014, 04:43:15 PM »
Are you recording logs on your practice server? is it also getting cleared after each race when it goes back to the first session, as mine will have the log showing everything from the time I start the server until I end it. It shows each time the race ends and moves back to qualy or any other session if its voted on. Just seems odd if your log is only showing the last session info in it.

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #8 on: November 10, 2014, 11:46:56 AM »
Are you recording logs on your practice server? is it also getting cleared after each race when it goes back to the first session, as mine will have the log showing everything from the time I start the server until I end it. It shows each time the race ends and moves back to qualy or any other session if its voted on. Just seems odd if your log is only showing the last session info in it.

What is the command line you are using to start your AC server?
Same as Wally?
"I refuse to be what you call normal." Lemmy Caution

Offline marty

  • Hero Member
  • *****
  • Posts: 3747
  • Karma: -63
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #9 on: November 10, 2014, 02:26:53 PM »
Are you recording logs on your practice server? is it also getting cleared after each race when it goes back to the first session, as mine will have the log showing everything from the time I start the server until I end it. It shows each time the race ends and moves back to qualy or any other session if its voted on. Just seems odd if your log is only showing the last session info in it.

What is the command line you are using to start your AC server?
Same as Wally?

I just have some basic batch files I use to load up multiple servers.

They all are like this example for server 1
cd/AC Server
acServer.exe> output1.log 2> error1.log -c=cfg1/server_cfg.ini -e=cfg1/entry_list.ini

Server 2 and more just change the number to whatever server number it is.
cd/AC Server
acServer.exe> output2.log 2> error2.log -c=cfg2/server_cfg.ini -e=cfg2/entry_list.ini

Then I just have a bunch of folder cfg1 to cfg5 for each server, I simply add the entry_list.ini and server_cfg.ini for each server into the corresponding cfg folder. This then runs each server and creates a log file for each also, these logs then trace back from the time I start the server til it gets shut down.

Each server just needs to have its own server ports and I use these to also match the server number so for example this is server 2's server_cfg.ini and ports.

[SERVER]
NAME=Marty's Aussie Public GT3 server #2 (Factory ABS)
CARS=bmw_z4_gt3;mclaren_mp412c_gt3;mercedes_sls_gt3
TRACK=nurburgring-sprint
SUN_ANGLE=20
MAX_CLIENTS=24
RACE_OVER_TIME=90
UDP_PORT=9602
TCP_PORT=9602
HTTP_PORT=8082

REGISTER_TO_LOBBY=1
PICKUP_MODE_ENABLED=1
SLEEP_TIME=1
VOTING_QUORUM=51
VOTE_DURATION=10
BLACKLIST_MODE=2
CLIENT_SEND_INTERVAL_HZ=10
TC_ALLOWED=0
ABS_ALLOWED=1
STABILITY_ALLOWED=0
AUTOCLUTCH_ALLOWED=0
LOOP_MODE=1
PASSWORD=
ALLOWED_TYRES_OUT=3
DAMAGE_MULTIPLIER=100
FUEL_RATE=100
TYRE_WEAR_RATE=100
TYRE_BLANKETS_ALLOWED=0
[QUALIFY]
NAME=Qualify
TIME=12
WAIT_TIME=30

[RACE]
NAME=Race
LAPS=9
WAIT_TIME=60

When setting up servers I will just use the ACserverLauncher.exe and to make it easier I will just go to the cfg folder on the server I want to change. Then copy both ini files and paste them to my home computer in SteamApps\common\assettocorsa\server\cfg before launching the serverlauncher this will then open the setup as is on the server and I dont need to worry about ports etc or server naming just change the setup. Then once done will copy these 2 ini files back to its cfg folder on the server. Then just run the server1.bat etc. and its good to go and quite easy to do for me.

Its also very easy to add skins to each car when using the server launcher and if you want to add guid's its still quite easy or you can use your own entry list and edit manually if you find it easier.

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #10 on: November 10, 2014, 02:34:17 PM »
Thanks Marty, this time I have taken the time to save this to a 'transportable' app....

I have been using the same command line with a race1 and race2 batch file, so this week the increased timing on the roll over should allow me to have the files

cheers,
Bruce
"I refuse to be what you call normal." Lemmy Caution

Offline marty

  • Hero Member
  • *****
  • Posts: 3747
  • Karma: -63
    • View Profile
Re: Assetto Corsa Server Setup Info
« Reply #11 on: November 10, 2014, 02:44:33 PM »
If your just using the one log file with the same name then you will need to save this before restarting the server as it will erase the log and start again with race 2. If your using the same command for both races then you may want to change the logfile name as I have so when you start race 2 server the log from race 1 should remain untouched. Then later you can transfer both logs to your computer and get Wally's parse app onto it. Still probably safest to copy over the logfile after race 1 before restarting the server again so you shouldnt lose any result data that way.

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #12 on: November 11, 2014, 12:11:39 PM »
thanks Marty, yep each batch file has an an Independent file name for each race.
I ran a race last night on the server
stopped the server after disconnecting
and the log files parsed okay via Wally's stat app. 
"I refuse to be what you call normal." Lemmy Caution

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #13 on: December 03, 2014, 04:18:49 PM »
my apologies to those who already know this:

if you want a quick readout of the status of the server, the drivers, placings etc or for getting GUID for banning...

http://<your_server_ip>:<HTTP_port>/ENTRY   

or what ever port you have configured

Have a look at our Thursday's Prac Server Status.
"I refuse to be what you call normal." Lemmy Caution

Offline Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3440
  • Karma: 76
  • "Look out, I'm comin' through!"
    • View Profile
    • Delray and Buttonmania
Re: Assetto Corsa Server Setup Info
« Reply #14 on: May 07, 2015, 07:40:04 PM »
"ADMIN_PASSWORD" in the server_cfg.ini file, an empty ADMIN_PASSOWORD will disable admin commands.

/help: prints the list of the available commands
/admin: become administrator for the server. ex, if the password is "kunos" the command is "/admin kunos"
/next_session: moves to next session
/restart_session: restart the session
/kick: kick a user using the rules (blacklist etc) of the server. To kick a player named "The Player": /kick The Player
"I refuse to be what you call normal." Lemmy Caution

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal