Skip to content

Latest commit

 

History

History
88 lines (61 loc) · 2.92 KB

File metadata and controls

88 lines (61 loc) · 2.92 KB

Developer Commands

LinuxGSM provides commands to help developers gather information about the game server they are developing.

Command Name Command Short
Developer ./gameserver developer ./gameserver dev
Detect Details ./gameserver detect-details ./gameserver ddt
Detect Dependencies ./gameserver detect-deps ./gameserver dd
Detect Glibc ./gameserver detect-glibc ./gameserver dg
Detect ldd ./gameserver detect-ldd ./gameserver dl
Query Raw ./gameserver query-raw ./gameserver qr
Clear Functions ./gameserver clear-modules ./gameserver cm

Developer

The developer command enables development mode allowing access to all hidden developer commands.

This command also enables dev debug that outputs everything LinuxGSM is doing to dev-debug.logwhen a command is run.

./gameserver developer
./gameserver dev

Parse Game(-server) Details

Detects and displays all variables that the info_game.sh script parses from the gameserver configuration files. There will always be a lot of Missing or Unsupported Server Details. This is because different games have different server details.

./gameserver parse-game-details
./gameserver pgd

Parse Distro Details

Detects and displays all variables that the info_distro.sh script parses from the operating system.

./gameserver parse-distro-details
./gameserver pdd

Detect Dependencies

Detects dependencies the server requires by checking the contents of serverfiles. The output suggests the install command required.

./gameserver detect-deps
./gameserver dd

Detect Glibc

Automatically detects which version of GLIBC a game server requires

./gameserver detect-glibc
./gameserver dg

Detect ldd

Automatically detects required dependencies using the ldd command.

./gameserver detect-ldd
./gameserver dl

Query Raw

Queries the game server using,gamedig , query_gsquery.py, tcp and udp, giving a raw output. This can diagnose if the game server query is working and configured correctly.

./gameserver query-raw
./gameserver qr

Clear Modules

Use this command when pushing commits to a specific branch. It deletes all functions from lgsm/functions and removes default LinxuGSM configs. Allowing a commit to be applied to the testing environment without gameserver.sh being overwritten and resetting the GitHub branch settings.

./gameserver clear-modules
./gameserver cm