GameServerManagers / GameServerManagers/LinuxGSM
ARK Survival Evolved - ./arkserver modupdate
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
## User Story
As a server admin, I want to work around steamcmds shortcomings so that mods are installed properly.
## Basic info
* **Distro:** Debian 10
* **Game:** ARK Survival Evolved
* **Command:** modupdate (maybe?)
* **LinuxGSM version:** to be determined
## Further Information
As lgsm is mostly shell script, I would suggest doing some parsing of the Game.ini file like
`cat Game.ini | grep ModIDS | awk -F'=' '{print $2}'`
and run those through a loop like
```
for i in "${WORKSHOP[@]}"
do
Engine/Binaries/ThirdParty/SteamCMD/Linux/steamcmd.sh +login anonymous +workshop_download_item ${GAMEID} ${i} validate +quit
done
```
That way we could update mods in a more failsafe way - or even install missing ones present in the config.
besides that, steamcmd should have exit codes as seen on https://github.com/GameServerManagers/LinuxGSM/issues/719#issuecomment-330470766 so we could at least catch some problems there or even retry on problems like
```
ERROR! Download item 1380777369 failed (Request has been canceled).Redirecting stderr to '/home/ark/Steam/logs/stderr.txt'
```
Contributor guide
Assessment
This issue has not been assessed yet.