DX Server start on computer bootup

Technical issues discussion about your computer and Deus Ex games.

Moderator: Forum Guards

DX Server start on computer bootup

Postby ~s0ap~ » Mon May 17, 10 12:51 am

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?
User avatar
~s0ap~
Wannabe
 
Posts: 121
Joined: Sat Nov 07, 09 11:55 pm
Location: Canada

Postby MainMan » Mon May 17, 10 1:09 am

yeah just make the server starter script run at startup
<center>ty m7
</center>
User avatar
MainMan
<i>Tru' Playa' Fer Defs</i>
 
Posts: 4655
Joined: Sun Jun 05, 05 7:38 am
Location: London, UK

Postby Dae » Mon May 17, 10 5:57 am

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.
Last edited by Dae on Mon May 17, 10 5:57 am, edited 1 time in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby ~s0ap~ » Tue May 18, 10 12:49 am

Thanks Dude, except how can I make that box not pop up, or automatically close?
Last edited by ~s0ap~ on Tue May 18, 10 12:55 am, edited 1 time in total.
User avatar
~s0ap~
Wannabe
 
Posts: 121
Joined: Sat Nov 07, 09 11:55 pm
Location: Canada

Postby Batchy » Tue May 18, 10 2:29 am

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
Mr.Fagstix wrote:This is why I fucking hate you. Because somehow you manage to take somebodies posts, twist them against them, troll them and flame bait them and then you still get away with it? Is this forums management on fucking crack or some shit? Fucking SERIOUSLY.
User avatar
Batchy
Addict
 
Posts: 508
Joined: Fri Sep 21, 07 5:40 am

Postby Dae » Tue May 18, 10 11:13 am

Batchy wrote:Yeah brah, try this;

How is it supposed to help? Adding "start" closes the batch window after command completion?
Last edited by Dae on Tue May 18, 10 11:14 am, edited 2 times in total.
User avatar
Dae
Alpha
 
Posts: 12086
Joined: Sat Sep 06, 03 4:40 pm

Postby Allan » Tue May 18, 10 12:59 pm

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
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby Batchy » Tue May 18, 10 4:18 pm

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.
Mr.Fagstix wrote:This is why I fucking hate you. Because somehow you manage to take somebodies posts, twist them against them, troll them and flame bait them and then you still get away with it? Is this forums management on fucking crack or some shit? Fucking SERIOUSLY.
User avatar
Batchy
Addict
 
Posts: 508
Joined: Fri Sep 21, 07 5:40 am

Postby DxPlayer » Tue May 18, 10 4:19 pm

Code: Select all
deusex.exe DXMP_Smuggler?Game=DXMTL152b1.MTLTeam?-server?log=server.log
exit
User avatar
DxPlayer
Regular
 
Posts: 488
Joined: Sun Jan 25, 09 6:31 pm
Location: Brazil

Postby ~s0ap~ » Tue May 18, 10 11:14 pm

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.
Last edited by ~s0ap~ on Tue May 18, 10 11:15 pm, edited 1 time in total.
User avatar
~s0ap~
Wannabe
 
Posts: 121
Joined: Sat Nov 07, 09 11:55 pm
Location: Canada

Postby DxPlayer » Wed May 19, 10 5:28 pm

What does it say about the "Exit" command?
User avatar
DxPlayer
Regular
 
Posts: 488
Joined: Sun Jan 25, 09 6:31 pm
Location: Brazil

Postby Allan » Wed May 19, 10 6:20 pm

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.
User avatar
Allan
Alpha
 
Posts: 4545
Joined: Wed Dec 21, 05 1:41 pm
Location: Northamptonshire, England.

Postby ~ô¿ô~Nobody~ » Wed May 19, 10 10:50 pm

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:
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby ~DJ~ » Thu May 20, 10 12:11 am

so am i a noob
User avatar
~DJ~
Forum Super Hero
 
Posts: 3766
Joined: Tue May 22, 07 12:23 pm

Postby ~ô¿ô~Nobody~ » Thu May 20, 10 12:39 am

Well, in order NOT to break the axiom, you need to move DeusEx to somewhere else now. :o
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby ~DJ~ » Thu May 20, 10 11:49 am

It's better at C:\
User avatar
~DJ~
Forum Super Hero
 
Posts: 3766
Joined: Tue May 22, 07 12:23 pm

Postby Professor Layton » Thu May 20, 10 1:29 pm

mine's at L:\
Last edited by Professor Layton on Thu May 20, 10 1:30 pm, edited 1 time in total.
GrandpaTerran wrote:THIS MAP HAS BEEN POSTPONED FOR NOW I'LL RE-DEVELOP WHEN I HAVE COMPLETED MY MAPPING TRAINING
User avatar
Professor Layton
Forum Hero
 
Posts: 2333
Joined: Mon Apr 04, 05 3:17 pm
Location: Critical thinking is the key to success!

Postby ~ô¿ô~Nobody~ » Thu May 20, 10 1:46 pm

L:\ is cool

I got it on E:\ like dEusEx :o
Nobody is perfect...
------------------------------
Longc[A]t wrote:I still think Dae is a russian spambot.

~[A]Daedalus~ wrote:There will be a day when my patience goes away and you, along with all who rant with you, will get banned.

ô¿ô¥[GODZ]¥NOCHANC wrote:I can ban any one I want ANY time I want. You have no rights here.
User avatar
~ô¿ô~Nobody~
Alpha
 
Posts: 2520
Joined: Fri Dec 31, 04 3:20 pm
Location: Proclarush Taonas

Postby Shinobi » Wed Apr 20, 11 2:26 pm

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??
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


Return to Technical issues

Who is online

Users browsing this forum: No registered users and 9 guests