Easy Way To Restart Server?
Flayra
Game Director, Unknown Worlds EntertainmentSan Francisco Join Date: 2002-01-22 Member: 3Super Administrators, NS2 Developer, Subnautica Developer
Comments
But I'm not sure if the windows version has such a thing as well.
there's no easy/rcon/hl way to start up a server remotely if it crashes and stays down
-d$
I use Fire Daemon and it rocks. I'm an ex-ServerDoc user. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
These are for Win32 btw.
<a href='http://www.unknownworlds.com/forums/index.php?act=ST&f=8&t=10309' target='_blank'>http://www.unknownworlds.com/forums/in...=ST&f=8&t=10309</a>
Heh, Idunno about Winbloze... <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
---
@echo off
e:
cd \sierra\half-life\
start /high /wait E:\SIERRA\Half-Life\hlds.exe -game ns -nipx -nojoy +map ns_eclipse -maxplayers 16
cd \
Natselsvr.bat
---
Keep in mind that this is running on a Win2K box, which is why I have the "start /high /wait" params in before the hlds command.
This also means that if the server crashes out for some reason...it'll auto restart. =)
-Brendan
aka [OldF]SandTyger<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I use Fire Daemon and it rocks. I'm an ex-ServerDoc user. <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
These are for Win32 btw.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Same here.
Fire Daemon is really a great program, too bad you can only have one service in the lite version.
Great program!
Yeah, it is very annoying when the server crashes and decided not to come back up <!--emo&:p--><img src='http://www.unknownworlds.com/forums/html/emoticons/tounge.gif' border='0' valign='absmiddle' alt='tounge.gif'><!--endemo-->
---
@echo off
e:
cd \sierra\half-life\
start /high /wait E:\SIERRA\Half-Life\hlds.exe -game ns -nipx -nojoy +map ns_eclipse -maxplayers 16
cd \
Natselsvr.bat
---
Keep in mind that this is running on a Win2K box, which is why I have the "start /high /wait" params in before the hlds command.
This also means that if the server crashes out for some reason...it'll auto restart. =)
-Brendan
aka [OldF]SandTyger<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd--><!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
The dedicated server doesn't have any joystick code. -nojoy is for the client.
create ns.bat and edit with your favorite text editor
edit:
<!--c1--></span><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td><b>CODE</b> </td></tr><tr><td id='CODE'><!--ec1-->
:start
c:\path-to-hld\hlds.exe -game ns "blablabla" <- put your stuffs here
goto start
<!--c2--></td></tr></table><span class='postcolor'><!--ec2-->
save and close your favorite text editor
Congratulations, you have successfuly built a great restart program ^_^
win32
serverdoc good = small footprint, visible console, all necessary options i can think of are available
serverdoc bad = requires $ registration, can't run as service
gamehost good = tons of features, remote client, runs as a service
gamehost bad = $40, if you like to look at the console you are SOL
firedaemon good = clean, simple, can be used for anything
firedamon bad = not game oriented, lacks some features, nost very easy for newbies
remote-x = VERY feature rich, good for server-rental sites that have multiple people checking on servers. the most hardcore HL server tool
linux
halfd = TEH WIN! kicks **** for running linux servers (can be used on windows too). the second most hardcore tool
hlds_run = simple, built-in, bulletproof
screen = familiar, a few more options than hlds_run
[edit] here's link and text from the manufacturer's sites
<a href='http://serverdoc.winsoft.net.au/' target='_blank'>http://serverdoc.winsoft.net.au/</a>
Serverdoc restarts most programs when they crash. From ftp and game servers to stockmarket programs. Serverdoc uses very little resources so your server performance is not effected.
<a href='http://www.xoanan.com/gamehost/default.htm' target='_blank'>http://www.xoanan.com/gamehost/default.htm</a>
GameHost is the ultimate tool for running network game servers. It allows you to easily setup, run, and manage most of your favorite network games, including Quake, QuakeWorld, Quake II, Quake III Arena, Hexen II, Half-Life, Sin, Starsiege TRIBES, Unreal Tournament and Return to Castle Wolfenstein.
<a href='http://www.firedaemon.com/' target='_blank'>http://www.firedaemon.com/</a>
FireDaemon is a utility that allows you to install and run virtually any native Win32 application or script (eg. BAT/CMD, Perl, Java, Python) as a Windows NT/2K/XP service. FireDaemon features easy configuration (via GUI or XML), a low memory/CPU overhead, subprocess prioritisation, custom environments and CPU binding and scheduling plus monitoring and logging to the NT/2K/XP event log and on-disk log files.
FireDaemon is supplied in two forms: a free Lite version (with limited functionality for non-commercial use) and a fully functional Pro version.
<a href='http://www.halfd.org/' target='_blank'>http://www.halfd.org/</a>
halfd - Advanced Server Management for Linux Half Life Servers!
(i've heard you can use it on windows though)
<a href='http://www.planetfortress.com/remote-x/' target='_blank'>http://www.planetfortress.com/remote-x/</a>
Remote-X has many features such as a user levels system, encrypted security on data being sent to and from the Remote-X Client, advanced player options, built in scripting engine and plugin DLL support for customizability, detailed live information on the server broadcasted to all connected clients in real time, as frequent as once per second. Simultaneous connection of up to 50 admins on one server, ability to run the server application as an NT service and much more! This is definitely a tool for the hardcore HL server administrator.
My setup:
Athlon 1.4, 512 DDR266, 100MBit (my gateway) HLDS and VNC
If it goes down, or I need to access the machine from elsewhere, I can tightVNC to it to bring it back up. Or alternatively, if I want to really p1$$ everyone on the server off, I can tightVNC to it during a game and hog all the CPU time
Roobubba's Glorious NS 1.03 *Updated*
163.1.180.217:27016 (UK)
I found the issue, such a n00b, but you'll find it's MUCH more stable now, plus the admins no longer get kicked on map change lol <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
I have to say, I may be new to server adminning, but I'm quite proud of the setup I have there now, plus my network has been upgraded to 100Mbit from 10Mbit, which is also nice <!--emo&:)--><img src='http://www.unknownworlds.com/forums/html/emoticons/smile.gif' border='0' valign='absmiddle' alt='smile.gif'><!--endemo-->
Roob's glorious NS 1.03 *Updated*
163.1.180.217:27016
Thanks for the info on the -nojoy thing...
Now...if I could only fix my map rotation problem. <grumble>
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I've suddenly started having this problem recently. They get kicked with a "This name is reserved on this server" thing like they don't have their setinfo line on (which they must have had to connect in the first place). I just re-exec my autoexec.cfg file and retry, but its annoying. It also does it randomly, and not very often, but when it happens it annoys the crap out of me.
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I've suddenly started having this problem recently. They get kicked with a "This name is reserved on this server" thing like they don't have their setinfo line on (which they must have had to connect in the first place). I just re-exec my autoexec.cfg file and retry, but its annoying. It also does it randomly, and not very often, but when it happens it annoys the crap out of me.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Check out the adminmod FAQ. Entry is titled " Every 30 mins or so EVERYONE in the users.ini gets kicked from the server!"
<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I've suddenly started having this problem recently. They get kicked with a "This name is reserved on this server" thing like they don't have their setinfo line on (which they must have had to connect in the first place). I just re-exec my autoexec.cfg file and retry, but its annoying. It also does it randomly, and not very often, but when it happens it annoys the crap out of me.<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
Check out the adminmod FAQ. Entry is titled " Every 30 mins or so EVERYONE in the users.ini gets kicked from the server!"<!--QuoteEnd--></td></tr></table><span class='postcolor'><!--QuoteEEnd-->
I <3 Verbose