Closed Menteroth closed 4 years ago
Checked the other files and noticed that this value "dumpEntryList": 0
is not saved either.
I have set this value to 1
in settings.json.
From the console when starting. If needed.
time="2020-04-11T14:43:28+02:00" level=debug msg="Decoded JSON request" req="&{1581597303}"
time="2020-04-11T14:43:28+02:00" level=info msg="Starting server instance..." id=1581597303
time="2020-04-11T14:43:28+02:00" level=debug msg="Copying file" source="D:\\games\\Steam\\steamapps\\common\\Assetto Corsa Competizione\\server\\accServer.exe" target="config\\1581597303\\accServer.exe"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\configuration.json" target="config\\1581597303\\cfg\\configuration.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\settings.json" target="config\\1581597303\\cfg\\settings.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\event.json" target="config\\1581597303\\cfg\\event.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\eventRules.json" target="config\\1581597303\\cfg\\eventRules.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\entrylist.json" target="config\\1581597303\\cfg\\entrylist.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\bop.json" target="config\\1581597303\\cfg\\bop.json"
time="2020-04-11T14:43:29+02:00" level=debug msg="Copying file" source="config\\1581597303\\assistRules.json" target="config\\1581597303\\cfg\\assistRules.json"
time="2020-04-11T14:43:29+02:00" level=warning msg="config\\1581597303"
time="2020-04-11T14:43:29+02:00" level=info msg="Server started" PID=20932
Uhm okay. Never mind. After a few restarts it suddenly worked. No idea why.
Nope. I don't get how this works. I tried applying the settings on my other server but it won't apply now. So not sure what I need to do to get it to work.
Okay. So I played around a bit more with stuff. It seems you can only use the mandatory pit stop settings in private servers, and not public. Argh. Oh well. Not much to do about it.
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 incurrent
, which seems to be the final settings for when the server goes live.ID/eventRules.json
ID/cfg/eventRules.json
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