deusexhq

Server Starter

Windows

Create a text file in your Deus Ex/System folder. Open it up, and place in the following code:

@ECHO OFF title Server starter

echo. Starting...

deusex.exe DXMP_CMD?Game=DXMTL152b1.MTLTeam -server -LOG=server.log > NUL



Edit the code to your desire.

DXMP_CMD - Your map of choice.

?Game=xxx - Your gametype, leave default if you don’t know what you’re doing. THIS requires the DXMTL mod installed. Other options include DXMTL152b1.MTLDeathmatch. It is possible to use without MTL, but it is NOT RECOMMENDED. But if you insist, the format is DeusEx.DeathMatchGame or DeusEx.TeamDeathmatch

Additional, adding ?Mutator=x after the Game string lets you force load mutators, example; map?Game=gametypestring?Mutator=mPack1.WeaponSelector

The -Log=xxx flag lets you define a custom log file name, default is Server.log, which keeps a track of your entire server log while running. Renaming this isn’t important really, but its an option.
Another optional flag is -ini=xxx, which lets you define a seperate .ini file, instead of using the default DeusEx.ini.

Once modified to your choice, save the file as ServerStarter.bat From now on, clicking on the new file will execute that code, starting the server. To edit it later, just right click and Edit.

Linux


(Specifically Debian XFCE environment, others may vary. Also assuming you installed via Wine and running the Windows install since DX isn’t officially supported.)
In your environment of choice, create a new Launcher file or .desktop file, through whatever package you use to manage those. For the Command, enter

wine "C:\Deus Ex GOTY\System\deusex.exe" DXMP_CMD?Game=DXMTL152b1.MTLTeam -server -LOG=server.log > NUL



The Path to the deusex.exe varies, this is the default for GOG. And varies depending on how you installed it, through Wine or Steam Linux, check that up yourself. The rest of the code functions the same as the Windows version.

Give it a name, untick Run in Terminal to save screen clutter and make it run more seamlessly, and save.

Written by Kaiser

Victory Conditions

Altering the Victory trigger of your server is a common alteration, and varies from server to server. The two default triggers are Frags and Time limit. Depending on the server, you will want to assign an appropiate "trigger". When this trigger is reach (The time limit ends or a player gets enough kills) then the match will end.

There are two ways to alter the Victory trigger of your server, I will show you the Basic method (Recommended) and the Advanced method. I recommend using the Basic methods, but if this is not possible (Due to errors) then attempt the Advanced method. You only need to do one, so choose before going on.

   Basic Method:

Firstly, run Deus Ex. Once the application has loaded, click on Multiplayer;

Multiplayer Tab 

Then Internet Game;

OnlineTab

Then on Host Game;

Host Tab

You will be displayed with an image similar to this:

OnlineOptions

This is my default server set-up, yours will be different if you haven't changed it however. You can see that my mouse is over the Victory Trigger (Refered to as the "Condition" here.) Clicking on this will alter and rotate between these two options:

TimeOption

This is the Time Limit trigger. When the set time limit runs out (Here you can see it is 30 Minutes), the game will end.

KillLimit

This is the Kill Limit trigger. When any player reachers the kill limit (Here you can see it is 100 Kills, abit high!), the game will end.

After choosing the option you would like, continue to alter the other settings (Initial Augumentations, Maximum Players, Map etc). Once this is done, decide what server you would prefer to run, Dedicated (The game will close and be run in a console, you can re-join the game), or Non-Dedicated (Your game will not close and you will be running the server directly. You will not be able to quit the game without disconnecting the server).

Finally, hit Start Game!

   Advanced Method:

Open DeusEx.ini, (DXINI ) and locate this area:

MPOptions

You will notice these two areas:

TrigOp

These can be altered, but entering the wrong details can result in host instability, so stick with the Basic Option unless you know what your doing!

