Raised This Month: $ Target: $400
 0% 

Auto restart crashed server ?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
yOou Know Me
BANNED
Join Date: Oct 2009
Old 10-23-2010 , 03:54   Re: Auto restart crashed server ?
Reply With Quote #5

Well from one other forum they told me to use this code, but when i try to start my server with it i says:
Code:
bash: goto: command not found
Can someone tell how to start this or any other way ? I Just need my server's to autorestart by them selfs when they crash isn't anything out there ?

Code:
@echo off 
cls 
echo Auto-ON. 
echo Y_for_exit! 
title Auto-Restart-Crash 
:hlds 
echo (%time%) --[SERVER_ONLINE]-- 
start /wait/realtime hlds.exe -console -nocrashdialog -game cstrike +maxplayers 10 +map de_dust2 +sys_ticrate 10000 +sv_maxupdaterate 100 +port 27015 +sv_lan 0 -insecure -nomaster +log off 
echo (%time%) WARNING: hlds closed or crashed, restarting... 
goto hlds
yOou Know Me is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:28.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode