- Details
- Written by: INsane
- Category: Day of Defeat Server Guides
- Hits: 10337


Sections |
1. Introduction |
2. SteamCMD install |
3. Server set up |
4. Server Admin Mods |
5. Add ShrikeBot |
6. Add SturmBot |
7. Add Maps - edit files |
You can approach playing day of defeat (with bots) a couple of ways, online via a dedicated server, on a Listenserver at your own PC or as in this case a dedicated server on your home network.
Why? Its a far better experience for little effort if you are after a single player mode for day of defeat.
Being a ex-clan leader and server admin I missed having admin menus and mods and let’s face it a listenserver even on a 2015-2020 gaming level PC with a lot of mods running and maximum bots running tends to get a little buggy.
This guide is for someone who may want to have total control over the Day of Defeat single player mode (bots) and maybe even host a LAN party for not only dod (with fill in bots) but also a Counter-Strike 1.6, Half-Life 1 and even Day of Defeat: Source or any other server that uses SteamCMD and the 2013 "SteamPipe" content system.
I used an old ASUS X43U laptop for this guide, it only just runs windows 10. It can only just play a 1080p video on YouTube and 720p is its actual limit. It had 4 gig of ram and a terrible (worse than celeron) AMD Fusion APU C-50 dual-core processor from 2011.
Note that test PC was running windows 7 so before I started I upgraded it to windows 10... for free in April 2020. Apparently if you do it correctly you can still upgrade it for free. But this should work for WinXP Win 7 and Win 8.1 too.
Its because most gamers will likely have something like this lying around that is too low powered to run games but will run a simple game server on a local home network. I would advise you use Ethernet for the connection.
For persons that have never set up a dedicated server with admin mods and always wanted a step by step guide, then this one is for you.
The set up is the same for a online dedicated server only... you are not remotely connecting to the server.
Grab that old laptop or PC out of storage, fire it up and lets go.
There is a lot of information on this for online dedicated servers. We need to download and install the common base for HL1 and Source dedicated servers. Its the same for a local LAN PC the difference is we have physical access to the server OS and file system.
Go here for the full story That official guide can be a little confusing (daunting for most) as it has multiple OS instructions.
See below for an easy windows only step by step guide.
I will write it as if you have not used the console before. Don't let that console scare you... its at an easy novice level.
We will be making one folder on the C:\ drive and a separate one (via command line in a console) for Half -Life and Day of Defeat.
Set up the main directory.
C:\Users\yourname>_
cd C:\steamcmd
steamcmd
Before we continue, installed Half-Life 2 server files before?
We are about to make a new folder called "c:\server\".
The warning is ONLY for persons who may have installed Half-Life 2 games in a "c:\server\" directory folder.
That way steamcmd doesn't overwrite HL1 files over HL2 server files.
Just remember later on in the guide when I mention C:\server, yours will now be C:\server_hl1.
For those that haven't installed other server files to "c:\server\" directory folder, please continue.
force_install_dir c:\server\
login anonymous
|
app_set_config 90 mod dod
app_update 90 validate
Note: if you get an error like the yellow highlight in the image below, just run this command again…
app_update 90 validate
quit
We want to test it next and seeing we are on a PC connected to a local LAN its a simple task involving making and altering a desktop shortcut.
-console -game dod +port 27015 +map dod_anzio -autoupdate +maxplayers 16
So all together its…
C:\server\hlds.exe -console -game dod +port 27015 +map dod_anzio -autoupdate +maxplayers 16
Important - PRESS THE “Apply” BUTTON … then the “OK” button.
quit
There is some more (optional) reading on commands to place in the desktop shortcut target box.
Read about the Command line options here. Read this for HL1 games.
There are other ways to start a dedicated server remotely but for a PC on your local LAN… the above is simple and maybe all you need.
Important - Stop here: In the steps below I have links to downloads and you have a choice.
Easy or Hard and comprehensive. I have done this as in the "Easy" download the main mods may get outdated. (Made in 2019)
If you picked EASY - from now on every time you see this icon mentioned below (? Download not required for easy mode) telling you to download and install files...
hostname "DoD v1.2”
hostname "Dave's DoD"
//rcon_password "rconhere"
rcon_password "dave007"
//mp_flashlight 1
mp_flashlight 1
mp_alliesclasses -1
mp_axisclasses -1
mp_spawnbazookas 1
As you progress as a server admin you may want to explore commands in more depth.
I have a server.cfg generator on dodbits, its a php script with adjustable values for the common commands and at the end generates a server.cfg file. You can fine tune much more than the outdated server.cfg that comes with the SteamCMD install.
So now we have the base for a personalised dod dedicated server.
Next is to install some admin mods so you can control the server like a online server admin.
While the Mods are not required they will help control the server, add a bit of fun (like the medic plugin) and they can also help with some crashes and poor maps.
Steps in the installer (? Steps 1-7 not required for easy mode)
If you go to your dod folder in “C:\server” you will note there is a new folder called “addons” and inside are two folders called "metamod" and "amxmodx".
Basically it's OK to go right now metamod is installed and there is a plugins.ini file in the metamod folder click on it and notepad++ is likely associated with .ini files already, (if not, click here and redo the steps to associate that file type) and you can see it has a line in there …
win32 addons/amxmodx/dlls/amxmodx_mm.dll
...that will start the AMX Mod X mod and allow the plugins to work.
The installer (or my easy mode download) has completed one edit to the game files.
Its one file to remember in Bot programs as it is one file that gets configured incorrectly it will crash a server, make your mods and bot programs fail.
It's called the "libist.gam" file and it's in the "dod" folder.
About the liblist.gam file. Lets take a quick break from the install and learn about it.
gamedll "addons\metamod\dlls\metamod.dll"
gamedll_linux "addons/metamod/dlls/metamod.so"
gamedll_osx "addons/metamod/dlls/metamod.dylib"
So you could run the server again if you wish as the server admin mods are on, but one more thing is required, we need to edit a file to make you an admin and you need to bind a command on your player PC so you have access to the server. We need to edit one file first.
Adding Admin access is the next step.
"STEAM_0:0:123456" "" "abcdefghijklmnopqrstu" "ce"
In the above settings I have assumed you have a default server.cfg, things to note about the admin access in the users.ini is the server type.
For example, if you have set sv_lan "1" in the server.cfg it means your server is only going to work on the local LAN. That will need another method of adding an admin. Also there is a further method for listenservers. There are three methods for 3 server types.
Now you have admin access but… on the client PC you must also install a bind to the console command “amxmodmenu”
Note: Instructions on using the developer console is here on the VALVe wiki.
bind F11 amxmodmenu
While you are in there do another bind for a medic mod I included in the easy mode download. That one is for the popular dod Medic plugin, your health goes to 20% and you say “medic” in chat it will replace your health, like bandaging in dod_3.1 Beta.
bind MOUSE4 say medic
OK if all that worked we have the mods working to a basic level.
You may have noticed there are some "greyed out" or disabled items in the menu like teleport. They are disabled by default. In C:\\server\dod\addons\amxmodx\configs folder find a file called plugins.ini and take away the ";" before this line...
;telemenu.amxx ; teleport menu (Fun Module required!)
...they did that because you need the fun module installed and enabled (in modules.ini).
As you can see the subject of plugins can get complex and that's a whole new article that would make this one seem small.
You may want to pause and bookmark a couple of AMX Mod X pages for further reading down the track…
For now, let's continue and install a bot or two.
We have a choice of two bot programs, Shrikebot or Sturmbot. Each has it own strengths and weaknesses. I actually like them both and its OK to install both and switch between them… if you do it correctly.
Let’s do Shrikebot first as it is the friendliest to set up and use.
ShrikeBot is installed. It now needs a further configuration to run.
We are now going to alter the server command line via the desktop shortcut “hlds - Shortcut”.
(? Steps 1-4 not required for easy mode - you alredy have this shortcut)
1. Right click on “hlds - Shortcut” like we did when we set up the server.
2. We need to tack on this line (remember to make a space on the last character of the command alredy in there) ...
+localinfo mm_gamedll "dlls/shrikebot.dll"
3. So the whole thing looks like this with the new command on the end...
C:\server\hlds.exe -console -game dod +port 27015 +map dod_anzio -autoupdate +maxplayers 16 +localinfo mm_gamedll "dlls/shrikebot.dll"
4. Press “Apply” and “OK”.
What does that do?
Well that avoids the traditional method to run the bot program on a client PC (in the Bots manual second window from the top) of editing the libist.gam file, in this case we are using an admin Mod see - About the liblist.gam file where we use it to run the admin mods.
We can’t use that client PC method in this case as the metamod .dll file is using that file and the liblist.gam file can only start one plug-in (admin mod or bot program).
By this method of desktop shortcuts both the server mods and bot mods will work.
The liblist.gam file starts the admin mods and the desktop shortcut starts the bot mods. No conflicts!
We are now ready to test the server.
Note I have edited one of the ShrikeBot files to fill a 16 bot server, more on how to change that later let’s run it first for a check.
There is much more you could do at this point to configure ShrikeBot, add AMX Mod plugins and server refinements, I will not go into those, we are still installing.
Remember we can have two bot systems, ShrikeBot is now installed so let’s install Sturmbot and figure out how to start the server with either bot.
Now we can install SturmBot.
+localinfo mm_gamedll "sturmbot/dlls/STURM_bot.dll"
C:\server\hlds.exe -console -game dod +port 27015 +map dod_anzio -autoupdate +maxplayers 16 +localinfo mm_gamedll "sturmbot/dlls/STURM_bot.dll"
Now we can test Sturmbot and ShrikeBot, I have already configured the bot files in the download.
Note if you see bots wandering around spawn and not navgating or getting stuck it could be where you get your waypoint download from.
You could have the wrong file, waypoints like dod_anzio from the SturmBot version 1.6… that have issues in the axis spawn door is likely your problem.
Point is get all your Sturmbot files from this site and read the readme as there are certain files to delete to make waypoints work correctly in Sturmbot. Always get the latest waypoints.
I will may add ShrikeBot files in the future, the ones in my easy download are standard.
Enough of that, we will cover some more items about adjusting the server.
The bot files I gave you were both adjusted for a 16 player server.
The server is a 16 player server If you want to adjust that up or down, we need to edit some files.
Server sizes and Bot settings:
32 (Max), great for large maps and more a feel of a pub server but get very busy if you play the smaller orange maps a lot.
16 - 20 is a good size that you could say is average and likely a good setting for a LAN party with a few friends over.
8-14 is what you get in match play and on large maps could get a boring.
Adjust the total slots for the server:
mp_timelimit <number> Game time per map in minutes.
mp_timelimit 15
You should be mindful here that total player and bot numbers increase load on the server and there are separate settings for the server player slot numbers (set in the command line) as a total and bot numbers (set in the bot files).
It isn't a great idea to set to the server to a maximum of 32 players then set the bot files the same, you may not be able to join the server.
Say you set the server command line in the shortcut to maxplayers 32. Then you set the bot config files the same... it will fill with bots and not you.
Adjust the Bot files:
max_bots 16
min_bots 8
max_bots 30
min_bots 30
Try a min of 30 and a max of 30. It will give you a 15 per side server with you in there too.
min_bots 8
max_bots 16
min_bots 30
max_bots 30
If you are hosting a local LAN and have issues with "Human" players joining and bots not leaving, your problem may be solved by a quick edit (shut the server down first) to those settings in the bot folder of the server.
Next is a matter of firing up the server, adjusting that to your taste.
You may also want to adjust the default skill level of the bots. Both of the bots have a manual to read in the server files.
We are actually finished the guide but the server at this stage will only play the default maps day of defeat comes with.
Next we can add some custom maps.
You may or may not want to do this part but if you are asking some friends over its likely they will all want a favourite map played that not everyone else has, including the server.
When you add them to the server the other players will be able to either download them too or download them off the server as the map loads for everyone who has it.
Sturmbot.org - Day of Defeat Steam Maps section. They come with Sturmbot waypoints that were edited, tested and placed there in 2019.
17s Buddies. A huge amount. There is a lot of good maps and some are bad. Unlike my downloads they are not screened for bad files (I test everyone of my map downloads) so...be careful!
Gamebanana - another go to site for maps. Huge amount and again be careful, they are not into testing and there are some bad maps in there.
If you downloaded any maps from Sturmbot.org then they came with good waypoints for Sturmbot.
If you did not download from this site then beware, the older waypoints have a 99% they will be very bad.
If you downloaded the package in this guide, when playing ShirkeBot you will (mostly) find the waypoints are already in the C:\server\dod\shrikebot\waypoints folder (over 600 of them are in the download).
The quality may vary as I have not tested them. Most I have played are OK.
When you add maps you should (as a good server admin) edit some files in the dod folder.
Why? You will not be able to select a map from the admin mod "changelevel" function as it works off a file in the AMX Mod X files.
If using my download - That file you need to adjust is in C:\server\dod\addons\amxmodx\configs\maps.ini
dod_anzio
dod_avalanche
dod_caen
dod_charlie
dod_chemille
dod_donner
dod_escape
dod_falaise
dod_flash
dod_flugplatz
dod_forest
dod_glider
dod_jagd
dod_kalt
dod_kraftstoff
dod_merderet
dod_northbound
dod_saints
dod_sturm
dod_switch
dod_vicenza
dod_zalec
Say you downloaded my Sturmbot dod custom map pack 1 with waypoints map pack. (20 maps)
dod_adrenalin4
dod_cherbourg
dod_diversion
dod_harrington
dod_heutau_b2
dod_hill_classic
dod_koln_b3
dod_lennon_b3
dod_mainz_classic
1dod_oslo_classic
dod_railroad2_b2
dod_sherman2_b5
dod_schwetz
dod_seg3c_b2
dod_snowcity_v3
dod_snowtown
dod_solitude
dod_thunder
dod_tiger2_b2
dod_zafod_redux
Now for neatness you can also add them to C:\server\dod\mapcycle.txt too but its not required.
While in that maps.ini file read the top of the file, you do have the option of deleting the maps.ini file and the AMX Mod X system will look at the mapcycle.txt file instead.
I prefer to use the C:\server\dod\addons\amxmodx\configs\maps.ini file to update the mapcycle as the mapcycle.txt can be wiped out in a SteamCMD or dod update.
That brings this basic but long guide to a close.
There are lots of items you can add as a local LAN server admin. Just search for plugins and give them a try but go easy... you can really screw up your server files.
Don't forget, if you did get through all this and now have a better idea of Dedicated servers, you can now also add lots of other games to your home server.
Day of Defeat: Source, Counter-Strike 1.6, Counter-Strike:Source, Half-Life2:Deathmatch... and so on.
For more advanced information on commands you should visit this section on sturmbot.org Day of Defeat Commands.
Enjoy. INsane
dodbits.com and sturmbot.org
Designed by INsane Webmaster - dodbits.com using Template Toaster (Joomla! Version 4)