After the = sign before VictoryCondition, you can enter two options (As was shown above), Frags and Time. As you can see above, Frags is already entered. If a server were hosted with the above settings, the Trigger would be 100 kills to win. Once again, the two options are:

VictoryCondition=Frags

VictoryCondition=Time

 

You can copy and paste one of the above into your DeusEx.ini if you wish.

The ScoreToWin can be altered to anything between 0-99999999. Whatever your victory condition is, it will be applicable to the ScoreToWin.

Happy Hosting!

Installing mods

Place files in the propor directories inside the Deus Ex game folder;

.u - /System/
.utx - /Textures/
.uax - /Sounds/
.umx - /Music/
.int - /System/
.ini - /System/

Open up DeusEx.ini and find the ServerPackages list, it’ll look like;

[DeusEx.DeusExGameEngine]
CacheSizeMegs=4
UseSound=True
ServerActors=IpDrv.UdpBeacon
ServerActors=Nephthys.NptServerQuery
ServerActors=Nephthys.NptServerUplink MasterServerAddress=master.333networks.com MasterServerPort=27900 ServerActors=Nephthys.NptServerUplink
MasterServerAddress=master0.gamespy.com MasterServerPort=27900 ServerActors=Nephthys.NptServerUplink MasterServerAddress=master.epicgames.com MasterServerPort=27900
ServerActors=Nephthys.NptServerUplink MasterServerAddress=master.fragaholic.com MasterServerPort=27900
ServerPackages=DXMTL152b1

At the end of that list, add the .u file name to the list, without the .u, for example, if we have a mod called AM.u, we’ll add ServerPackages=AM If the mod has a mutator or actor that should be spawned always in the server, the format is ServerActors=PackageName.ClassName, example; ServerActors=AM.AMutator

Port Forwarding

Note; Some information here may be outdated.

A router blocks a lot of unknown Internet connections, so if you try to host a Deus Ex server, and you have a router, it is possible that your server will not show up in the server list. We are going to solve that.

