Page 1 of 1

batch file

PostPosted: Wed Mar 16, 11 7:19 pm
by Shinobi
anyone fancy knocking together a quick batch file i can edit to auto-restart a server??

dunno how to do it meself. seen eg's but all for old windows

PostPosted: Wed Mar 16, 11 7:24 pm
by Shinobi
[Nevermind I remembered]

PostPosted: Wed Mar 16, 11 7:30 pm
by Alex
For restart, something like:

Code: Select all
@echo off
:start_server
echo Starting server
DEUSEX.EXE COMMAND HERE
GOTO start_server


Doesn't save the old logs though.

PostPosted: Wed Mar 16, 11 7:33 pm
by Shinobi
Thanks alex. Why did batch files get so damn complicated lol ya should see the one for my source server!!

I don't care about logs. Thanks again.

PostPosted: Wed Mar 16, 11 8:17 pm
by Shinobi
Any way to run DX ded server as a system process?? I know there's a way to do it with certain Quake 2 servers, and Freelancer servers.

Basically I want server to start on windows startup and run in the tray, no windows. Possible?

PostPosted: Wed Mar 16, 11 10:07 pm
by Dae
Shinobi wrote:Any way to run DX ded server as a system process??

I think it should be possible with a 3rd party tool. Try something like this.

If you all you want is to run the server at Windows startup, you may simply drag-n-drop the .bat files (or shortcuts to them) to the Start menu > Programs > Autorun.

PostPosted: Wed Mar 16, 11 10:33 pm
by Shinobi
Cheers Dae I'll have a fiddle with that

PostPosted: Wed Mar 16, 11 10:35 pm
by Shinobi
Wait,.... that isn't released

PostPosted: Thu Mar 17, 11 12:03 am
by Dae
Oh my god, sorry, I was trying to find a program which I had already used (it was a VB based wrapper) but forgot the name, and at first glance that page seemed to be it. Try searching yourself, can't recommend anything until I remember what was that program called.