[Resloved]
Server OS: Windows Server 2003 Standard x64-edition
Ram: 1GB
Game(s): CS:S
Start Up Command: Thats how it looks like and worked Great
Admin Mods: SourceMod, MetaMod,
Hi guys my question is can i somehow let the server using the autorestart script after issuing quit using rcon to check for updates and install them then closes the hldsupdatetool window and as soon as the hldsupdatetool closes the server launch or after periodic time weather the hldsupdatetool closed or not and how to do that .
I meant to perform rcon_address and rcon_password and rcon quit when the server is not accessible in way other than rcon because of it's being not up2date
let's say that i don't have the root access how would i update the server
so it would be only to update manually when an update releases and i can't physically access the server software
Server OS: Windows Server 2003 Standard x64-edition
Ram: 1GB
Game(s): CS:S
Start Up Command: Thats how it looks like and worked Great
Code:
@echo off
cls
echo Protecting srcds from crashes...
echo If you want to close srcds and this script, close the srcds window and type Y depending on your language followed by Enter.
title css1 Watchdog
:update
echo (%time%) (%date%) update started.
start hldsupdatetool.exe -command update -game "Counter-Strike Source" -dir "./css/css1"
sleep 900
:srcds
echo (%time%) (%date%) srcds started.
start /RealTime /wait ./css/css1/orangebox\srcds.exe -secure -console -game cstrike -ip "x" -port "x" -pingboost 3 -maxplayers 24 +map de_dust2
echo (%time%) (%date%) WARNING: srcds closed or crashed, restarting.
goto update
goto srcds
Hi guys my question is can i somehow let the server using the autorestart script after issuing quit using rcon to check for updates and install them then closes the hldsupdatetool window and as soon as the hldsupdatetool closes the server launch or after periodic time weather the hldsupdatetool closed or not and how to do that .
I meant to perform rcon_address and rcon_password and rcon quit when the server is not accessible in way other than rcon because of it's being not up2date
let's say that i don't have the root access how would i update the server
so it would be only to update manually when an update releases and i can't physically access the server software