First, go here and look up your router for the manual on how-to-forward-ports (in the list of games find "Dues Ex", apparently it's mispelt there). When you fully understand the manual on portforward.com, we may continue.

For a Deus Ex server, you need to forward the following ports: 7790, 7791, 7792, 8777, 27900. You need to open these ports in these ways: TCP + UDP. I have no experience in TCP or UDP alone, so if you can't choose both, try TCP first.

So... if you know how to forward ports, and you forwarded those ports, it should be just fine, and you should be able to host. Sometimes it is not only the router which blocks it. After you opened the ports, and it's still not solved, disable the Windows Firewall, just for a test, you can enable this again after testing your server.

How to disable Windows Firewall (it's present only in Windows XP):


Start -> Configuration -> Classic View (only if you have Windows XP) -> Network Connections -> Right click on your connection -> Properties -> Advanced. In that window, you may disable it. Notice: It is possible that your Windows Firewall configuraration is somewhere else. Try to Google where it is located in your operational system.

Written by Alex.

Nephthys Web support

I will explain in detail how to operate Nephthys WebSupport on your server. I will split this tutorial up into 5 core sections.

I. What does it do?
II. Getting started (the basics)
III. Starting WebSupport
IV. Finer details
V. Questions/comments.

What does it do?

Nephthys is a "native mod for Unreal1 engine based servers which intends IpDrv by efficient attack blocking, banning, player logging and other features" (taken from Nephthys Documentation). Simply put, it blocks attacks and other glitches/bugs on the server. It also includes other features such as WebSupport which we will be concentrating on today.

Getting started

Firstly, make sure you have at least one map or mod. You will require one of these before continuing. Next we need to place it in a ZIP Folder. If you’re un-aware how to do this; Here’s a brief explanation:

Go to My Documents -> File -> New -> ZIP folder.

Depending on what program you have, it may look different or have a different name. The 3 most popular known to me are...

WinRar. This looks like:

 

 

Default Zip Folder. Looks Like:

 

 

 

WinZip. This looks like:

 

WinZip

 

Ok, so trusting you have now created a Zip Folder, give it a suitable name, perhaps the name of your mod/map. Drag either your map or mod into it so you now have a copy of it in your Zip folder.

This is the slightly more complicated part. We need to find an upload server which allows GameServer support files.  I suppose they wouldn't technically know unless someone informed the site staff that’s what you were using it for. Once you have found an upload server that allows this, upload your ZIP file with your file in it. You should be given a URL which you can click to download your map/mod from the internet.

Note: If you have a server with FTP access E.C.T. Or forums with an attachment mod, then simply use that. If not, heres my alternative:

Ok, I’ve found a free upload server; seems simple enough: http://www.100webspace.com Register, login, click FileManager. You can adjust the other settings later on. Now we need to get to your directory (Or 'path'). You can tell if your there by looking at this section:

 

 

The part in red should display your UserName.100webspace.net/

If it just displays something like Current Path: / Then click on the folder "www." This Looks like:

 

 

Then click on your website name which should be displayed in the folder, and you should now see your directory bar is displaying your full web address.

Don't worry if it already displays your full 'Path' Name, just ignore that last part and continue from here:

Ok, now your there, click 'create folder' at the bottom of the page (put in a desciptive name like "Server Files" first). Then click on the created folder. Now your inside that folder, click Browse and upload your DeusEx file thats inside the zip Folder!). In your conformation email, you would have been informed of your Web URL. Click this link now and see if your recently created folder with the file in is their. If not, youv'e done something wrong and need to go back and do it again!

Now, assuming you can see your uploaded file, right click the filename and click on properties, for help look at this:

Now, when properties is clicked, you should be displayed with a box like this:

 

You see Address (URL): then - a website address. Copy that address (highlight it, then Ctr +l C) To make sure it works, paste the URL into a web browser, where the address is displayed and you should be given the download.

Starting WebSupport

This part is quite simple in comparison to previous. Firstly, we need to run DeusEx and start a dedicated server (Multiplayer > Internet games -> Host a Server -> Change Server Type to Dedicated -> Start server). This can also be done with non-dedicated severs, but it’s tedious and takes a long time. You should now be on your windows screen as DeusEx would have closed itself if you started a dedicated server. In the ToolTray (by the clock in the bottom right hand corner) you will see a little Deus Ex sign. This indicated your dedicated server is running. Right click this and you should be displayed with 3 options. ServerConsole, Advanced Settings and Close server. Click on ServerConsole. You will notice you are displayed with a lot of highly useless information which you needn't pay attention too. Now at the bottom of the ServerConsole you will see a >| indicating you can type. Now you can't perform commands such as kick or ban, but you can perform specialist Nephthys commands. All Nephthys commands must begin with npt before them. So it would look like npt god (but you will be displayed with an error trying to do that command). For WebSupport, we need to type:

npt web support *URL* The URL being the one you got earlier from uploading your mod/map.

So it may look something like...

npt web support http://www.ExampleHost.com/upload/ExampleLink/ServerFile.zip

You should now be displayed with "Processing *URL*" Then "Downloading *URL*" Then it should say something like...

Needed: http://www..... E.C.T... Your URL should be here.

Heres a screenshot if you’re confused: 

 

  (Sorry, picture is really blurry! But you can make out what it says; Needed *Then a URL*)

And were done! Restart your server and when someone with Nephthys installed needs to download a map/mod you have uploaded they will download from the URL creating 0 download-lag for you and increased download speed for them!

Finer details

Questions/comments

Please download Nephthys from http://www.dxalpha.com/forum/download.php?id=2907 

If you don't have an above standard connection, (I myself don't) and you host a server, download lag IS a problem, please help to avert this by downloading Nephthys, so you download from the URL rather than the server. Thanks.

Special Thanks to Zora for help, and of course Gishank for his Server as an example!