Przeglądaj źródła

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 lat temu
rodzic
commit
2187fdb91a
1 zmienionych plików z 15 dodań i 2 usunięć
  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