-
-
Save Dids/83f2c524ae0000160d2a3583fd7e6d4f to your computer and use it in GitHub Desktop.
@echo off | |
steamcmd.exe +runscript install.txt |
@ShutdownOnFailedCommand 1 | |
@NoPromptForPassword 1 | |
login anonymous | |
force_install_dir C:\ConanExiles | |
app_update 443030 validate | |
quit |
@echo off | |
:start | |
pushd C:\steamcmd | |
call install.bat | |
popd | |
echo Starting Conan Exiles server, please keep this window open for automatic restart to work.. | |
echo (if you want to quit, close this window from the X, then issue CTRL-C in the server window) | |
pushd C:\ConanExiles | |
call ConanSandboxServer.exe -log | |
popd | |
echo Conan Exiles server exited, restarting.. | |
goto start |
@Estena Automatic updating (querying Steam for updates and gracefully restarting the server) is much, much more complicated, and not feasible to do with mere batch files. I am, however, working on a production quality Windows application for managing a Conan Exiles server, which supports multiple servers, chat log, player list as well as fully automatic updates/restarts.
Now, as to running multiple servers on a single machine. I'd advice you to have a separate steamcmd.exe for each of the servers, so each of them would be in their own folders. This way, you'd also have the files above specific to each server.
For server configuration itself, I've put together a battletested guide here: https://gist.github.com/Dids/9564a693bb5b40cc0773cf8a5f07b4c1
@Xerrion Can you elaborate on that? That doesn't seem to be a steamcmd parameter, so I'm assuming it's for Conan? Do you have a more complete example?
EDIT: Never mind, saw your post on the other gist.
@Xerrion -usedir
doesn't seem to be working for me at all. Still stores all the files in the default location.
@Estena if you are still looking for that kind of functionality, you may want to check out what @Dateranoth has going on with his utility.
As for this, this is exactly what I was looking for. Thank you, @Dids!
@Dids It's me who is a nut job, its -userdir
not -usedir
Also could you maybe help out with a script to be integranted into above with the following logic:
installer to check every 5/10 min with Steam CMD if a new update has come out,
if new update has come out - force a server to shutdown and start from line 1 in "start.bat"
At the moment the above script does not take cognisance of new patches, if a new patch comes out the live server unless it is stopped or crashes will not have the lastest patch - an automated work around for this would be much apprichated
thank you