Workshop Fall Back?
ZEROibis
Join Date: 2009-10-30 Member: 69176Members, Constellation
Given how often the workshop manages to break servers with lots of custom content or maps (combat) it would be great if there was some sort of built in backup into the game to protect against this and allow the servers to automatically recover. Currently this is what occurs:
server changes maps and the workshop is down
no players can use the server
several hours later server operator sees problem and restarts server
sometimes still only some mods work so server operator restarts again
server works until the issue randomly occurs again later in the week or next week if your lucky.
Here is one example of how it should work:
server changes map and workshop is down
server assumes current mod versions are latest
clients join server as normal unless a mod is actually out of date in which case they logically can not connect.
if clients can not connect due to a mod sync issue the server detects this and changes the map to retry the workshop and continues this until the workshop can be reached and a situation where clients can join the server is reached.
server changes maps and the workshop is down
no players can use the server
several hours later server operator sees problem and restarts server
sometimes still only some mods work so server operator restarts again
server works until the issue randomly occurs again later in the week or next week if your lucky.
Here is one example of how it should work:
server changes map and workshop is down
server assumes current mod versions are latest
clients join server as normal unless a mod is actually out of date in which case they logically can not connect.
if clients can not connect due to a mod sync issue the server detects this and changes the map to retry the workshop and continues this until the workshop can be reached and a situation where clients can join the server is reached.
Comments
I'd also like if workshop is down and 'client doesn't have a mod on the server' OR 'the client has those repeated download errors from the workshop' .. that it can take it from the server (possibly in a sandbox.. ie. after they leave, it deletes the mod completely..)
I had custom maps on, then after I reset all my mods etc. I tried joining my own server... it took me about 3-4 attempts to connect to the server ... soley due to workshop failing to download mods! .. server turned into a vanilla server after that
No idea what was wrong with the standard.. server gets the mods, client downloads from the server.. simple, effective, server is up mods are available..
But when its down its down .
As stated above another idea would be to allow servers to just serve the data to clients and use the servers local copy when the workshop is down. (assuming client does not have mod or versions differ)
In that case you would get the benefits the workshop offers but the benefit to the players that they can always talk to the server and actually play the game independent of the current condition of the workshop.
The general idea should be .. client tries to get mods from workshop, if fails on first attempt it takes whatever the server has and stores in a sandbox (so server cant corrupt mods) .. after all the client is trying to get to this particular server and the server should be getting updates from the workshop on map changes ..
This'd still be the case if servers updated then passed the updates to the clients.. era if UWE want to sort the issue, I'm sure they'll devote the time to figure out the best way to keep things all in sync with highest reliability
But if you restart your server before copying that it auto deletes the error logs on server start so you will lose what was blowing up.
In addition losing all your players and then not allowing anyone to connect for 10-20min while you wait for the map to cycle is not a solution, that is the problem.