New to hosting in Deus Ex? Check this guide.

All multiplayer related discussion.

Moderator: Forum Guards

New to hosting in Deus Ex? Check this guide.

Postby -HDD21- » Sat Jan 03, 09 11:53 am

So you are thinking of hosting yeah? And its all ready to setup? Well this is the best way to setup the server.

Host on a blank Deus Ex first. Then exit. Now go to the file:
c:\deusex\system\deusex.ini
And open it. First remove this line completely to remove any confusion:

ServerActors=IpServer.UdpServerUplink
MasterServerAddress=master.epicgames.com MasterServerPort=27900

(please note thats ONE LINE, DONT REMOVE THE OTHER TWO THAT ARE SIMILAR)

Then scroll down to this part:

[IpDrv.TcpNetDriver]
AllowDownloads=True
ConnectionTimeout=15.0
InitialConnectTimeout=500.0
AckTimeout=1.0
KeepAliveTime=1.0
MaxClientRate=20000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=20
LanServerMaxTickRate=35
StaticUpdateRate=12
DynamicUpdateRate=40

Now for the type of connection: On a homehost change this:

MaxClientRate=20000 to MaxClientRate=10000

If you are on a >10 mbit connection and have an upload greater than 1 MBPS this setting can be left alone.
Now this part:
NetServerMaxTickRate=20
If you are on a good quality system, and want a bit of a preformance boost with the server up it to 40 or 60
NetServerMaxTickRate=40
or
NetServerMaxTickRate=60

No more than 60 unless you know EXACTLY what you are doing.

For them who dont know, tickrate is how many times a second time passes in the game (im sure its that).
A higher tick consumes more recources, so if your PC or hosting machine is unstable, leave this setting well alone. I use a hosting machine for all my servers, i dont lag up my PC and remote desktop with logmein, much easier. It just sits in the corner 24/7 :)

[IpDrv.TcpNetDriver]
AllowDownloads=True
ConnectionTimeout=15.0
InitialConnectTimeout=500.0
AckTimeout=1.0
KeepAliveTime=1.0
MaxClientRate=10000
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=60
LanServerMaxTickRate=60
StaticUpdateRate=12
DynamicUpdateRate=40

This should suffice for most home servers.

Ignore this part:


[Engine.DemoRecDriver]
DemoSpectatorClass=UnrealShare.UnrealSpectator
MaxClientRate=25000
ConnectionTimeout=15.0
InitialConnectTimeout=500.0
AckTimeout=1.0
KeepAliveTime=1.0
SimLatency=0
RelevantTimeout=5.0
SpawnPrioritySeconds=1.0
ServerTravelPause=4.0
NetServerMaxTickRate=60
LanServerMaxTickRate=60

That isnt the true server tick.

Now find this part:

[Engine.GameReplicationInfo]
ServerName=
ShortName=

Ignore shortname, and put the servername here. Self explanitory.

[Engine.GameReplicationInfo]
ServerName=Blah
;ShortName=

Comment out shortname if you want. Always comment stuff in ini with ";".

And then save the file. Now its time for a test spin to make sure all is working before we go onto the next step. Dont bother loading DX to test;
go to command prompt and navigate to DeusEx system.

Type: deusex.exe DXMP_Cmd -server Log=Server.log

You can make a .bat file for this purpose.

Now check the server list. If its there then you have completed the first step. Now, exit DeusEx and shutdown the server. Now its time to set an adminpassword.

Now go to the part slightly above servername:

[Engine.GameInfo]
bLowGore=False
bMuteSpectators=True
bNoCheating=True
bAllowFOV=False
AutoAim=1.000000
GameSpeed=1.000000
MaxSpectators=2
AdminPassword=blah
GamePassword=
MaxPlayers=16
IPPolicies[0]=ACCEPT,*
IPPolicies[1]=
IPPolicies[2]=
IPPolicies[3]=
IPPolicies[4]=
IPPolicies[5]=
IPPolicies[6]=
IPPolicies[7]=
IPPolicies[8]=
IPPolicies[9]=
IPPolicies[10]=
IPPolicies[11]=
IPPolicies[12]=
IPPolicies[13]=
IPPolicies[14]=
IPPolicies[15]=
IPPolicies[16]=
IPPolicies[17]=
IPPolicies[18]=
IPPolicies[19]=
IPPolicies[20]=
IPPolicies[21]=
IPPolicies[22]=
IPPolicies[23]=
IPPolicies[24]=
IPPolicies[25]=
IPPolicies[26]=
IPPolicies[27]=
IPPolicies[28]=
IPPolicies[29]=
IPPolicies[30]=
IPPolicies[31]=
IPPolicies[32]=
IPPolicies[33]=
IPPolicies[34]=
IPPolicies[35]=
IPPolicies[36]=
IPPolicies[37]=
IPPolicies[38]=
IPPolicies[39]=
IPPolicies[40]=
IPPolicies[41]=
IPPolicies[42]=
IPPolicies[43]=
IPPolicies[44]=
IPPolicies[45]=
IPPolicies[46]=
IPPolicies[47]=
IPPolicies[48]=
IPPolicies[49]=
ServerLogName=server.log
bLocalLog=True
bWorldLog=True
bBatchLocal=False
DemoBuild=0
DemoHasTuts=0
bNoMonsters=False
bHumansOnly=False
bCoopWeaponMode=False
bClassicDeathMessages=False

