GameServerManagers / GameServerManagers/LinuxGSM
[BUG] Rust server map wiped during daily auto restart
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
I run a daily auto restart script and after updating to the most recent LGSM, the server wiped the map with a seed of 1337 during a normal restart.
## Basic info
* **Distro:** Centos 7
* **Game:** Rust
* **Command:** rustserver start
* **LinuxGSM version:** v21.2.2
## Further Information
After updating to the latest lgsm, the config is no longer injecting +server.seed into the server command line or the +server.salt.
./RustDedicated -batchmode +server.ip 104.129.133.251 +server.port 28015 +server.tickrate 30 +server.hostname "BattleZone | Solo Only | 2X Vanilla | Wiped 3/11" +server.identity "rustserver" +server.maxplayers 100 +server.worldsize 3500 +server.saveinterval 600 +rcon.web 1 +rcon.ip 104.129.133.251 +rcon.port 28016 +rcon.password "" -logfile "/home/solo/log/server/rustserver-game-2021-03-16-07:16:20.log"
To fix, I went into my lgsm rustserver.cfg and manually added +server.seed to the command line and removed the conditional variables
## To Reproduce
Steps to reproduce the behaviour:
1. Updated LGSM to latest version
2. Stopped rust server
3. Started rust server
4. +server.seed is now missing from the server command line
## Expected behaviour
+server.seed being added to the command line so the server doesn't wipe to seed 1337 when no seed variable is passed over.
Contributor guide
Assessment
This issue has not been assessed yet.