Răsfoiți Sursa

App 90 Download workaround!!

the script will pre download the appmanifest for csserver as SteaCMD
woudl not download the "beta" verson file even with the beta flag
enabled. The fix pre downloads the appmanifest files causing SteamCMD to
instantly download the correct server files.

Also updated version number
Daniel Gibbs 12 ani în urmă
părinte
comite
2187fdb91a
1 a modificat fișierele cu 15 adăugiri și 2 ștergeri
  1. 15 2
      CounterStrike/csserver

+ 15 - 2
CounterStrike/csserver

@@ -3,7 +3,7 @@
 # Server Management Script
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
-# Version: 101113
+# Version: 221113
 
 #### Variables ####
 
@@ -527,8 +527,21 @@ echo ""
 echo "Installing ${gamename} Server"
 echo "================================="
 	rm -f ${servercfg}
-	cd ${rootdir}/steamcmd
 	mkdir -v ${filesdir}
+	echo ""
+	echo "Downloading appmanifest files (app 90 fix)"
+	echo "================================="
+	sleep 2	
+	mkdir -v ${filesdir}/ec5da605084840d3d7b3ed355e48c098b28a1bd5
+	cd ${filesdir}/ec5da605084840d3d7b3ed355e48c098b28a1bd5	
+	wget https://raw.github.com/dgibbs64/linuxgameservers/master/CounterStrike/appmanifest/appmanifest_10.acf
+	wget https://raw.github.com/dgibbs64/linuxgameservers/master/CounterStrike/appmanifest/appmanifest_70.acf
+	wget https://raw.github.com/dgibbs64/linuxgameservers/master/CounterStrike/appmanifest/appmanifest_90.acf
+	echo "Downloading appmanifest files (app 90 fix)"
+	echo ""
+	echo "Installing ${gamename} Server"
+	echo "================================="
+	cd ${rootdir}/steamcmd	
 	touch install.txt
 	chmod 0600 install.txt
 	echo "login anonymous" > install.txt