Quellcode durchsuchen

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 vor 12 Jahren
Ursprung
Commit
2187fdb91a
1 geänderte Dateien mit 15 neuen und 2 gelöschten Zeilen
  1. 15 2
      CounterStrike/csserver

+ 15 - 2
CounterStrike/csserver

@@ -3,7 +3,7 @@
 # Server Management Script
 # Server Management Script
 # Author: Daniel Gibbs
 # Author: Daniel Gibbs
 # Website: http://danielgibbs.co.uk
 # Website: http://danielgibbs.co.uk
-# Version: 101113
+# Version: 221113
 
 
 #### Variables ####
 #### Variables ####
 
 
@@ -527,8 +527,21 @@ echo ""
 echo "Installing ${gamename} Server"
 echo "Installing ${gamename} Server"
 echo "================================="
 echo "================================="
 	rm -f ${servercfg}
 	rm -f ${servercfg}
-	cd ${rootdir}/steamcmd
 	mkdir -v ${filesdir}
 	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
 	touch install.txt
 	chmod 0600 install.txt
 	chmod 0600 install.txt
 	echo "login anonymous" > install.txt
 	echo "login anonymous" > install.txt