GameServerManagers / GameServerManagers/LinuxGSM
[Bug]: missing rcon variable and launch param of arkserver per instance lgsm configs
- Dominant language
- Shell
- Stars
- 4.9k
- Forks
- 864
- PR merge metrics
- No merged PRs in 30d
Description
### User story
I use per instance lgsm cfg parameter and launch parameter for RCON , after this commit: feat: Update UE4/UE5 parameters and configs (#4378) my servers in a single arkserver installation wont start up so I need to revert this commit change so servers can be launched again
### Game
ARK Survival Evolved
### Linux distro
Other
### Command
command: start
### Further information
Single installation and multiple instances of ARK server in a cluster with single linux user has after this commit https://github.com/GameServerManagers/LinuxGSM/commit/283e6257a0a3e1a343cb273538e8a93e410c15ee issue where there is no way to set individual RCON port per instance and all the instances starts with the same rcon port value taken from GUS.ini. This is problem since same RCON port vaule can be bind only once at a moment so other servers are not able to be loaded and are in a restart loop (monitor).
### Relevant log output
```shell
Removing of RCON port parameter per instances causes issues to run servers with single arkserver installation.
https://github.com/GameServerManagers/LinuxGSM/pull/4378
```
### Steps to reproduce
Use single linux user
Install single arkserver installation
Make two instances eg. arkserver and akrserver-2
Go to the lgsm/config-lgsm/arkserver and Set the rconport="27100" in arkserver.cfg and rconport="27200" in arkserver-2.cfg
Go to the lgsm/config-lgsm/arkserver and add the ?RCONPort=${rconport} (was default before the https://github.com/GameServerManagers/LinuxGSM/pull/4378 commit) both in the launch parameters of arkserver.cfg and arkserver-2.cfg
Start bot the instances ./arkserver start and ./arkserver-2 start
None of them should start with rconport from the instance.cfg because after the comit both instances will use the same port from ARK /serverfiles/ShooterGame/Saved/Config/LinuxServer/GameUserSettings.ini config RCONPort=27015
Only the first instace should start with GUS.ini port, other instances launched in the same installation will have bind conflit
Open the the TOP/HTOP linux command to check in per instance process what rcon ports are set in the launch parameters
Contributor guide
Assessment
This issue has not been assessed yet.