In relation to issue #345 that I just opened, I have also modified the fn_validate file to check for "allocsfixes=true" in the sdtdserver script file. If it's true, when validating server files it will now connect to Alloc's server, download the additional server fixes mod files, extract them to the right place, clean up the download afterward and exit.
I added log entries and error checking as well.
There are tons of people that use Alloc's fixes on the 7 Days to Die forums, so I thought this would be a good addition to the script. It could probably be modified further to work for mods on other servers too, but mods are most likely custom to the server being run, so it might not work well to modify the additional code.
I should also add that I have yet to have the update function actually update the 7 Days to Die server. I have always had to use validate to update the server. I have not spent any time troubleshooting the update script to figure out what the problem is, but the update check function will pull up the correct file versions and display them on screen, but does not actually perform the update.
In relation to issue #345 that I just opened, I have also modified the fn_validate file to check for "allocsfixes=true" in the sdtdserver script file. If it's true, when validating server files it will now connect to Alloc's server, download the additional server fixes mod files, extract them to the right place, clean up the download afterward and exit.
I added log entries and error checking as well.
There are tons of people that use Alloc's fixes on the 7 Days to Die forums, so I thought this would be a good addition to the script. It could probably be modified further to work for mods on other servers too, but mods are most likely custom to the server being run, so it might not work well to modify the additional code.
I should also add that I have yet to have the update function actually update the 7 Days to Die server. I have always had to use validate to update the server. I have not spent any time troubleshooting the update script to figure out what the problem is, but the update check function will pull up the correct file versions and display them on screen, but does not actually perform the update.