Browse Source

fix(tf2c): use -game tf2classified and systemdir tf2classified

The game's installed directory is tf2classified (not tf2c). Using
-game tf2c created a secondary directory with hardcoded absolute
paths in gameinfo.txt. Using tf2classified uses the proper install
with |appid_440| tokens in gameinfo.txt.
pull/4898/head
Daniel Gibbs 2 months ago
parent
commit
2d0a037799
Failed to extract signature
  1. 4
      lgsm/config-default/config-lgsm/tf2cserver/_default.cfg

4
lgsm/config-default/config-lgsm/tf2cserver/_default.cfg

@ -24,7 +24,7 @@ maxplayers="16"
gslt=""
## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters
startparameters="-game tf2c -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
startparameters="-game tf2classified -tf_path ${supportdir} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +sv_setsteamaccount ${gslt} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
#### LinuxGSM Settings ####
@ -166,7 +166,7 @@ glibc="2.15"
# Edit with care
## Game Server Directories
systemdir="${serverfiles}/tf2c"
systemdir="${serverfiles}/tf2classified"
supportdir="${serverfiles}/tf2"
executabledir="${serverfiles}"
executable="./srcds.sh"

Loading…
Cancel
Save