I got tired of manually updating my servers so I made a batch file that will install or update a server for me.
Instructions:
That's it!
- Open your favorite text editor
- Copy/Paste the code below
- Replace STEAM_CMD_LOCATION with the location you installed Steam CMD
- Type in a Steam Username that has purchased RoK where it says STEAM_USERNAME
- Type in the password to that steam account where it says STEAM_PASSWORD
- Save as "UpdateServer.bat" (the file name doesn't matter just make sure it has a .bat extension)
- Copy/Paste the .bat file you made into the folder you want to host the server from
- Run the .bat file
UpdateServer.bat
Code:@echo off set STEAM_CMD_LOCATION="C:\SteamCMD" set STEAM_USERNAME="" set STEAM_PASSWORD=""cd "%STEAM_CMD_LOCATION%" start "" steamcmd.exe +login "%STEAM_USERNAME%" "%STEAM_PASSWORD%" +force_install_dir %~dp0 +app_update 344760 validate +quit
SteamCMD install/update script
Discussion in 'Reign of Kings Discussion' started by SweetLouHD, Jun 17, 2015.