Insurgency: Sandstorm

Insurgency: Sandstorm

Statistiche:
Server update/start bat file
Can anyone tell me why this doesn't work, it updates the server, ok.. but won't start the server, it only gets to C:\Sandstorm Server.
bat file is:

rem Updates the Sandstorm Server
cd\C:\Sandstorm
steamcmd +login anonymous +force_install_dir C:\Sandstorm +app_update 581330 +quit
start ""
C:\Sandstorm Server\steamapps\common\sandstorm_server\start.bat
quit

Also, what are the commands to Stop/Shutdown a server.
< >
Visualizzazione di 1-8 commenti su 8
@echo off & setlocal enabledelayedexpansion echo. echo **************************************************************** echo STARTING UPDATE PROCESS... echo **************************************************************** cd C:\Sandstorm start /wait steamcmd.exe +login anonymous +app_update 581330 validate +quit echo. echo **************************************************************** echo ****************** UPDATE COMPLETE! ******************* echo **************************************************************** TIMEOUT 3 echo. echo **************************************************************** echo STARTING SERVER AND CLOSING THIS PROGRAM echo **************************************************************** TIMEOUT 3 cd C:\Sandstorm\steamapps\common\sandstorm_server start InsurgencyServer.exe Oilfield?Scenario=Scenario_Refinery_Checkpoint_Security?MaxPlayers=X -Port=XXXXX -QueryPort=XXXXX -Rcon -log -hostname="SERVER NAME" -log -GSLTToken=XXXXX -GameStats -MapCycle=YOURMAPCYCLE END

I don't know Stop/Shutdown commands for INS Sandstorm, maybe another user know.

Remember to change the lines like you need.

I use one batch to do all things before starts the server, but if you need:

@echo off & setlocal enabledelayedexpansion echo. echo **************************************************************** echo STARTING UPDATE PROCESS... echo **************************************************************** cd C:\Sandstorm start /wait steamcmd.exe +login anonymous +app_update 581330 validate +quit echo. echo **************************************************************** echo ****************** UPDATE COMPLETE! ******************* echo **************************************************************** TIMEOUT 3 echo. echo **************************************************************** echo STARTING SERVER AND CLOSING THIS PROGRAM echo **************************************************************** TIMEOUT 3 cd C:\Sandstorm Server\steamapps\common\sandstorm_server start start.bat END

You don't need specify the install dir (force install dir) if the server goes to steamapps/common of the SteamCMD directory.

Regards.

Ultima modifica da chacal_bl4ck; 13 mag 2020, ore 20:32
[.:VT.NC:.] chacal_bl4ck, Thank you, it does just what I want,makes my attempt look poor.
Messaggio originale di Rover:
[.:VT.NC:.] chacal_bl4ck, Thank you, it does just what I want,makes my attempt look poor.
Always a pleasure to help.

Feel free to question.
To stop the server you can try this:

@echo off

@echo Stopping InsurgencyServer.exe...
taskkill /f /im InsurgencyServer.exe
pause

:Exit
[DOL]Facknrite™ thank you
Ultima modifica da Rover - [Redback]; 13 mag 2020, ore 22:24
your welcome

you may want to change InsurgencyServer.exe with InsurgencyServer-Win64-Shipping.exe
Ultima modifica da Facknrite™⭕⃤; 13 mag 2020, ore 23:09
For VANILLA (CHANGE VARIABLES WITH MY_XXX)
@start /HIGH /min "" MY_PATH_INSURGENCY\InsurgencyServer.exe Farmhouse?Scenario=Scenario_Farmhouse_Checkpoint_Security?MaxPlayers=28?game=CheckpointHardcore port=MY_PORT_CONNECT queryport=MY_QUERYPORT -log -hostname="MY_SERVER [COOP Only]" -MapCycle=Mapcycle.txt -GSLTToken=MY_GSLTOKEN -Rcon -RconPassword=MY_PASSWORD -RconListemPort=27017 -GameStats -AdminList=Admins
Messaggio originale di D.Marks:
... port=... queryport=...
Please fix your typos !
Also note this thread being a year old.
< >
Visualizzazione di 1-8 commenti su 8
Per pagina: 1530 50