AC Server Manager

Misc AC Server Manager v1.7.9

Login or Register an account to download this content
Thanks!

As @ShinyAndy said you should get a preview and an upload button after dragging and dropping/using the upload interface. Try his suggestion - it could well be that.

In the event that doesn't work what browser are you using?
Great new I switched browsers. I was using IE 11 but went to Firefox latest edition and it all worked perfectly.
Great work guys, have a beer on me.
 
Hey, I'm currently running my server with pTracker and even KMR, they are both launched by AC Server Manager (although I have a small issue I will describe later).

@Hecrer I think the stracker instructions in the config.yml might not be 100% correct, that's probably why @Sandokhanul is having problems

The instructions say to set rcvPort = 12002 and sendPort = 11002, but this is not always the case.
You have to set sendPort in your stracker.ini to the same value you set in UDP Plugin Local Port in the AC Server Manager settings page.
Then you have to set rcvPort to the port you use for the UDP Plugin Address specified in the AC Server Manager settings page. Don't really mind the values in the config.yml, they don't strictly have to be those ones.

This implies you must not use the ports that the AC Server Manager writes directly in the server_cfg.ini for your plugins configuration. Use the ones from the Settings tab of AC Server Manager instead


That is how I got i t working at least...the issue I have is that I get a

" level=error msg="Can't kill process: [pid], err: exit status 128" "


message when I try to shutdown the server, basically it seems like AC Server manager is unable to shut down KMR and sTracker plugins when I stop the server. I'm unsure why, it just seems unable to kill them.
It does kill them tho when I click on "Restart" (although they sometimes fail to restart)....weird issue

OMG, that did it!!!! It actually works!

Now just one issue left, this error is always at start of server-manager:
level=error msg="Could not load server account options" error="servermanager: value not set"
 
Great new I switched browsers. I was using IE 11 but went to Firefox latest edition and it all worked perfectly.
Great work guys, have a beer on me.

