Browse Source

#1006 CS Source Requires now GSLT

pull/1013/head
Daniel Gibbs 9 years ago
parent
commit
d02b6a83f0
  1. 7
      CounterStrikeSource/cssserver
  2. 2
      lgsm/functions/install_gslt.sh

7
CounterStrikeSource/cssserver

@ -38,9 +38,14 @@ clientport="27005"
ip="0.0.0.0" ip="0.0.0.0"
updateonstart="off" updateonstart="off"
# Required: Game Server Login Token
# GSLT is required for running a public server.
# More info: https://gameservermanagers.com/gslt
gslt=""
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server # https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
fn_parms(){ fn_parms(){
parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}" parms="-game cstrike -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} +sv_setsteamaccount ${gslt} +map ${defaultmap} +servercfgfile ${servercfg} -maxplayers ${maxplayers}"
} }
#### Advanced Variables #### #### Advanced Variables ####

2
lgsm/functions/install_gslt.sh

@ -12,7 +12,7 @@ echo ""
echo "Game Server Login Token" echo "Game Server Login Token"
echo "=================================" echo "================================="
sleep 1 sleep 1
if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then if [ "${gamename}" == "Counter Strike: Global Offensive" ]||[ "${gamename}" == "Counter Strike: Source" ]; then
echo "GSLT is required to run a public ${gamename} server" echo "GSLT is required to run a public ${gamename} server"
fn_script_log_info "GSLT is required to run a public ${gamename} server" fn_script_log_info "GSLT is required to run a public ${gamename} server"
else else

Loading…
Cancel
Save