Daniel Gibbs 10 lat temu
rodzic
commit
19b9e779d9

+ 1 - 0
functions/install_complete.sh

@@ -12,6 +12,7 @@ if [ "${gamename}" == "Don't Starve Together" ]; then
 fi
 echo "================================="
 echo "Install Complete!"
+fn_scriptlog "Install Complete!"
 echo ""
 echo "To start server type:"
 echo "./${selfname} start"

+ 3 - 2
functions/install_logs.sh

@@ -2,7 +2,7 @@
 # LGSM install_logs.sh function
 # Author: Daniel Gibbs
 # Website: http://gameservermanagers.com
-lgsm_version="271215"
+lgsm_version="270216"
 
 if [ "${checklogs}" != "1" ]; then
 	echo ""
@@ -44,4 +44,5 @@ if [ -d "${rootdir}/Steam/logs" ]; then
 		ln -nfsv "${rootdir}/Steam/logs" "${rootdir}/log/steamcmd"
 	fi
 fi
-sleep 1
+sleep 1
+fn_scriptlog "Logs installed"

+ 2 - 0
functions/install_server_files.sh

@@ -29,6 +29,7 @@ while [ "${counter}" == "0" ]||[ "${exitcode}" != "0" ]; do
 
 		if [ "${counter}" -ge "2" ]; then
 			fn_printwarningnl "SteamCMD did not complete the download, retrying: Attempt ${counter}:"
+			fn_scriptlog "SteamCMD did not complete the download, retrying: Attempt ${counter}:"
 		fi
 
 		if [ "${counter}" -ge "7" ]; then
@@ -64,6 +65,7 @@ while [ "${counter}" == "0" ]||[ "${exitcode}" != "0" ]; do
 		fi
 	elif [ "${counter}" -ge "11" ]; then
 		fn_printfailurenl "SteamCMD did not complete the download, too many retrys"
+		fn_scriptlog "SteamCMD did not complete the download, too many retrys"
 		break
 	fi
 done

+ 2 - 1
functions/install_ut2k4_key.sh

@@ -18,7 +18,8 @@ if [ -z "${autoinstall}" ]; then
 	echo -n "KEY: "
 	read CODE
 	echo ""\""CDKey"\""="\""${CODE}"\""" > "${systemdir}/cdkey"
-
+	if [ -f "${systemdir}/cdkey" ]; then
+	fn_scriptlog "UT2K4 Server CD Key created"
 else
 	echo "You can add your key using the following command"
 	echo "./${selfname} server-cd-key"