SRCDS Steam group


CSS Anti crash?
#1
Well... As always... there are glitchers who crash the server with windows errors... How can I stop them from crashing it? Or can I make a batch file that restarts even with windows errors? Mine only works to restart without windows errors... any windows errors and you have to click OKAY for it to restart...

This is what I got currently in the batch:

@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 C:\srcds\srcds.exe -console -game Counter Strike Source +map de_dust2 +maxplayers 32
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
Reply
#2
The windows errors get tricky...
I'll wait for someone else to post.

There are some tricks... I've never got any working right.
~ Mooga ...w00t? - SRCDS.com on Twitter
[Image: 76561197965445574.png]
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.
Reply
#3
there are several scripts you can use to prevent crashes, assuming its a channel over flow exploit you can use this http://addons.eventscripts.com/addons/view/block_crash

you can also use this to make sure variables you set are followed
http://addons.eventscripts.com/addons/view/ironwall
[Image: 3386928252.png]
Reply
#4
Thanks guys!
Reply
#5
In line 45...

cvars = {'rcon_password':'', // Line 45
'sv_cheats':'0',
'eventscripts_protectrcon':'1'}

Should I put my rcon_password between the ' ' ?
Or does it already use my server.cfg rcon?
Reply
#6
Nevermind.... I think I figured it out, thanks again! ^_^
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)