mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-25 06:05:57 +03:00
[GH-ISSUE #4819] [Bug]: Core Keeper - Seems to ignore options in config files. #2987
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#2987
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Kylindrias on GitHub (Sep 2, 2025).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/4819
User story
Core Keeper seems to ignore config file settings such as password, IP and port. Must be set as launch parameters instead.
Game
Core Keeper
Linux distro
Ubuntu 24.04
Command
command: start
Further information
So I spent hours last night struggling to play this game with my son - That's not a fault of LGSM, unfortunately this game while fun just happens to have some of THE WORST multiplayer features of any game I have ever player (I have played C&C using a null modem if that gives you any indication of how bad this games MP is...)
Anyway, the game simply seems to ignore any of the config file options and instead these options MUST be set as launch parameters. If you attempt to do something like change the port the game will just ignore this and launch the game using a random port of its choosing using the garbage PlayFab system or something like that which doesn't allow cross-play and requires you to join via random code (more on this in a sec).
The game ALSO generates a random password and it doesn't tell you what this password is... So you need to go hunting for it under the GameID.txt file hidden inside the games server folder.
To fix this instead of specifying a port in the config file set it with
-port 1234as a launch parameter and then check the UDP connections and you'll see the game is now running with that specified port as expected.As the patch allowing crossplay just came out recently LGSM doesn't do a great job of documenting what needs to be done to get this game working properly (Again, I'm not faulting LGSM here, the developers of Core Keeper did a poor job with the dedicated server).
So I'm not really sure what the best solution for this would be and I realise this is an edge case, but perhaps...
Many configs for this game need to be set as launch parameters instead.
Also when you run 'ckserver details' the details give you incorrect information. Eg, I thought the game was launching on port 1234 because LGSM SAID it was running on port 1234, but it's just giving you the information from the config file, which we have established is actually just ignored, so instead LGSM needs to provide the port specified in the launch parameters.
Providing the password as well in the game details would be useful as again, I had a password specified in the config file and kept trying it over and over until I realised the game had generated a random password in the GameID.TXT file which worked.
Giving the GameID in the Game Details is probably a good idea too. I'm not 100% sure if you can use the GameID and the IP/Port/Password at the same time, but for people that want to use that method instead they'll need to know the GameID they should be providing other players.
Example of my working command-line parameters:
xvfb-run ./CoreKeeperServer -batchmode -datapath -port 1234 /home/ckserver/serverfiles/gamedata/ckserver -logfile /home/ckserver/serverfiles/logs/ckserver-game.logDon't worry that code and password don't work anyway. Censored the ones below. =)
Here you can see what I had set in the server config which was ignored compared to what the server generated automatically (I think putting password and gameID as command line parameters is possible too.
Here is the contents of ARGUMENTS.TXT which describes the launch parameter options.
Relevant log output
Steps to reproduce