Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improved workshop download reliability #2

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

giovanni-grieco
Copy link

I've slightly modified the a3update.py to be more reliable. The problem is that steamcmd times out when downloading big mods.

So the main changes are that instead of launching steamcmd with the "+argument" I made it so that it launches using a .txt file. The txt file is generated by a3update.py it self and then when the workshop download has to be called, it launches steam with the specified script file. From what I've read online this system makes it more reliable.

2 more environment variables have been added:

  • CHECK_MODS enables/disables the mods download and validation. If it's set to 0 it wont check for the preset.html and won't validate already downloaded mods. When CHECK_MODS is set to 0 it will still launch the server with all the previously downloaded mods.
  • DOWNLOAD_ATTEMPTS specifies the amount steamcmd workshop download iterations. Basically, again, it's a workaround for the unreliable mess that steamcmd is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant