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. diff --git a/functions/fn_update_dl b/functions/fn_update_dl index de27a0e92..c7c8da8c3 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,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 } fn_teamspeak3_dl(){ diff --git a/functions/fn_validate b/functions/fn_validate index 75864bdd4..1850d6f67 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,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 fn_scriptlog "Checking complete" }