Posts: 3
Threads: 1
Joined: Mar 2008
Reputation:
0
Hi guys... over the past few days i have been scouring the forums looking for a crash fix file for windows. From what it seems, most of you host your own server that you can touch physically, i buy one from a company. I have no clue about batches, and my server seems to crash like once a day. Is there something that i can put on my CSS windows server that restarts it when it goes down?
Thanks
Posts: 2,270
Threads: 45
Joined: May 2007
Reputation:
11
Hmm you rent one from a company? That would be tricky but what do you mean? Rent a single server or a dedicated server?
realchamp Wrote:Hazz Wrote:Has someone helped you on these forums? If so, help someone else
Mooga Wrote:OrangeBox is a WHORE.
Posts: 3
Threads: 1
Joined: Mar 2008
Reputation:
0
Umm i pay them money and i have ftp access and the server goes on the net... i dont really know what your asking
Posts: 3
Threads: 1
Joined: Mar 2008
Reputation:
0
with this bit:
"Batch files are little script files that tell Windows what to do. If srcds crashes, it will not restart like possible under Linux. (Linux uses a "Script" file too)
What we are going to do is make sure that as soon HLDS suddenly quits it will restart. First we open notepad. What we write in there is the following:
Command(s):
@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 srcds.com Watchdog
:srcds
echo (%time%) srcds started.
start /wait srcds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Replace the marked part with your own commandline and values. Save the file as C:\srcds\srcds.bat in notepad (NOT .txt) and next time click the srcds.bat file. If you need to close srcds, close the hlds window and press Y (depending on language) at the Terminate batch question. Please do note this does not work with crashes/errors that involve a Windows error box."
Do i make a batch on my comp, then upload onto ftp and then what?
Posts: 700
Threads: 19
Joined: May 2007
Reputation:
0
If you don't have access to the server via Remote Desktop, SSH for windows or Telnet - i don't believe you can use this file to run (and restart) your server.
Posts: 3,906
Threads: 404
Joined: Oct 2007
Reputation:
21
Talk to your server providers.
Tell them you want the server to automatically re-start.
~ Mooga ...w00t? -
SRCDS.com on Twitter
Please do not PM me for server related help
fqdn Wrote:if you've seen the any of the matrix movies, a game server is not all that different. it runs a version of the game that handles the entire world for each client connected. that's the 2 sentence explanation.