From a252f3e771ccd8b0d188a8497e6e027c6799c628 Mon Sep 17 00:00:00 2001 From: xFaNaTiix Date: Thu, 28 May 2015 14:00:27 +0200 Subject: [PATCH 1/3] Corrected versions (dates) --- functions/fn_console | 2 +- functions/fn_install_glibcfix | 2 +- functions/fn_stop | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/functions/fn_console b/functions/fn_console index d4b8c01a3..cec27686d 100644 --- a/functions/fn_console +++ b/functions/fn_console @@ -2,7 +2,7 @@ # LGSM fn_console function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 210115 +# Version: 260515 # Description: Gives access to the server tmux console. diff --git a/functions/fn_install_glibcfix b/functions/fn_install_glibcfix index d9ef9c246..2d3ed99c7 100644 --- a/functions/fn_install_glibcfix +++ b/functions/fn_install_glibcfix @@ -2,7 +2,7 @@ # LGSM fn_install_glibcfix function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 110415 +# Version: 260515 fn_glibcfixmsg(){ echo "" diff --git a/functions/fn_stop b/functions/fn_stop index e0c67e54a..3d1ebab90 100644 --- a/functions/fn_stop +++ b/functions/fn_stop @@ -2,7 +2,7 @@ # LGSM fn_stop function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 080214 +# Version: 260515 # Description: Stops the server. From c40b49c2ba636a720a99bf2f4dc1d11388449a1c Mon Sep 17 00:00:00 2001 From: xFaNaTiix Date: Thu, 28 May 2015 14:01:58 +0200 Subject: [PATCH 2/3] Added calls of csgofixes --- functions/fn_update_dl | 3 ++- functions/fn_validate | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/functions/fn_update_dl b/functions/fn_update_dl index de27a0e92..331a20fa9 100644 --- a/functions/fn_update_dl +++ b/functions/fn_update_dl @@ -2,7 +2,7 @@ # LGSM fn_update_dl function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 160515 +# Version: 280515 # Description: Runs a server update. @@ -26,6 +26,7 @@ if [ $(command -v unbuffer) ]; then fi ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit|tee -a "${scriptlog}" +if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e '\n'; fn_csgofix; fi } fn_teamspeak3_dl(){ diff --git a/functions/fn_validate b/functions/fn_validate index 75864bdd4..a21391e65 100644 --- a/functions/fn_validate +++ b/functions/fn_validate @@ -2,7 +2,7 @@ # LGSM fn_validate function # Author: Daniel Gibbs # Website: http://gameservermanagers.com -# Version: 190515 +# Version: 280515 # Description: Runs a server validation. @@ -30,6 +30,7 @@ if [ $(command -v unbuffer) ]; then fi ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}" +if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e '\n'; fn_csgofix; fi fn_scriptlog "Checking complete" } From fa3350b06aafd130e11ad6e9b148a22e3b7f8365 Mon Sep 17 00:00:00 2001 From: Daniel Gibbs Date: Mon, 1 Jun 2015 16:57:19 +0100 Subject: [PATCH 3/3] Altered if to follow LGSM standard --- functions/fn_update_dl | 6 +++++- functions/fn_validate | 5 ++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/functions/fn_update_dl b/functions/fn_update_dl index 331a20fa9..c7c8da8c3 100644 --- a/functions/fn_update_dl +++ b/functions/fn_update_dl @@ -26,7 +26,11 @@ if [ $(command -v unbuffer) ]; then fi ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" +quit|tee -a "${scriptlog}" -if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e '\n'; fn_csgofix; fi + +if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then + echo -e '\n' + fn_csgofix +fi } fn_teamspeak3_dl(){ diff --git a/functions/fn_validate b/functions/fn_validate index a21391e65..1850d6f67 100644 --- a/functions/fn_validate +++ b/functions/fn_validate @@ -30,7 +30,10 @@ if [ $(command -v unbuffer) ]; then fi ${unbuffer} ./steamcmd.sh +login "${steamuser}" "${steampass}" +force_install_dir "${filesdir}" +app_update "${appid}" validate +quit|tee -a "${scriptlog}" -if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then echo -e '\n'; fn_csgofix; fi +if [ "${gamename}" == "Counter Strike: Global Offensive" ]; then + echo -e '\n' + fn_csgofix +fi fn_scriptlog "Checking complete" }