Raised This Month: $51 Target: $400
 12% 

Auto Restart


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Closer456
Member
Join Date: May 2013
Old 05-19-2013 , 23:59   Auto Restart
Reply With Quote #1

How do you add an auto restart for steamcmd?
Ex. The server crashes
Closer456 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-20-2013 , 07:31   Re: Auto Restart
Reply With Quote #2

The same way as before
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
43tanmay
Junior Member
Join Date: May 2013
Old 05-20-2013 , 09:35   Re: Auto Restart
Reply With Quote #3

use my batch file
|

@echo off
cls
title StartUp
:hlds
echo (%time%) HLDS Started...
start /wait /realtime hlds.exe -console -game cstrike -master -noipx +map de_dust2 +maxplayers 12 -pingboost 2 +port 27015 +exec server.cfg
echo n| goto hlds
echo (%time%) HLDS Crashed, restarting...
goto hlds

save this file as *.bat and put it in the hlds folder [where hlds.exe is present] now this will restart the server automatically when crashed but it will ask u when the server is shutted down by you

and u can change the command line as u want these are my command line
43tanmay is offline
sami_spt
Veteran Member
Join Date: Sep 2012
Location: I<3 pussy cats
Old 05-20-2013 , 11:01   Re: Auto Restart
Reply With Quote #4

or you can use HLSM.
sami_spt is offline
Closer456
Member
Join Date: May 2013
Old 05-20-2013 , 17:03   Re: Auto Restart
Reply With Quote #5

Quote:
Originally Posted by YamiKaitou View Post
The same way as before
Never heard of it cause I rent my server before.
Quote:
Originally Posted by 43tanmay View Post
use my batch file
|

@echo off
cls
title StartUp
:hlds
echo (%time%) HLDS Started...
start /wait /realtime hlds.exe -console -game cstrike -master -noipx +map de_dust2 +maxplayers 12 -pingboost 2 +port 27015 +exec server.cfg
echo n| goto hlds
echo (%time%) HLDS Crashed, restarting...
goto hlds

save this file as *.bat and put it in the hlds folder [where hlds.exe is present] now this will restart the server automatically when crashed but it will ask u when the server is shutted down by you

and u can change the command line as u want these are my command line
Not working ;( When the server crash it wont auto restart unless I close the error message (But sometimes i'm not at home so I won't be able to click it)

Quote:
Originally Posted by sami_spt View Post
or you can use HLSM.
I tried HLSM but it keep says 'Lost (2/2)' and my server keeps restarting without crashing
Closer456 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 05-27-2013 , 11:54   Re: Auto Restart
Reply With Quote #6

Quote:
Originally Posted by Closer456 View Post
Not working ;( When the server crash it wont auto restart unless I close the error message (But sometimes i'm not at home so I won't be able to click it)
You have to tell Windows not to display those error messages. You should be able to find out how by searching on Google. I found it before, but that was some time ago
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Reply



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 11:56.


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