Thanks so much, we will do! (We'll send you a version of the manager without the ad bit too).

I might have a look at IE at some point, but it's generally just a pain to work with so we'll see.
 
OMG, that did it!!!! It actually works!

Now just one issue left, this error is always at start of server-manager:
level=error msg="Could not load server account options" error="servermanager: value not set"

Great! Glad you got it going.

Don't worry about that one, it's a bit of debug code that slipped through, everything should work fine (the next update will get rid of it, probably be out in the next couple of days - our bad!)
 
oh btw I didn't actually post the complete error message that shows up when the server manager tries to kill the plugin processes. Here is what happens. Seems like it tries multiple times before giving up?

time="2019-04-14T10:46:19+02:00" level=error msg="Initial attempt at killing windows process (process.Kill) failed" error="TerminateProcess: Access is denied."
time="2019-04-14T10:46:19+02:00" level=error msg="Initial attempt at killing windows process (process.Kill) failed" error="TerminateProcess: Access is denied."
time="2019-04-14T10:46:19+02:00" level=error msg="Can't kill process: 3264, err: exit status 128"
time="2019-04-14T10:46:19+02:00" level=error msg="Can't kill process: 3264, err: exit status 128"
time="2019-04-14T10:46:19+02:00" level=error msg="Initial attempt at killing windows process (process.Kill) failed" error="TerminateProcess: Access is denied."
time="2019-04-14T10:46:19+02:00" level=error msg="Initial attempt at killing windows process (process.Kill) failed" error="TerminateProcess: Access is denied."
time="2019-04-14T10:46:19+02:00" level=error msg="Can't kill process: 2488, err: exit status 128"
time="2019-04-14T10:46:19+02:00" level=error msg="Can't kill process: 2488, err: exit status 128"
 
Don't understand, people without sol can't connect to my servers, even if I disable it...

Edit : Problem solved, was OSRW tracks
 
Last edited:
Hello
Is it possible that we player automatically downloads the mod.
And the mod sol to be able to put schedules.
Thank you for this great job
 
hello could send me the file config.yml mine is incomplete and the lines do not appear to add user and pass.


# Assetto Server Manager Configuration
# https://github.com/cj123/assetto-server-manager
#
# Thanks for using server manager!
#
#
# note that changes to this file require a restart of server manager to work! :)
#
#
# The below file is in YAML configuration format. Spacing is important within
# YAML, and can cause server manager not to launch correctly. You can validate
# this file online at: http://www.yamllint.com/
#
################################################################################

################################################################################
#
# steam settings - server manager can install the assetto corsa
# server for you using steamcmd (if you'd like)
#
################################################################################
steam:
# steam username and password. we recommend creating a separate account with
# steamguard disabled to use this application. Assetto Corsa Server is FREE
# so you don't need to worry about purchasing it again.
#
# server manager uses this information ONLY to install the
# assetto corsa server.
#
# however, if you do not wish to provide server manager with this information,
# leave it blank and install assetto corsa server to the path you specified in
# install_path (default: 'assetto')
username:
password:

# where to install assetto corsa server
install_path:

# the path to the executable to run. relative to the install_path by default
executable_path:

# set this to true to force an install every time the server manager is loaded
force_update: false

################################################################################
#
# http settings
#
################################################################################
http:
# hostname is the hostname the HTTP server should listen on.
# change '0.0.0.0' to 'localhost' if you don't want server manager to be
# available on the web.
hostname: 1xx.168.1.1xx:8774
# session key is used to encrypt the http session
session_key: RANDOMLY_GENERATE_THIS

################################################################################
#
# data storage - where server manager keeps your data!
#
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

# where to save the server manager data
path: server_manager.db

################################################################################
#
# user management - this is now mostly done via the web interface.
#
################################################################################
accounts:
# admin password override is used to override the admin password in the case
# that you have forgotten it. set it to e.g. 'password' and log in with:
# username: admin
# password: password
# and you will be prompted to change your admin password back to something you
# can remember
admin_password_override:

################################################################################
#
# live map config
#
################################################################################
live_map:
# how often to refresh the map data in milliseconds
# set this to 0 to disable live map.
refresh_interval_ms: 67


################################################################################
#
# server config - configure plugins, e.g. stracker here.
#
################################################################################
server:
# list of commands to run on server start and kill on server stop. this should
# contain the full command with arguments to run the given program.
#
# I envisage a lot of people wishing to use stracker with this, so i've tried
# to provide a couple of ideas of what this might look like below.
#
# !!! please also note that your stracker.ini must have the following lines set
# in the ACPLUGIN settings: !!!
# rcvPort = 12002
# sendPort = 11002
#
# where:
# - rcvPort equals the port from the UDP Plugin Address in Server Options
# - sendPort equals the value of the UDP Plugin Local Port in Server Options
#
# otherwise, stracker will not be able to connect to the server manager
#
# you can of course add your own commands (whatever you like!) here.
#
# this assumes that you have installed stracker into a folder called "stracker"
# next to the server-manager executable.
run_on_start:
# uncomment the line below for stracker on Linux
# - ./stracker/stracker_linux_x86/stracker --stracker_ini ./stracker/stracker.ini

# uncomment the line below for stracker on Windows
# - ./stracker/stracker.exe --stracker_ini ./stracker/stracker.ini

I hope you can help me thank you very much
 
hello could send me the file config.yml mine is incomplete and the lines do not appear to add user and pass.


# Assetto Server Manager Configuration
# https://github.com/cj123/assetto-server-manager
#
# Thanks for using server manager!
#
#
# note that changes to this file require a restart of server manager to work! :)
#
#
# The below file is in YAML configuration format. Spacing is important within
# YAML, and can cause server manager not to launch correctly. You can validate
# this file online at: http://www.yamllint.com/
#
################################################################################

################################################################################
#
# steam settings - server manager can install the assetto corsa
# server for you using steamcmd (if you'd like)
#
################################################################################
steam:
# steam username and password. we recommend creating a separate account with
# steamguard disabled to use this application. Assetto Corsa Server is FREE
# so you don't need to worry about purchasing it again.
#
# server manager uses this information ONLY to install the
# assetto corsa server.
#
# however, if you do not wish to provide server manager with this information,
# leave it blank and install assetto corsa server to the path you specified in
# install_path (default: 'assetto')
username:
password:

# where to install assetto corsa server
install_path:

# the path to the executable to run. relative to the install_path by default
executable_path:

# set this to true to force an install every time the server manager is loaded
force_update: false

################################################################################
#
# http settings
#
################################################################################
http:
# hostname is the hostname the HTTP server should listen on.
# change '0.0.0.0' to 'localhost' if you don't want server manager to be
# available on the web.
hostname: 1xx.168.1.1xx:8774
# session key is used to encrypt the http session
session_key: RANDOMLY_GENERATE_THIS

################################################################################
#
# data storage - where server manager keeps your data!
#
################################################################################
store:
# store type: this can be one of:
# - 'json' - saves each custom race, championship as separate JSON files
# in the directory specified by store_path
# - 'boltdb' - saves all content inside a single database file specified by
# store_path
#
# boltdb is recommended for most users.
type: boltdb

# where to save the server manager data
path: server_manager.db

################################################################################
#
# user management - this is now mostly done via the web interface.
#
################################################################################
accounts:
# admin password override is used to override the admin password in the case
# that you have forgotten it. set it to e.g. 'password' and log in with:
# username: admin
# password: password
# and you will be prompted to change your admin password back to something you
# can remember
admin_password_override:

################################################################################
#
# live map config
#
################################################################################
live_map:
# how often to refresh the map data in milliseconds
# set this to 0 to disable live map.
refresh_interval_ms: 67


################################################################################
#
# server config - configure plugins, e.g. stracker here.
#
################################################################################
server:
# list of commands to run on server start and kill on server stop. this should
# contain the full command with arguments to run the given program.
#
# I envisage a lot of people wishing to use stracker with this, so i've tried
# to provide a couple of ideas of what this might look like below.
#
# !!! please also note that your stracker.ini must have the following lines set
# in the ACPLUGIN settings: !!!
# rcvPort = 12002
# sendPort = 11002
#
# where:
# - rcvPort equals the port from the UDP Plugin Address in Server Options
# - sendPort equals the value of the UDP Plugin Local Port in Server Options
#
# otherwise, stracker will not be able to connect to the server manager
#
# you can of course add your own commands (whatever you like!) here.
#
# this assumes that you have installed stracker into a folder called "stracker"
# next to the server-manager executable.
run_on_start:
# uncomment the line below for stracker on Linux
# - ./stracker/stracker_linux_x86/stracker --stracker_ini ./stracker/stracker.ini

# uncomment the line below for stracker on Windows
# - ./stracker/stracker.exe --stracker_ini ./stracker/stracker.ini

I hope you can help me thank you very much

Hi,

We changed how the user account system works, you no longer need to add user/passwords in the config.yml, you can do it in the web UI! Just go to the accounts page (server -> accounts).

Thanks
 
Hello
Is it possible that we player automatically downloads the mod.
And the mod sol to be able to put schedules.
Thank you for this great job

As Star_Wraith said you can't auto download mods, there may be external plugins that allow you to though.

What do you mean by schedules? If you mean dynamic weather then that isn't currently possible, but the Sol team are working on it.

Thanks
 
Hecrer updated AC Server Manager with a new update entry:

live timings fixes, stability fixes, missing options, timezone fixes. Lots of fixes, really

Added:

  • Added a MOTD editor
  • Added the missing MAX_CONTACTS_PER_KM server_cfg.ini option. We've found this a bit temperamental so use it with caution!
  • Ballast and Restrictor are now visible in Results pages
  • When adding Entrants to a Custom Race or Championship, the values from the last Entrant in the list are copied to
    each new Entrant that is added. This should make editing the EntryList a bit easier!
  • Championship welcome message now shows a link to the championship...

Read the rest of this update entry...
 
Great news !!!!

Question about AC's characteristic.

What is this?

"Added the missing MAX_CONTACTS_PER_KM server_cfg.ini option. We've found this a bit temperamental so use it with caution!"

Perhaps a brief explanation would be very useful for me. (MAX_CONTACTS_PER_KM)
 
Great news !!!!

Question about AC's characteristic.

What is this?

"Added the missing MAX_CONTACTS_PER_KM server_cfg.ini option. We've found this a bit temperamental so use it with caution!"

Perhaps a brief explanation would be very useful for me. (MAX_CONTACTS_PER_KM)

That option is meant to automatically kick a client if they exceed a certain number of collisions in 1km. Our testing suggests that this only counts collisions with other drivers. For example if set to 4 then if a client collides with four other drivers (or one four times etc.) within a 1km distance they would get kicked.

Unfortunately it's not very consistent, sometimes it would take more than the set value, sometimes it would take less. Sometimes it seems like it just doesn't work at all.
 
Hello,

There is a problem with Pickup Mode.

When I set "Locked Entry List ON", the custom race json file have "PickupModeEnabled": 0,

but

When I start the server, in the CFG, there is : PICKUP_MODE_ENABLED=1

Edit : OK the pickup mode is not important, but even with
LOCKED_ENTRY_LIST=0 or 1, the locked entry list does not work
 
Last edited:
Ok I have made a test, the official assetto Corsa faq is wrong.

For locked entry list without booking session, pickup mode must be 0 and locked entry list 1 (0 does not change anything)​
 
Hi,

We changed how the user account system works, you no longer need to add user/passwords in the config.yml, you can do it in the web UI! Just go to the accounts page (server -> accounts).

Thanks

thank you very much Hecrer, I was going crazy very good app, thank you for your work and make this possible
 
Hi great work and thanks!!!!

Using the looped races, when the ac server is restarted stracker will shutdown and not restart.

stracker[INFO ]: Server seems to be restarted. Reloading server config file.
stracker[ERROR]: server has been restarted and UDP_PLUGIN_ADDRESS or UDP_PLUGIN_LOCAL_PORT have been changed
stracker[ERROR]: stracker needs to be restarted also.
 
Last edited:
Uhm...seems like I'm unable to assign penalties once I import results into a championship event...if I add the penalties into the single event it works but it won't affect the results in the championship progression, because the penalty won't be counted in the championship's event page. It works tho if I add the penalties before importing the results in the event.

Also, would be possible to have "points" penalties, other than "time" penalties for championship related events? I know it might seem strange but it might be necessary in case the championship uses alternative methods for cut detection (I'm talking about the extra point assigned to the fastest lap and so on).

EDIT: Of course I'm using version 1.2.2

Also if you need any help in testing some stuff just let me know, I also have a GitHub account and can add issues directly into the issue tracker if you are ok with it
 
Back
Top