From 66a260586e17f4b9d24d91226b03c452c7e92ca2 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Fri, 21 Jun 2019 09:09:22 +0100 Subject: [PATCH 1/2] feat(barotrauma): Migrate to use dedicated server appid (#2404) Co-authored-by: Morbo <14136326+Morb0@users.noreply.github.com> --- lgsm/config-default/config-lgsm/btserver/_default.cfg | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/lgsm/config-default/config-lgsm/btserver/_default.cfg b/lgsm/config-default/config-lgsm/btserver/_default.cfg index 614269477..ed8650e16 100644 --- a/lgsm/config-default/config-lgsm/btserver/_default.cfg +++ b/lgsm/config-default/config-lgsm/btserver/_default.cfg @@ -8,10 +8,6 @@ #### Server Settings #### -## SteamCMD Login | https://docs.linuxgsm.com/steamcmd#steamcmd-login -steamuser="username" -steampass='password' - ## Server Start Command | https://docs.linuxgsm.com/configuration/start-parameters#additional-parameters fn_parms(){ parms="" @@ -95,7 +91,7 @@ sleeptime="0.5" ## SteamCMD Settings # Server appid -appid="602960" +appid="1026340" # SteamCMD Branch | https://docs.linuxgsm.com/steamcmd/branch branch="" # Master Server | https://docs.linuxgsm.com/steamcmd/steam-master-server From 4cc300ba7fe65a15bee29f28e8a25d06d52fb1e5 Mon Sep 17 00:00:00 2001 From: Christian Date: Sat, 22 Jun 2019 23:46:17 +0200 Subject: [PATCH 2/2] fix(monitor): fix querydelay not delaying (#2406) Co-authored-by: Christian Birk --- lgsm/functions/command_monitor.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lgsm/functions/command_monitor.sh b/lgsm/functions/command_monitor.sh index 06786cadd..56b8ecf53 100644 --- a/lgsm/functions/command_monitor.sh +++ b/lgsm/functions/command_monitor.sh @@ -18,7 +18,7 @@ for queryattempt in {1..5}; do fn_print_dots "Querying port: ${querymethod}: ${ip}:${queryport} : ${totalseconds}/${queryattempt}: " fn_print_querying_eol fn_script_log_info "Querying port: ${querymethod}: ${ip}:${queryport} : ${queryattempt} : QUERYING" - if [ "$(cat "${rootdir}/${lockselfname}")" -lt "$(date "+%s" -d "${querydelay} mins ago")" ]; then + if [ "$(cat "${rootdir}/${lockselfname}")" -gt "$(date "+%s" -d "${querydelay} mins ago")" ]; then fn_print_ok "Querying port: ${querymethod}: ${ip}:${queryport} : ${totalseconds}/${queryattempt}: " fn_print_delay_eol fn_script_log_info "Querying port: ${querymethod}: ${ip}:${queryport} : ${queryattempt} : DELAY"