batch file

Technical issues discussion about your computer and Deus Ex games.

Moderator: Forum Guards

batch file

Postby Shinobi » Wed Mar 16, 11 7:19 pm

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
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Shinobi » Wed Mar 16, 11 7:24 pm

[Nevermind I remembered]
Last edited by Shinobi on Wed Mar 16, 11 7:33 pm, edited 1 time in total.
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Alex » Wed Mar 16, 11 7:30 pm

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.
Alex
Alpha
 
Posts: 8067
Joined: Wed Nov 12, 03 4:51 pm

Postby Shinobi » Wed Mar 16, 11 7:33 pm

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.
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Shinobi » Wed Mar 16, 11 8:17 pm

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?
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Dae » Wed Mar 16, 11 10:07 pm

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.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Shinobi » Wed Mar 16, 11 10:33 pm

Cheers Dae I'll have a fiddle with that
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Shinobi » Wed Mar 16, 11 10:35 pm

Wait,.... that isn't released
So we beat on, boats against the current, borne back ceaselessly into the past.
User avatar
Shinobi
Master
 
Posts: 1503
Joined: Tue Jul 10, 07 12:10 pm
Location: Wales

Postby Dae » Thu Mar 17, 11 12:03 am

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.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm


Return to Technical issues

Who is online

Users browsing this forum: No registered users and 5 guests
cron