From cac8b81a57a0e9fecba3eb7876803d5ca48ec8b6 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sun, 6 Oct 2024 17:05:49 +0100 Subject: [PATCH 1/4] fix(cs2): add gslt variable --- lgsm/config-default/config-lgsm/cs2server/_default.cfg | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lgsm/config-default/config-lgsm/cs2server/_default.cfg b/lgsm/config-default/config-lgsm/cs2server/_default.cfg index a2df48244..dca9194f4 100644 --- a/lgsm/config-default/config-lgsm/cs2server/_default.cfg +++ b/lgsm/config-default/config-lgsm/cs2server/_default.cfg @@ -15,6 +15,11 @@ port="27015" maxplayers="16" wsapikey="" +## Game Server Login Token (GSLT): Required +# GSLT is required for running a public server. +# More info: https://docs.linuxgsm.com/steamcmd/gslt +gslt="" + ## Server Parameters | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters startparameters="-dedicated -ip ${ip} -port ${port} -maxplayers ${maxplayers} -authkey ${wsapikey} +exec ${selfname}.cfg" From 53a7c70560b7ddb915b69c30cdd68b801962d53f Mon Sep 17 00:00:00 2001 From: Alex Linde <38871119+Amlinde@users.noreply.github.com> Date: Sat, 26 Oct 2024 15:45:36 -0500 Subject: [PATCH 2/4] fix(fctrserver): parse updated version string correctly (#4688) --- lgsm/modules/info_game.sh | 2 +- lgsm/modules/update_fctr.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index a9d9834b0..62292ffa0 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -1310,7 +1310,7 @@ fn_info_game_fctr() { # get server version if installed. local factoriobin="${executabledir}${executable:1}" if [ -f "${factoriobin}" ]; then - serverversion="$(${factoriobin} --version | grep "Version:" | awk '{print $2}')" + serverversion="$(${factoriobin} --version | grep -m 1 "Version:" | awk '{print $2}')" fi } diff --git a/lgsm/modules/update_fctr.sh b/lgsm/modules/update_fctr.sh index b64812319..b49386654 100644 --- a/lgsm/modules/update_fctr.sh +++ b/lgsm/modules/update_fctr.sh @@ -20,7 +20,7 @@ fn_update_localbuild() { # Uses executable to get local build. if [ -d "${executabledir}" ]; then cd "${executabledir}" || exit - localbuild=$(${executable} --version | grep "Version:" | awk '{print $2}') + localbuild=$(${executable} --version | grep -m 1 "Version:" | awk '{print $2}') fi if [ -z "${localbuild}" ]; then fn_print_error "Checking local build: ${remotelocation}: missing local build info" From 3dabf33eaf5d111cac5934369080f6c511208a00 Mon Sep 17 00:00:00 2001 From: Alex Linde <38871119+Amlinde@users.noreply.github.com> Date: Sat, 26 Oct 2024 15:45:36 -0500 Subject: [PATCH 3/4] fix(fctrserver): parse updated version string correctly (#4688) --- lgsm/modules/info_game.sh | 2 +- lgsm/modules/update_fctr.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/modules/info_game.sh b/lgsm/modules/info_game.sh index a9d9834b0..62292ffa0 100644 --- a/lgsm/modules/info_game.sh +++ b/lgsm/modules/info_game.sh @@ -1310,7 +1310,7 @@ fn_info_game_fctr() { # get server version if installed. local factoriobin="${executabledir}${executable:1}" if [ -f "${factoriobin}" ]; then - serverversion="$(${factoriobin} --version | grep "Version:" | awk '{print $2}')" + serverversion="$(${factoriobin} --version | grep -m 1 "Version:" | awk '{print $2}')" fi } diff --git a/lgsm/modules/update_fctr.sh b/lgsm/modules/update_fctr.sh index b64812319..b49386654 100644 --- a/lgsm/modules/update_fctr.sh +++ b/lgsm/modules/update_fctr.sh @@ -20,7 +20,7 @@ fn_update_localbuild() { # Uses executable to get local build. if [ -d "${executabledir}" ]; then cd "${executabledir}" || exit - localbuild=$(${executable} --version | grep "Version:" | awk '{print $2}') + localbuild=$(${executable} --version | grep -m 1 "Version:" | awk '{print $2}') fi if [ -z "${localbuild}" ]; then fn_print_error "Checking local build: ${remotelocation}: missing local build info" From aa404f203320f78897cd188c649bbe84d55dea36 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Sat, 26 Oct 2024 21:46:35 +0100 Subject: [PATCH 4/4] Release v24.3.2 --- lgsm/modules/core_modules.sh | 2 +- linuxgsm.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lgsm/modules/core_modules.sh b/lgsm/modules/core_modules.sh index d040cf942..e4fa35b32 100644 --- a/lgsm/modules/core_modules.sh +++ b/lgsm/modules/core_modules.sh @@ -8,7 +8,7 @@ moduleselfname="$(basename "$(readlink -f "${BASH_SOURCE[0]}")")" -modulesversion="v24.3.1" +modulesversion="v24.3.2" # Core diff --git a/linuxgsm.sh b/linuxgsm.sh index b30ed57e8..9c35a6b84 100755 --- a/linuxgsm.sh +++ b/linuxgsm.sh @@ -24,7 +24,7 @@ if [ -f ".dev-debug" ]; then set -x fi -version="v24.3.1" +version="v24.3.2" shortname="core" gameservername="core" commandname="CORE"