assetto-corsa-web / accweb Goto Github PK
View Code? Open in Web Editor NEWAssetto Corsa Competizione Server Management Tool via Web Interface.
License: MIT License
Assetto Corsa Competizione Server Management Tool via Web Interface.
License: MIT License
Game logs:
Couldn't open log file pat
Hi there.
In start.sh I can see ./accweb as the last line but accweb does not exist.
Any hints?
Would be great if support for tracks from the Intercontinental GT Pack DLC would be added to setup servers with.
Great work anyhow.
Thanks in advance.
Hi,
is it possible to add a variable for a BaseUri? So for example, instead of xxx.xxx.xxx.xxx/ the app is working under xxx.xxx.xxx.xxx/accweb/ ?
I have some problems with my nginx reverse proxy. It doesnt load the js, css ressources.
Or maybe some tipps for a proxy setup?
location /ACCWEB/ {
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
proxy_pass http://xxx.xxx.xxx.xxx:8080/;
}
Because the PID is removed from unauthenticated requests.
This is my first time trying your server tool so im not sure if I'm doing correctly or not. And sorry if this is overly detailed. Just want to make sure all relevent info is given.
I created the "secrets" folder in the accweb_1.4.0 folder and then generated public and private keys and put them in their own text documents. Then named them accordingly ("token.public" and "token.private"). After following the rest of the instructions I open a CMD window and go the the accweb1.4.0 folder and type the command "start.cmd". At the end of the command prompt it says
time="2019-10-08T20:02:30-04:00" level=fatal msg="Token public key file not found" err="open secrets/token.public: The system cannot find the file specified." file="secrets/token.public"
I've deleted them and recreated the folder and tokens multiple times but I still get the same error message.
Shouldn't be allowed.
D:\games\_utils\ACC Server Manager>accweb.exe
time="2020-02-07T18:02:05+01:00" level=info msg="Configure logging..."
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_ALLOWED_ORIGINS=*"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_CONFIG_PATH=config/"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_HOST=localhost:80"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_LOGLEVEL=info"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_SERVER_DIR=D:\\games\\Steam\\steamapps\\common\\Assetto Corsa Competizione\\server"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_SERVER_EXE=accServer.exe"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_TOKEN_PRIVATE_KEY=secrets/token.private"
time="2020-02-07T18:02:05+01:00" level=info msg="ACCWEB_TOKEN_PUBLIC_KEY=secrets/token.public"
time="2020-02-07T18:02:05+01:00" level=info msg="Loading build.js..."
time="2020-02-07T18:02:05+01:00" level=info msg="Loading server list..."
time="2020-02-07T18:02:05+01:00" level=info msg="Server list loaded successfully" servers=1
time="2020-02-07T18:02:05+01:00" level=info msg="Configuring CORS..."
time="2020-02-07T18:02:05+01:00" level=info msg="Starting server..."
time="2020-02-07T18:02:05+01:00" level=info msg="Using HTTP read/write timeouts" read_timeout=20 write_timeout=20
time="2020-02-07T18:02:08+01:00" level=info msg="Starting server instance..." id=1581094830
time="2020-02-07T18:02:08+01:00" level=warning msg="config\\1581094830"
time="2020-02-07T18:02:08+01:00" level=info msg="Server started" PID=5524
time="2020-02-07T18:02:09+01:00" level=error msg="Server stopped with an error" err="exit status 1"
time="2020-02-07T18:02:09+01:00" level=info msg="Server stopped" id=1581094830
Hello,
First, very well done job for the awesome and very reliable program you have created.
I'm using a lot Accweb server program to set lobbies in ACC, and since version 1.8.0 and now 1.9.1, assists rules sub menu is available to allow or ban any of the various criteria. The matter is, whatever the selections I manually choose in this menu when I'm situated in the Localhost, as soon as I save the settings, the program brings back to default settings the assists rules menu, so I cannot "control" it. This is disturbing cause it every time allows stability control to 100% and all the assists...
Also, in 1.8.0 version, amazingly, here by default in the assist rules menu, stability control is at zero, ideal line disable. Nevertheless, If for example I activate idela line in the game whole settings, I can you it on track... Furthermore, in the same way (like V. 1.9.1), i cannot manually change assist criteria.
I thank you anyone in advance for any assistance you may offer me.
Regards.
Hi.
New event settings for Pit stop.
{
"qualifyStandingType": 1,
"pitWindowLengthSec": -1,
"driverStintTimeSec": -1,
"mandatoryPitstopCount": 0,
"maxTotalDrivingTime": -1,
"maxDriversCount": 1,
"isRefuellingAllowedInRace": true,
"isRefuellingTimeFixed": false,
"isMandatoryPitstopRefuellingRequired": false,
"isMandatoryPitstopTyreChangeRequired": false,
"isMandatoryPitstopSwapDriverRequired": false
}
Hello
For some days server can't start.
Logs are empty :(
I tryed to delete instance, create new one.
thanks in advance for your time.
Xavi
Hi,
When I wan't to import Server settings, using assistRulse created like it's meant to be:
{ "stabilityControlLevelMax": 100, "disableAutosteer": 1, "disableAutoLights": 0, "disableAutoWiper": 0, "disableAutoEngineStart": 0, "disableAutoPitLimiter": 0, "disableAutoGear": 1, "disableAutoClutch": 0, "disableIdealLine": 1 }
Then I get an "Error importing configuration files, please check your input."
It's because the import only accepts files with "true" "false" and not "0" "1" like this one:
{"configVersion":1,"stabilityControlLevelMax":100,"disableAutosteer":true,"disableAutoLights":false,"disableAutoWiper":false,"disableAutoEngineStart":false,"disableAutoPitLimiter":false,"disableAutoGear":true,"disableAutoClutch":false,"disableIdealLine":true}
Is it possible to fix this and also accept import of standard fomated files?
When the server configuration is exported.
Want to run this on Linux (Ubunu) and was wondering if this will work ok under a user instead of root?
The correct property name is ballastKg instead of ballast
For Let's Encrypt.
I only get No server found, refresh and logout button present, debug log says nothing special. What can I try?
Checked server path, changed keys
I'm sorry to speak here, but is the project still being followed and can we expect an update soon?
We have even more parameters which have been added via the "assistRules.json" file.
The latest ServerAdminHandbook is in version 7c.
Thank you.
ServerAdminHandbook_v7c.pdf
Support Linux by using wine to start the server.
I have tried:
C:\__\games\ACC Server Fresh\global_entrylist.json
C:/__/games/ACC Server Fresh/global_entrylist.json
"C:\__\games\ACC Server Fresh\global_entrylist.json"
"C:/__/games/ACC Server Fresh/global_entrylist.json"
Nothing works. Server won't start.
My current servers don't have bop.json and can't start the program because of it.
time="2020-04-10T14:39:33+02:00" level=fatal msg="Error loading server settings" error="open config\\1581095496\\bop.json: Det går inte att hitta filen." name=1581095496
Hi. thanks for the great work. On Linux, issue with webserver. Displays a 500 internal error whatever the config.
Hello,
Sorry I dont have a lot of time to fix this myself these days ...
I noticed that since I upgrade to 1.9.0 the settings of the new "Assists rules" section are not loaded at next edit time causing frequent reset to default values when I change others settings.
Thanks in advance.
settings.json:
"spectatorSlots": 0,
"spectatorPassword": "",
Is it supposed to look like this in the latest version? I downloaded accweb_1.8.0.zip
Because export and stuff doesn't work. Using Windows.
# Adjust this file to match your needs.
# sets host and port
# 80 is the default port for web servers and meight be blocked on your machine
# in that case, change it to anything else, e.g. 8080
export ACCWEB_HOST=0.0.0.0:80
# IMPORTANT must be set, use strong different passwords for each
export ACCWEB_ADMIN_PASSWORD=
export ACCWEB_MOD_PASSWORD=
export ACCWEB_RO_PASSWORD=
# these files must exist
export ACCWEB_TOKEN_PUBLIC_KEY=secrets/token.public
export ACCWEB_TOKEN_PRIVATE_KEY=secrets/token.private
# create this directory in your installation directory
export ACCWEB_CONFIG_PATH=config/
# export the installation path of the ACC server
export ACCWEB_SERVER_DIR="/home/username/.steam/steam/steamapps/common/Assetto Corsa Competizione/server"
export ACCWEB_LOGLEVEL=info
export ACCWEB_ALLOWED_ORIGINS=*
export ACCWEB_SERVER_EXE=accServer.exe
./accweb
This is what I have in earlier versions. Like 1.6.0
Rem Adjust this file to match your needs.
Rem sets host and port
Rem 80 is the default port for web servers and meight be blocked on your machine
Rem in that case, change it to anything else, e.g. 8080
set ACCWEB_HOST=localhost:80
Rem IMPORTANT must be set, use strong different passwords for each
set ACCWEB_ADMIN_PASSWORD=
set ACCWEB_MOD_PASSWORD=
set ACCWEB_RO_PASSWORD=
Rem these files must exist
set ACCWEB_TOKEN_PUBLIC_KEY=secrets/token.public
set ACCWEB_TOKEN_PRIVATE_KEY=secrets/token.private
Rem create this directory in your installation directory
set ACCWEB_CONFIG_PATH=config/
Rem set the installation path of the ACC server
set ACCWEB_SERVER_DIR=D:\games\Steam\steamapps\common\Assetto Corsa Competizione\server
set ACCWEB_LOGLEVEL=info
set ACCWEB_ALLOWED_ORIGINS=*
set ACCWEB_SERVER_EXE=accServer.exe
accweb.exe
What is this supposed to show anyway? I have never seen any text in there since I started using this interface long ago.
I'm looking for an easy way to see driver connects with info, like Steam64 ID and such, instead of searching through the text log file in the folder.
Hi there,
I have a really weird issue while I am trying to run start.cmd Basically at the end of the line it is not able to detect the accweb app and therefore it is not able to run the server.
I was trying to hcange the location of the parent folder but it doesn't solve the issue. There is a SC:
I don't know if it matters but it seems like main is set for "/" while on Windows there is "\".
Hi,
short version :)
Terminal Output:
time="2019-06-05T19:25:26+02:00" level=info msg="Stopping server instance..." id=1559755519
time="2019-06-05T19:25:26+02:00" level=error msg="Error stopping instance sending an interrupt, trying to kill it next" error="not supported by windows"
time="2019-06-05T19:25:26+02:00" level=error msg="Server stopped with an error" err="exit status 1"
time="2019-06-05T19:25:26+02:00" level=info msg="Server stopped" id=1559693904
time="2019-06-05T19:25:26+02:00" level=error msg="Error closing server log file" error="invalid argument"
time="2019-06-05T19:25:28+02:00" level=info msg="Stopping server instance..." id=1559755519
time="2019-06-05T19:25:28+02:00" level=error msg="Error stopping instance sending an interrupt, trying to kill it next" error="invalid argument"
time="2019-06-05T19:25:29+02:00" level=error msg="Error stopping instance sending kill signal" error="invalid argument"
I had the same issue yesterday on editing a started server. I dont know if this is intented to edit a running server without stopping it before saving the config?
Stopping a server manually, edit it and starting it works correctly.
Best regards
Automatic server start for given date and time.
(c) 2018 Microsoft Corporation. All rights reserved.
C:\Users\Administrator>cd C:\Users\Administrator\Desktop\accweb_1.6.1
C:\Users\Administrator\Desktop\accweb_1.6.1>start.cmd
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem Adjust this file to match your needs.
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem sets host and port
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem 80 is the default port for web servers and meight be blocked on your machine
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem in that case, change it to anything else, e.g. 8080
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_HOST=0.0.0.0:90
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem IMPORTANT must be set, use strong different passwords for each
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_ADMIN_PASSWORD=admin
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_MOD_PASSWORD=mod
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_RO_PASSWORD=ro
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem these files must exist
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_TOKEN_PUBLIC_KEY=secrets/token.public
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_TOKEN_PRIVATE_KEY=secrets/token.private
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem create this directory in your installation directory
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_CONFIG_PATH=config/
C:\Users\Administrator\Desktop\accweb_1.6.1>Rem set the installation path of the ACC server
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_SERVER_DIR=C:\Program Files (x86)\Steam\steamapps\common\Assetto Corsa Dedicated Server
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_LOGLEVEL=info
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_ALLOWED_ORIGINS=*
C:\Users\Administrator\Desktop\accweb_1.6.1>set ACCWEB_SERVER_EXE=accServer.exe
C:\Users\Administrator\Desktop\accweb_1.6.1>accweb.exe
time="2020-02-06T11:29:25+11:00" level=fatal msg="Token public key file not found" err="open secrets/token.public: The system cannot find the file specified." file=secrets/token.public
C:\Users\Administrator\Desktop\accweb_1.6.1>start.cmd
Hi,
New track added in ACC 1.1
zandvoort
monza_2019
zolder_2019
brands_hatch_2019
silverstone_2019
paul_ricard_2019
misano_2019
spa_2019
nurburgring_2019
barcelona_2019
hungaroring_2019
zandvoort_2019
"Can override the default entryList path “cfg/entrylist.json”, so multiple ACC servers on the machine can use the same entrylist (and custom car files). Set a full path like “C:/customEntryListSeriesA/”, where the entrylist is stored. Attention: The path seperators have to be slashes ( / ), backslashes ( \ ) will not work."
According to Server handbook 7c, the defaultGridPosition should not be within the Driver tag.
{
"drivers": [
{
"firstName": "First",
"lastName": "Driver",
"shortName": "NO1",
"driverCategory": 2,
"playerID": "S765611xxxxxxxxxx3"
},
{
"firstName": "Another",
"lastName": "Person",
"shortName": "NO2",
"driverCategory": 1,
"playerID": "S765611xxxxxxxxxx4"
}
],
"raceNumber": 114,
"forcedCarModel": -1,
"overrideDriverInfo": 0,
"defaultGridPosition": -1,
"ballastKg": 0,
"restrictor": 0,
"customCar": "exampleCar.json",
"overrideCarModelForCustomCar": 1,
"isServerAdmin": 0
}
So I have setup this for my server for the event rules.
These settings are saved in the root of the ID folder of the server and also in the cfg
folder, but not in current
, which seems to be the final settings for when the server goes live.
ID/eventRules.json
ID/cfg/eventRules.json
{
"configVersion": 1,
"qualifyStandingType": 1,
"pitWindowLengthSec": 600,
"driverStintTimeSec": -1,
"mandatoryPitstopCount": 1,
"maxTotalDrivingTime": -1,
"maxDriversCount": 1,
"isRefuellingAllowedInRace": true,
"isRefuellingTimeFixed": false,
"isMandatoryPitstopRefuellingRequired": false,
"isMandatoryPitstopTyreChangeRequired": true,
"isMandatoryPitstopSwapDriverRequired": false
}
But in the current
folder eventRules.txt after starting my server these are the settings.
So when the server goes live it uses these settings I'm guessing, because the mandatory pitstop I setup did not work. There was no pit window and requirement field was blank.
ID/cfg/current/eventRules.txt
{
"qualifyStandingType": 1,
"superpoleMaxCar": -1,
"pitWindowLengthSec": -1,
"driverStintTimeSec": -1,
"isRefuellingAllowedInRace": true,
"isRefuellingTimeFixed": false,
"maxDriversCount": 1,
"mandatoryPitstopCount": -1,
"maxTotalDrivingTime": -1,
"isMandatoryPitstopRefuellingRequired": false,
"isMandatoryPitstopTyreChangeRequired": false,
"isMandatoryPitstopSwapDriverRequired": false,
"tyreSetCount": 50
}
I forgot to add all configuration options (like tracks)...
Hi,
I'm not really a GO / Vue expert thus i don't know if this is complex to implement or not but it would be nice to have encrypted password in the config.yml.
For obvious security reason its always nice to have encrypted pass even if i guess that most people run this app behind a proxy or with a restricted access.
Regards,
Gilles Dubois.
All the below settings can not be changed. When I change it and save the config on return it is still default.
Stability Control Level Max: 0 to 100 max
100
Disable Auto-Steer
Disable Auto-Lights
Disable Auto-Wiper
Disable Auto-Engine Start
Disable Auto Pit Limiter
Disable Auto-Gear
Disable Auto-Clutch
Disable Ideal Line
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.