Page 1 of 1

DX Server start on computer bootup

PostPosted: Mon May 17, 10 12:51 am
by ~s0ap~
Is it possible to have my dx server automatically start on my computer bootup? I'm at school for half the day, and my computer gets turned on alot when im not at home. So if its possible could you post how to do it?

PostPosted: Mon May 17, 10 1:09 am
by MainMan
yeah just make the server starter script run at startup

PostPosted: Mon May 17, 10 5:57 am
by Dae
You need to create a batch file to start it and then drag and drop it into Start Menu > Programs > Startup.

To create a batch file, follow the first 3 steps of the tutorial.

Paste the following into it and save it:
Code: Select all
deusex.exe DXMP_Smuggler?Game=DXMTL152b1.MTLTeam?-server?log=server.log


You can as well change the map ("DXMP_Smuggler" part) and gametype ("DXMTL152b1.MTLTeam" part) in the code above. The code for deathmatch is "DXMTL152b1.MTLDeathmatch" (I believe).

Place the batch file in your DeusEx\System directory. From there you can drag and drop it to Startup as I said above.

PostPosted: Tue May 18, 10 12:49 am
by ~s0ap~
Thanks Dude, except how can I make that box not pop up, or automatically close?

PostPosted: Tue May 18, 10 2:29 am
by Batchy
icepick wrote:Thanks Dude, except how can I make that box not pop up, or automatically close?


Yeah brah, try this;

Code: Select all
start deusex.exe DXMP_Smuggler?Game=DXMTL152b1.MTLTeam?-server?log=server.log

PostPosted: Tue May 18, 10 11:13 am
by Dae
Batchy wrote:Yeah brah, try this;

How is it supposed to help? Adding "start" closes the batch window after command completion?

PostPosted: Tue May 18, 10 12:59 pm
by Allan
True, the command (DeusEx.exe) doesn't "complete" until you close it.

So, you either have to make a shortcut(s) that'll run the server(s) at startup, and then drag 'em to the Startup folder in your Start menu.

Wow, I just said Start three times in once sentence. :o

PostPosted: Tue May 18, 10 4:18 pm
by Batchy
Dae wrote:
Batchy wrote:Yeah brah, try this;

How is it supposed to help? Adding "start" closes the batch window after command completion?


Oh, I see.

Carry on.

PostPosted: Tue May 18, 10 4:19 pm
by DxPlayer
Code: Select all
deusex.exe DXMP_Smuggler?Game=DXMTL152b1.MTLTeam?-server?log=server.log
exit

PostPosted: Tue May 18, 10 11:14 pm
by ~s0ap~
Adding exit to the end does not work, same with terminate and others...
Also if any of you are telling me to try a .cmd, I already did.

PostPosted: Wed May 19, 10 5:28 pm
by DxPlayer
What does it say about the "Exit" command?

PostPosted: Wed May 19, 10 6:20 pm
by Allan
Okay, make a Windows shortcut (right click desktop, new, Shortcut)

and type in the following:

Code: Select all
C:\DeusEx\System\DeusEx.exe *game map*?game=*game type class* -server ini=*server ini* USERINI=*server user ini* log=*server log file*


Fill in the *this*'d bits, then run the shortcut. It should start up your server.

If it starts correctly, move the shortcut to:

Start.
All Programs.
Startup.

(not sure what this is on Vista / Win7 - have to check later.)

Restart your computer, and the server should start at startup.

PostPosted: Wed May 19, 10 10:50 pm
by ~ô¿ô~Nobody~
You need to mention that

C:\DeusEx\System\DeusEx.exe

Needs to be replaced with the actual path.
Just noobs install DeusEx to C:\ :lol:

PostPosted: Thu May 20, 10 12:11 am
by ~DJ~
so am i a noob

PostPosted: Thu May 20, 10 12:39 am
by ~ô¿ô~Nobody~
Well, in order NOT to break the axiom, you need to move DeusEx to somewhere else now. :o

PostPosted: Thu May 20, 10 11:49 am
by ~DJ~
It's better at C:\

PostPosted: Thu May 20, 10 1:29 pm
by Professor Layton
mine's at L:\

PostPosted: Thu May 20, 10 1:46 pm
by ~ô¿ô~Nobody~
L:\ is cool

I got it on E:\ like dEusEx :o

PostPosted: Wed Apr 20, 11 2:26 pm
by Shinobi
Right, serious question dickz.

My serverstarter batch file:

Code: Select all
@echo off
:start_server
echo Starting Shinobi Server
DEUSEX.EXE DXMP_CTF_Zan-Goh?Game=miniMTL222.miniMTLCTF?Mutator=mPack1.DXWeaponSelector?-server?log=server.log
GOTO start_server


How would I go about making this startup on computer boot (all users, please, not just my account)?
I also need it hidden. As in NO windows popping up. It is possible??