D3 Dedicated Server on Windows Tutorial (w/o servertool)
Posted: Fri Jun 16, 2006 7:47 am
OK, since I can't find my old explanations anymore I wrote this new from the scratch.
First of all: I recommend to use the D3Servertool V.3 from DE-Hunter which can be downloaded for free at: http://www.dateiliste.com/en/descent-3/ ... rver3.html
OK, but to get back on topic, here we go WITHOUT ANY tools except notepad :
Do_Checkor's D3-Dedi-Tutorial 2019 Version 1.4
First of all:
You need to read the COMPLETE tutorial VERY carefully before you do anything else (make files etc.).
Change the folder \"C:\\Descent3\\\" to match YOUR folder, EVERYWHERE you find it below...
Please add a new folder into your Descent3 root named \"DEDI\" to put configfiles in.
Make new text-files with the file-names as shown after \"File: \" (rightclick in windows-explorer -> new -> TXT - Notepad will be opened) and paste the content as described below. After adjusting the settings to your needs save the file (NO .TXT AT THE END !).
MAKE SURE THERE ARE NO BLANK CHARACTERS / SPACES AT THE END OF EACH LINE - THIS WILL CAUSE AN ERROR ! Don't know why but copying from forums to editor causes to automatically add browsers whitespaces sometimes...
A better way to get these files would be to download them by clicking on the link under each description. But you NEED TO CHECK EVERY FILE REGARDING IT'S CONTENT. Servernames, Missions, Passwords, etc. must to be changed on your own. You can open ALL files in notepad (shift+rightclick them -> open with -> notepad) to edit them.
This is just an example or call it recommendation:
File: C:\\Descent3\\DEDI\\dedicated_1.cfg
http://www.Descentforum.NET/ServerOps/d ... ated_1.cfg
Remember to either delete (if you don't want a .mps file) the line \"MultiSettingsFile=C:\\Descent3\\DEDI\\adv_settings_1.mps\" in the 2nd row or adjust it to match your directory. Same with the remote console: in the example it is turned OFF (AllowRemoteConsole=0) but I left the necessary config-lines, so if you really want it, change it to \"AllowRemoteConsole=1\" which MAY cause crashes by bugusers. The Password \"YOUR_PASSWORD_HERE\" should be changed too in case you turn remote console ON...
File: C:\\Descent3\\DEDI\\adv_settings_1.mps (this is OPTIONAL: if you want to ban the Black Pyro for example:)
http://www.Descentforum.NET/ServerOps/d ... ings_1.mps
If you DON'T want this file / settings you need to delete the 2. row of your dedicated_1.cfg which refers to this file...
The next file is for getting your game into the serverlists of Vortex, Kali, d3.descent.cx, gamespy, kquery and so on. This one may NOT be created in your DEDI folder as it would not work. It needs to be in your D3 main folder:
File: C:\\Descent3\\trackers.cfg (For use in USA, leave the 0's and the spaces like shown - one space before and one after - this is VERY important!)
http://www.Descentforum.NET/ServerOps/d ... ackers.cfg
File: C:\\Descent3\\trackers_eu.cfg (For use in Europe, leave the 7's and the spaces like shown - one space before and one after - this is VERY important!) REMEMBER TO CHANGE the filename in your StartDedi_1.bat (see below) from \"trackers.cfg\" to \"trackers_eu.cfg\" if you are from europe...
http://www.Descentforum.NET/ServerOps/d ... ers_eu.cfg
File: C:\\Descent3\\DEDI\\StartDedi_1.bat (for each server-instance a new batchfile. Set a unique dedicated.cfg, useport, tempdir and gamespyport for each one)
You need to create the FOLDER (directory) for each tempdir first with the Windows Explorer (example:
C:\\Descent3\\custom\\cache\\dedi1\\
C:\\Descent3\\custom\\cache\\dedi2\\
C:\\Descent3\\custom\\cache\\dedi3\\ and so on - depends on how many dedis you start... )
(Sidenote: It doesn't matter where you set the tempdir to, but 1. you need to set it if you want to run more than one dedi-instance, and 2. you need to refer to it within the .bat)
File: C:\\Descent3\\DEDI\\autoexec_1.dmfc (this is OPTIONAL: you can add a DMFC file to your server to adjust further settings. In case you want it, add \"-autoexec autoexec_1.dmfc\" to the end of the commandline in your StartDedi_1.bat
http://www.Descentforum.NET/ServerOps/d ... xec_1.dmfc
(Sidenote: The .DMFC will apply the commands AFTER the server launched successfully)
If you got a router or real firewall running you need to open the following ports and maybe forward them from the router to your dedi-machine, otherwise you won't see them in the trackerlists, Vortex, Kquery etc.:
-Port 2093 UDP (and further - depending how many instances you run)
-Port 20143 UDP (and further - depending how many instances you run)
If you can't chose \"UDP\" as the protocol try to find \"TCP + UDP\" as an option. If that is not available too and you can't chose the type of protocol it should work so or so (as standard is TCP+UDP).
Further infos for dedi-settings can be found at:
http://www.descentforum.net/serverops/d3dedi.htm
http://www.planetdescent.com/site/dcip/d3dedi/index.asp
good luck and best regards,
Martin \"Do_Checkor\" Timmermann
PPS: updated 2021-11-22
First of all: I recommend to use the D3Servertool V.3 from DE-Hunter which can be downloaded for free at: http://www.dateiliste.com/en/descent-3/ ... rver3.html
OK, but to get back on topic, here we go WITHOUT ANY tools except notepad :
Do_Checkor's D3-Dedi-Tutorial 2019 Version 1.4
First of all:
You need to read the COMPLETE tutorial VERY carefully before you do anything else (make files etc.).
Change the folder \"C:\\Descent3\\\" to match YOUR folder, EVERYWHERE you find it below...
Please add a new folder into your Descent3 root named \"DEDI\" to put configfiles in.
Make new text-files with the file-names as shown after \"File: \" (rightclick in windows-explorer -> new -> TXT - Notepad will be opened) and paste the content as described below. After adjusting the settings to your needs save the file (NO .TXT AT THE END !).
MAKE SURE THERE ARE NO BLANK CHARACTERS / SPACES AT THE END OF EACH LINE - THIS WILL CAUSE AN ERROR ! Don't know why but copying from forums to editor causes to automatically add browsers whitespaces sometimes...
A better way to get these files would be to download them by clicking on the link under each description. But you NEED TO CHECK EVERY FILE REGARDING IT'S CONTENT. Servernames, Missions, Passwords, etc. must to be changed on your own. You can open ALL files in notepad (shift+rightclick them -> open with -> notepad) to edit them.
This is just an example or call it recommendation:
File: C:\\Descent3\\DEDI\\dedicated_1.cfg
Code: Select all
[server config file]
MultiSettingsFile=C:\\Descent3\\DEDI\\adv_settings_1.mps
PPS=9
TimeLimit=120
KillGoal=0
MaxPlayers=6
GameName=CheckorsTutoServer#1
MissionName=Ascent.mn3
ScriptName=Anarchy
ConnectionName=Direct TCP~IP
SetLevel=1
SetDifficulty=2
GameSpyPort=20143
NumTeams=2
SetTeamDamage=0
AccurateCollisions=0
SendRotVel=0
BrightPlayers=0
Permissable=0
Peer2Peer=0
UseSmoothing=0
AllowMouselook=0
AllowRemoteConsole=0
RemoteConsolePort=22112
ConsolePassword=YOUR_PASSWORD_HERE
AllowAudioTaunts=1
AudioTauntDelay=5
RandomizeRespawn=1
RespawnTime=14
MOTD=Welcome to another server made by Do_Checkor's tutorial ;-)
DisallowPowerup=Microwave
DisallowPowerup=Omegacannon
DisallowPowerup=4packFrag
DisallowPowerup=4packGuided
DisallowPowerup=Blackshark
DisallowPowerup=Mega
DisallowPowerup=Betty4pack
DisallowPowerup=Chaff
DisallowPowerup=Cloak
DisallowPowerup=Converter
DisallowPowerup=GunboyPowerup
DisallowPowerup=HeadlightPowerup
DisallowPowerup=Invisiblepowerup
DisallowPowerup=Invulnerability
DisallowPowerup=NapalmTank
DisallowPowerup=ProxMinePowerup
DisallowPowerup=Rapidfire
DisallowPowerup=Seeker3pack
Remember to either delete (if you don't want a .mps file) the line \"MultiSettingsFile=C:\\Descent3\\DEDI\\adv_settings_1.mps\" in the 2nd row or adjust it to match your directory. Same with the remote console: in the example it is turned OFF (AllowRemoteConsole=0) but I left the necessary config-lines, so if you really want it, change it to \"AllowRemoteConsole=1\" which MAY cause crashes by bugusers. The Password \"YOUR_PASSWORD_HERE\" should be changed too in case you turn remote console ON...
File: C:\\Descent3\\DEDI\\adv_settings_1.mps (this is OPTIONAL: if you want to ban the Black Pyro for example:)
Code: Select all
name CheckorsTutoServer_1
ShipBan Black Pyro
If you DON'T want this file / settings you need to delete the 2. row of your dedicated_1.cfg which refers to this file...
The next file is for getting your game into the serverlists of Vortex, Kali, d3.descent.cx, gamespy, kquery and so on. This one may NOT be created in your DEDI folder as it would not work. It needs to be in your D3 main folder:
File: C:\\Descent3\\trackers.cfg (For use in USA, leave the 0's and the spaces like shown - one space before and one after - this is VERY important!)
Code: Select all
0
gsm.qtracker.com:27900
0
master0.gamespy.com:27900
0
tracker.descent.cx:27900
0
tsetsefly.de:27900
File: C:\\Descent3\\trackers_eu.cfg (For use in Europe, leave the 7's and the spaces like shown - one space before and one after - this is VERY important!) REMEMBER TO CHANGE the filename in your StartDedi_1.bat (see below) from \"trackers.cfg\" to \"trackers_eu.cfg\" if you are from europe...
Code: Select all
7
gsm.qtracker.com:27900
7
master0.gamespy.com:27900
7
tracker.descent.cx:27900
7
tsetsefly.de:27900
File: C:\\Descent3\\DEDI\\StartDedi_1.bat (for each server-instance a new batchfile. Set a unique dedicated.cfg, useport, tempdir and gamespyport for each one)
Code: Select all
start /D \"C:\\Descent3\\\" /min main.exe -launched -dedicated C:\\Descent3\\DEDI\\dedicated_1.cfg -gspyfile trackers.cfg -gamespyport 20143 -useport 2093 -framecap 250 -setdir C:\\Descent3 -tempdir C:\\Descent3\\custom\\cache\\dedi1\\
C:\\Descent3\\custom\\cache\\dedi1\\
C:\\Descent3\\custom\\cache\\dedi2\\
C:\\Descent3\\custom\\cache\\dedi3\\ and so on - depends on how many dedis you start... )
(Sidenote: It doesn't matter where you set the tempdir to, but 1. you need to set it if you want to run more than one dedi-instance, and 2. you need to refer to it within the .bat)
File: C:\\Descent3\\DEDI\\autoexec_1.dmfc (this is OPTIONAL: you can add a DMFC file to your server to adjust further settings. In case you want it, add \"-autoexec autoexec_1.dmfc\" to the end of the commandline in your StartDedi_1.bat
Code: Select all
RemoteAdminPass CHANGETHISPASSWORD
RemoteAdmin OFF
AllowTeamChange ON
AutoBalance ON
AutoSaveDisconnect ON
AutoSaveLevel ON
MinCount 3
MaxCount 12
ServerHudNames TEAM
KillMsgFilter NONE
(Sidenote: The .DMFC will apply the commands AFTER the server launched successfully)
If you got a router or real firewall running you need to open the following ports and maybe forward them from the router to your dedi-machine, otherwise you won't see them in the trackerlists, Vortex, Kquery etc.:
-Port 2093 UDP (and further - depending how many instances you run)
-Port 20143 UDP (and further - depending how many instances you run)
If you can't chose \"UDP\" as the protocol try to find \"TCP + UDP\" as an option. If that is not available too and you can't chose the type of protocol it should work so or so (as standard is TCP+UDP).
Further infos for dedi-settings can be found at:
http://www.descentforum.net/serverops/d3dedi.htm
http://www.planetdescent.com/site/dcip/d3dedi/index.asp
good luck and best regards,
Martin \"Do_Checkor\" Timmermann
PPS: updated 2021-11-22