accweb
accweb copied to clipboard
Driver swap crashes using accweb
I've confirmed that accweb has a bug that causes driver swaps to crash the game client, when I create a server using another tool it doesn't crash. I haven't had time to to test whether it's just the entrylist itself since it requires two people to test. However, I've attached the entrylist file(entrylist.json) created by accweb and another tool that works(entrylist.txt).
I tried copying the entrylist.txt file into the server instance directory (deleted entrylist.json) and manually ran accserver.exe myself, however the driver swap still crashes the game. It seems that the problem isn't the entrylist itself but somewhere else.
@stonith i'm having the same problem, have you ever found a solution?
Very odd - we've had 2 x 48 car x (3/4 drivers) x >10hr races in the last month and we've had no issues at all
@StingerTopGun no, I never got around to isolating the issue
@mrpbdy windows or Linux?
@stonith Windows.
@stonith I know this is an old thread, but I had this same issue with driver swap, and through some testing I found that ACCweb sets a default value of tyreSetCount to 0 in eventRules.json which crashes it. The ACC server wiki shows that it should be a value from 1 to 50. I changed mine to 50 and no more crashing on driver swap.
https://www.acc-wiki.info/wiki/Server_Configuration#eventRules.json
I believe the line to be changed to default to 50 is:
https://github.com/assetto-corsa-web/accweb/blob/fd887405dfb9e6509d059fdfa07066b02bb452f8/public/src/components/server_config/eventrules.vue#L40
Nice catch!
@StingerTopGun in case you were still looking for a fix I'll mention you too
merged!