• What I'd like:
UGCC to run my SteamCMD batch file which I use not only for the initial game server install but also every subsequent update every time I restart the server manually, it crashes, the server auto-restart daily specified time, or automatically. Apparently, this has been do-able with non-valve games in UGCC for a while now with the .acf file? My SteamCMD batch file looks like this:
Code: Select all
SET STEAMCMD="D:\steamcmd\steamcmd.exe"
%STEAMCMD% +login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
In UGCC under the "Update Tool" tab, there's a field labeled "Update executable+" but the description states, "Enter the full path and executable name here (including file extension)" ... what's confusing is that I don't know whether you meant the SteamCMD.exe file path or the game servers .exe file path? I've tried both with commands in the "Update command line+" field.
• Our setup:
- OS: Windows Server 2008 R2 Standard SP1 x64
- Install: EzUGG
- DB: sqlite (I assume so at least, it's whatever EzUGCC installs)
- Game: Squad
- Nothing found in the event viewer or the UGCC logs
• What I've tried:
#1. I made sure to read your Auto Update System post as well as your Using Valve's Update Tools with the Panel.
#2. I further searched the forums for the keywords "SteamCMD", "Update", and more. I've read this post in which you replied with the following:
... Although, I'm wasn't clear if you meant to add "-autoupdate" to the "Command line arguments +" under the "Executable" Tab but just in case, I tried it with and without in my tests #3-#5 listed below.Masher wrote:You have 2 options.
1.) Make sure -autoupdate is in the command line and update on crash is enabled.
2.) Remove -autoupdate argument, uncheck update on crash, and enable alternate auto updater.
Option 2 would be the route I'd go.
#3. SteamCMD short
Update executable+ field: D:\SteamCMD\steamcmd.exe
Auto update (alternate method): ✔
Run update after server crash/halt: ✔
Update command line+ field:
Code: Select all
SET STEAMCMD="+login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
Code: Select all
+login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
Update executable+ field: D:\SteamCMD\steamcmd.exe
Auto update (alternate method): ✔
Run update after server crash/halt: ✔
Update command line+ field:
Code: Select all
SET STEAMCMD="D:\steamcmd\steamcmd.exe"
%STEAMCMD% +login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
Update executable+ field: D:\Servers\squad\Squad\Binaries\Win64\SquadServer.exe
Auto update (alternate method): ✔
Run update after server crash/halt: ✔
Update command line+ field:
Code: Select all
SET STEAMCMD="+login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
Code: Select all
+login anonymous +force_install_dir D:\Servers\squad +app_update 403240 -validate +exit
Regardless of my settings tried above, every time I would manually restart the server, it would just come back online immediately and of course not updated because it was restarted too quickly. I also waited about 5-10 minutes more than the minimum 20 min time for the auto-check for updates, twice but the server never reset.
...I've clearly missed something and any help would be greatly appreciated!