And you can change stuff.
Set the A password like so:
AdminPassword=blah

On a slow connection, restrict the slotcount to something like 8. or to whatever you wish:
MaxPlayers=10

ignore this part unless you want the server private:
GamePassword=

that sets a server password.

Save the ini and again start the server to make sure all is planned. After test, close it and begin with the installing of maps and mods. Before you go all crazy with the array of choice;

There are two ESSENTIAL mods. First one is called DXMTL. To make it all simple, ill link to the verson with the self installer:

http://download.deusexnetwork.com/index ... %2Fmods%2F

And go to the file:
DXMTL-v152b1-installer.zip

And download it.

Extract it and MAKE SURE THE SERVER IS OFF and DX is closed.
Run the installer and follow the onscreen instructions. Dont install the mutator pack, i dont think its needed (well it wasn't for me).

And start the server again. You should in the serverlist see the gametype as default "MTLDeathMatch". If so, all is going to plan. To change the gametype, you can do this yourself at hosting screen, or do it from the ini.

To do it from ini: Turn off the server and open up DeusEx.ini

Go to here:


[Engine.Engine]
GameRenderDevice=OpenGLDrv.OpenGLRenderDevice
AudioDevice=Galaxy.GalaxyAudioSubsystem
NetworkDevice=IpDrv.TcpNetDriver
DemoRecordingDevice=Engine.DemoRecDriver
Console=Engine.Console
Language=int
GameEngine=DeusEx.DeusExGameEngine
EditorEngine=Editor.EditorEngine
WindowedRenderDevice=SoftDrv.SoftwareRenderDevice
RenderDevice=GlideDrv.GlideRenderDevice
DefaultGame=DXMTL152b1.MTLGameInfo
DefaultServerGame=DXMTL152b1.MTLDeathMatch
ViewportManager=WinDrv.WindowsClient
Render=Render.Render
Input=Extension.InputExt
Canvas=Engine.Canvas
Root=DeusEx.DeusExRootWindow
CdPath=

And change this to any of the following:


DefaultServerGame=DXMTL152b1.MTLDeathMatch

DefaultServerGame=DXMTL152b1.MTLTeam

DefaultServerGame=DXMTL152b1.MTLAdvTeam

DefaultServerGame=DXMTL152b1.MTLBasicTeam

The names are explantory.

MTLTeam is CTDM.

To change the settings like time limit and kill limit etc, scroll down to this part which will now be there:

[DeusEx.DeusExMPGame]
SkillsTotal=0
SkillsAvail=0
SkillsPerKill=0
InitialAugs=9
AugsPerKill=0
ScoreToWin=20
VictoryCondition=Frags
MPSkillStartLevel=3
CurrentMap=DXMP_Cmd
fFriendlyFireMult=0.500000
bTrackWeapons=False
bNoMonsters=False
bHumansOnly=False
bCoopWeaponMode=False
bClassicDeathMessages=False

If its BasicTeam Or AdvTeam, theese settings will be overridden:

SkillsTotal=0
SkillsAvail=0
SkillsPerKill=0
InitialAugs=9
AugsPerKill=0

If its MTLTeam:

SkillsTotal=0 - how many you can get max.
SkillsAvail=0 - how many skills you start with
SkillsPerKill=0 - ammount of skills you get per kill
InitialAugs=9 - ammount of augs you start with
AugsPerKill=0 - ammount of augs you get per kill.


Now go here:

VictoryCondition=Frags
MPSkillStartLevel=3
ScoreToWin=20

You can change this to: "Frags" Or "Time" (without quotes)

VictoryCondition=Time
ScoreToWin=20 - How many kills end the match if set to "frags" or how many minuites time each match has.
MPSkillStartLevel - 1 = trained 2 = Advanced 3= Master

VictoryCondition=Frags
MPSkillStartLevel=2
ScoreToWin=30

This example:
30 kills to win, advanced skill start level.


Now save ini and retest. Once thats done, open it up and go to this part:


[DeusEx.dxmaplist]
Maps[0]=DXMP_Silo
Maps[1]=DXMP_Area51Bunker
Maps[2]=DXMP_Cathedral
Maps[3]=DXMP_Cmd
Maps[4]=DXMP_Smuggler
Maps[5]=
Maps[6]=
Maps[7]=
Maps[8]=
Maps[9]=
Maps[10]=
Maps[11]=
Maps[12]=
Maps[13]=
Maps[14]=
Maps[15]=
Maps[16]=
Maps[17]=
Maps[18]=
Maps[19]=
Maps[20]=
Maps[21]=
Maps[22]=
Maps[23]=
Maps[24]=
Maps[25]=
Maps[26]=
Maps[27]=
Maps[28]=
Maps[29]=
Maps[30]=
Maps[31]=
MapSizes[0]=(6-10)
MapSizes[1]=(8-14)
MapSizes[2]=(8-14)
MapSizes[3]=(12-16)
MapSizes[4]=(2-6)
MapSizes[5]=
MapSizes[6]=
MapSizes[7]=
MapSizes[8]=
MapSizes[9]=
MapSizes[10]=
MapSizes[11]=
MapSizes[12]=
MapSizes[13]=
MapSizes[14]=
MapSizes[15]=
MapSizes[16]=
MapSizes[17]=
MapSizes[18]=
MapSizes[19]=
MapSizes[20]=
MapSizes[21]=
MapSizes[22]=
MapSizes[23]=
MapSizes[24]=
MapSizes[25]=
MapSizes[26]=
MapSizes[27]=
MapSizes[28]=
MapSizes[29]=
MapSizes[30]=
MapSizes[31]=
MapNum=4
CycleType=0

We are not adding any custom maps yet, Go here:

CycleType=0

And change it to how you want maps to loop:

0 = Repeat map
1 = Random map
2 = Loop maps

Save ini and retest for a while.

You now have a basic Fight Server.

Now you need to install the next CRUCIAL security mod; nepthys. Make sure the server is closed.

Go here and scroll to third from bottom one:

http://download.deusexnetwork.com/index ... %2Fmods%2F

Nephthys_v1.4a100_inst

And download and extract. Its another self installer. Follow onscreen instructions. Piece of cake.

Now to verify its installed correctly start the server. If it works normally, close it. And your server is protected by nepthys. Make sure the console doesnt show:

"Missing NptServerQuery in server actors" etc. If all is done correct it wont. If it appears uninstall and PM me or ask here for assistance.

Here are commands that can be done in console via nepthys:

npt ban new IP=IpAddressOrRangehere

to do ranges:

npt ban new ip=startingiprange-endrange
example: npt ban new ip=82.32.45.0-82.32.45.255
This is no ones that i know of, just a random. So dont insert it, you may loose a few players. By default this will block them from seeing the server.

It will say "Ban intry inserted: #0 S=0 D=0"

And then for the next

"Ban intry inserted: #1 S=0 D=0"
And so fourth.
S=0 means: how many times server querying was blocked.
D=0 Means: How many times the player was dropped when trying to connect.

to remove an entry:

npt ban remove #* (replace * with the number of the entry you want removed). To get the ban list type:

npt ban list

You can also ban playernames like:
npt ban new name=

And thats it for nepthys.

I wont go over how to install custom maps, ill do that in a seperate topic. This one is long enough.


Now if you want make the command line: deusex.exe DXMP_Cmd -server Log=Server.log

into a batch file in DeusEx system go ahead. Sometimes easier. Or just start it from the serverlist.

Change "DXMP_Cmd" to whatever map you want. If you have problems, post your server.log here.

Thanks for reading and enjoy your server :)
Last edited by -HDD21- on Sat Jan 03, 09 11:56 am, edited 1 time in total.
User avatar
-HDD21-
Wannabe
 
Posts: 87
Joined: Sat Jan 03, 09 1:38 am

Return to Multiplayer

Who is online

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