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" }