AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   Server restart problem. (https://forums.alliedmods.net/showthread.php?t=183772)

yamin 04-26-2012 13:02

Server restart problem.
 
can anyone say me how to auto restart my server if someone crashes or if it crashes on map change
i have a software but when my server will crashes a message pops which shows "this program stopped working" and then i have to click "close program" i want the server to restart my server without clicking anything

hyphen 04-26-2012 15:04

Re: Server restart problem.
 
if you use linux its simple. put -debug in your startup line.

if you use windows have to use some hl monitoring s/w. search for that in this forum.

yamin 04-27-2012 06:00

Re: Server restart problem.
 
i use windows can you give me the link?

hyphen 04-27-2012 06:10

Re: Server restart problem.
 
No, search forum.

x00 04-27-2012 13:00

Re: Server restart problem.
 
Quote:

Originally Posted by hyphen (Post 1697270)
No, search forum.

Give script or be quiet.

Code:


@echo off
cls
echo Protecting hlds from crashes...
echo If you want to close hlds and this script, close the hlds window and type Y depending on your language followed by Enter.
title hlds.com Watchdog
:hlds
echo (%time%) hlds started.
start /wait hlds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: hlds closed or crashed, restarting.
goto hlds

Save it as a .bat in your hlds folder.
-x00

yamin 04-28-2012 06:04

Re: Server restart problem.
 
Quote:

Originally Posted by x00 (Post 1697529)
Give script or be quiet.

Code:


@echo off
cls
echo Protecting hlds from crashes...
echo If you want to close hlds and this script, close the hlds window and type Y depending on your language followed by Enter.
title hlds.com Watchdog
:hlds
echo (%time%) hlds started.
start /wait hlds.exe -console -game cstrike +map de_dust +maxplayers 16
echo (%time%) WARNING: hlds closed or crashed, restarting.
goto hlds

Save it as a .bat in your hlds folder.
-x00

i have windows 7 so it ask (close this program) so the server doesn't auto restarts

x00 04-28-2012 06:18

Re: Server restart problem.
 
Quote:

Originally Posted by yamin (Post 1697915)
i have windows 7 so it ask (close this program) so the server doesn't auto restarts

Its easy.

yamin 04-28-2012 06:37

Re: Server restart problem.
 
Quote:

Originally Posted by x00 (Post 1697919)
Its easy.

now i got a program "serverdoc" anyways thanks

.ThePro 04-28-2012 16:57

Re: Server restart problem.
 
Use the Server Checker program. =)
If your problem is with him (Server Checker) post the log.

ghostofmybrain 04-28-2012 18:42

Re: Server restart problem.
 
Quote:

Originally Posted by hyphen (Post 1697270)
No, search forum.

Why do people even join forums, read threads, and then bother to post crap like this that says nothing at all? I just never understand why people go so far out of their way to be condescending.


All times are GMT -4. The time now is 15:33.

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