Day of Defeat
Недостаточно оценок
Day of Defeat - Beta 1.3b Client and Dedicated Server Setup
От SpecialistK
This guide will provide the necessary steps for setting up a Half-Life Dedicated Server (HLDS) running the Beta 1.3b version of the Day of Defeat modification. Also included will be steps for the installing the client for players and also how to setup bots on your server (Sturmbot). For those of you wanting a trip back to the "golden days" of one of the best Half-Life mods ever created, this guide is for you!
   
Наградить
В избранное
В избранном
Удалить
Overview
We'll be setting up a Half-Life Dedicated Server (HLDS) running Day of Defeat Beta 1.3b (DoD 1.3b). For those of you who were around during those days you know that this version was one of the best versions of the mod:


At the end of this guide you'll have a running Half-Life DoD client install along with a HLDS which will allow for LAN play for you and friends.

This setup guide uses the *Non-Steam* versions of Half-Life and the Day of Defeat mod. You will need a copy of the original WON version of Half-Life (aka the SIERRA version of Half-Life that you would install via a CD). The method listed below will create a Half-Life installation completely separate from your Steam files so you do not have to worry about messing anything up in your existing Steam installation. This is guide is using the *Non-Steam* version for a couple of reasons:

1. Unfortunately Day of Defeat Beta 1.3b does not work 100% with the Steam version of Half-Life. There is a bug that crashes the game when you get killed while holding a TNT object (which would not allow play on about 50% of the original maps). I spent many hours searching for a solution on the the net looking for a way around this but it just comes down to the major changes valve made to Half-life when they ported it over to Steam. DoD 1.3b came out in 2001 while Steam was released in 2004 so you can see why they aren’t compatible :)

2. The only working bots for 1.3b are called Sturmbot (Version 1.1) and those bots are not compatible with the Steam version of Half-Life either.

Also note: This is *NOT* a set-up guide for DoD Beta 3.1 (last beta before the retail version 1.0) or DoD 1.3 (which is the latest DoD version you can download via Steam). I’ll be creating guides for setting up the other beta versions of Day of Defeat in the future (Beta 2.1 and 3.1). We’re going to start with the first popular beta version which was 1.3b.

For more info on Day of Defeat (and the confusing version history) see the information I posted here:
DoD Legacy (Pre-Steam) Mod Versions

Because we have to use the old WON version of Half-Life (and WON was shutdown after Half-Life transitioned to Steam) you won't be able to use the Valve master servers for hosting. I'll provide some links below for some alternatives on hosting across the Internet so other players can find your server.

Please let me know if anything here needs clarification or if you are having issues and I can help you troubleshoot. Anyways, on with the guide!
Half-Life WON Installation (Client)
Prerequisites: You'll need a copy of a pre-steam version of Half-Life (version 1.1.1.0 or earlier for this version of DoD to work). Half-Life used to run on the World Opponent Network (WON) before it was shutdown when Valve introduced Steam. Before Steam Half-Life was distributed via physical media (these things called CDs for you youngins :D)

Where can I buy / find Half-Life WON?
  1. Find and dust off your CD that you probably bought at EB games way back when :)
  2. Amazon has used copies of the version you need for cheap.
    All you need is standalone Half-Life (don't need the bundle packs with the expansion sets): Half-Life GOTY Edition[www.amazon.com]
  3. There are copies of the WON/SIERRA version floating around on the Internet but I can't provide you links to those here for obvious reasons.
Can I use the Steam version of Half-Life that I already own?
No sorry the .exe and .dll files were changed when Valve ported HL over to Steam. DoD 1.3b just doesn't work 100% with it as stated above. I've tried to "downgrade" the Steam version to a WON version but have been unsuccessful (please let me know if anyone has been able to do this). I have no idea of the legality of "acquiring" a copy of the WON version if you have already bought and paid for the Steam version. Might be a grey area but that is up to your discretion.


Install Steps:
  1. Run Setup.exe via your CD (or mounted disk image)
  2. Click "Install Half-Life"
  3. Click "Yes" after hearing the sound wave file
  4. Click "Next", then "Yes"
  5. The installer will ask you where you want to install the game to. For simplicity's sake install it to the default directory. (C:\Sierra\Half-Life). If you want a different location change the destination directory and use that for the rest of this guide.
  6. Click "Next" and after the game is installed click "OK"
  7. Click "No" to look for updates of the game (we will do that ourselves), then click "OK"
  8. Click "Register Later"
  9. Click "Next" (Make sure the look for hardware updates box isn't checked).
  10. Check the "Launch Half-Life" box and click "Finish"
Half-Life WON is now installed on your PC!

**Note** In Windows 7 you might get the message saying that the program might not have been installed correctly. Ignore this warning. Just choose the option that it was.

Launch the Game:
  1. Launch Half-Life via the created shortcut or running hl.exe from the install directory.
  2. At this point Half-Life will ask you for your CD key. Enter that now.
  3. Watch the awesome old school SIERRA and Valve intros vids.
  4. Exit Half-Life after you’ve launched the game.
**Note** Windows might also ask you to unblock a port in Windows Firewall. Allow the exception.
Update HL to Version 1.1.1.0 (Client)
You'll want to update your client to the last pre-steam update for the game (version 1.1.1.0). You can download it here:

Half-Life 1.1.1.0 Full[halflife2.filefront.com]
Run the .exe and follow these steps:
  1. Click "Next", "I agree", "Next"
  2. Keep your destination folder the same as above, click "Next"
  3. Click "Next" and the update will be installed
  4. After the install, click "No, thanks" to the survey and click "Next"
    Note that I've been unable to get the voice_tweak.exe to work in Windows 7 (the program was written back in 2001) so running the voice config utility at this step will probably not work.
  5. Uncheck to add the shortcuts for the games included in the update (unless you want them), then click "Next"
  6. Click "Finish"
Day of Defeat Beta 1.3b Install (Client)
Now to install the mod! This will install the full version of DoD 1.3b.

Download it here (I uploaded a copy since it's getting hard to find):
https://drive.google.com/open?id=0ByabdHOnp1Z1M0l1SkJXWlhrNzA&authuser=0
  1. Double click on dod_v13b.exe
  2. Click "Next", "Next"
  3. Keep the same destination folder, Click "Next"
  4. Click "Next"
  5. Choose the speed of your internet provider (I don't think this matters anymore, just pick LAN)
  6. Choose "Yes place shortcuts on my desktop", Click "Next"
  7. Click "Finish"
After this the DoD manual will pop up and you can read about the game and how to play. You can see what the HUD indicators mean, the different classes and weapons etc.
DoD Configuration (Client)
You'll want to do some configuration before you start playing:

  1. Go to your desktop and find the DoD Shortcut that was created. Right click on it and choose properties. Click the shortcut tab and under look under "Target:" - it should look like this:

    C:\SIERRA\Half-Life\hl.exe -console -game dod

  2. Double click the shortcut to start the game up.
    **Note**: At this point (if you haven't started HL up yet) you will be asked to enter your CD Key. Do that now.

  3. You are going to want to configure the game settings before you play:

    To configure the controls (which you should go review if especially if you have never played Half-Life before) click "Configuration/Controls". An important gameplay element to DoD is the "Stop Bleeding Key" which defaults to "Z". You should also change the mouse sensitivity in the Controls/Advanced menu.

    To change video settings go to "Configuration/Video/Video Modes". In here choose to use Open GL Default driver and pick the highest resolution you want. If for some reason Open GL isn’t supported on your video card choose Direct 3D (though that might be slower).

    Because 1.3b doesn't have widescreen support I recommend selecting Windowed mode then choosing the highest resolution that will fit on your screen. The main menu has a really small resolution and this will help with window transitions. If you don't use Windowed mode try Alt-Tabbing if your resolution gets stuck.

    To configure your audio settings go to "Configuration/Audio". Make sure Play CD Music (uncheck this if you get repeating music), High Quality Sound, and Enable A3D and EAX Hardware Support are all checked.

    To configure your multiplayer settings (your name, spray etc.) from the Main Menu go to "Multiplayer/Customize". Make sure you check "High Quality Models" and make sure "Use voice in this mod" is checked. In the "Advanced" menu set the multiplayer decals to something like 2048 (this will leave more blood sprays and bullet holes around while playing before they are reset).
**Note**: Never click on Update HL menu item. I have no idea if it still works at the time of writing this but it will mess up your installation if it does.

There are also other menu items to other deprecated features but nothing that will mess up your install (they just don’t work anymore).
Dedicated Server Install Guide
The following steps will give you a standalone HLDS installation running DoD 1.3b. Note that you can also use your HLDS.exe file included with the client install as well. I wrote it this way to keep the installs separate. You don't need a copy of WON Half-Life in order to setup a HLDS server.

Download and install the following:

Half-Life Dedicated Server Standalone (v4.1.1.0):
http://www.moddb.com/games/half-life/downloads/half-life-dedicated-server-4110
You can install this to whatever directory you wish (such as C:\HLServer).

Day of Defeat 1.3 beta:
https://drive.google.com/open?id=0ByabdHOnp1Z1M0l1SkJXWlhrNzA&authuser=0
Install this to the server directory you chose above.

Running your server:

Create a shortcut pointing to hlds.exe in your server directory. Right-click and Edit Properties of the shortcut. Your target section will need the following added to the end of your shortcut Target:

-console -game dod -maxplayers 22 +map dod_caen -port 27015 +sv_lan 1

Server configuration:
  1. server.cfg located in the dod folder will be where you do most of your customization.

    Please note that because we are using HL version 1.1.1.0 you should execute a custom config file from your server.cfg to prevent downloading of this file by unauthorized users. To do this copy server.cfg and name it something like "mycustomserver.cfg" then edit server.cfg (with Notepad), remove all the content and put "exec mycustomserver.cfg" (without quotes) inside your server.cfg file. When server.cfg is read when the server starts it will point it to your custom config file automatically (you'll then place your settings in there).

  2. motd.txt will let you change the message your users see when joining the server
  3. mapcycle.txt is pretty self explanatory (note this will be read AFTER the first map is loaded by the shortcut above)
  4. You can set class limits in each map's config file (located in the maps folder). This can also be globally set in your server.cfg
Adding Bots to Your Server (Sturmbots)
Your server might be a lonely place at first so you might want to play against some bots. Here's how to set those up.

Assuming you already did the server setup in the previous sections, download Sturmbot here:

Sturmbot v1.1[sturmbot.org]
  1. Run the unzip and point it to your top level server directory (ex: C:\HLServer). It will find the dod mod directory add some new files and create a Sturmbot directory in there.

    If you are running AdminMod or any other server enhancements it's advised you backup your liblist.gam file before continuing!

  2. Run InstallSturmBot.bat. This will edit your liblist.gam file (this file tells HL what dll file to load when the mod starts, in this case the new sturmbot dll). The other files it creates are backups if you want to uninstall the bots.
Your server should now be configured to use Sturmbots on startup. You'll need to edit the bot.cfg file before bots are added when playing. This is where you'll define the number of bots, their classes, skill levels and reaction times. See the readme file in the Sturmbot folder on configuring these and also how to setup and use the console to add / remove bots while playing.
Connecting It All Together
Make sure your server is up and running and make sure you have the ports for your server open on your Windows firewall. Since we're playing on LAN you shouldn't have to worry about port forwarding via the router and the outside world.

Have all the client PCs start up their DoD client installations. Then do the following:
  1. From the title screen go to "Multiplayer" then go to "LAN Games"
  2. You should see your server show up after a few seconds. Select the server and connect to play!
If your server doesn't show up you can try the following
  1. From the "Mulitplayer" menu go to "Internet Games". If a window pops up saying trying to connect to one of the WON master servers just hit cancel (since it will never find any working ones).
  2. On the "Internet Games" window choose "Add Server"
  3. Enter in the local IP address and port of the server PC (something like 192.168.1.1:27015)
  4. The server should show up and you should be able to connect from there (if the server is found it will stay in the server list (and you can connect as long as the server IP address doesn't change).
Options for Hosting Your Server on the Internet
Since WON is no longer operational and we can't use the Steam version of Half-Life there's no way for other players to find your server (unless they are on the same local network as you). I'll list a couple of options for allowing players to connect to you over the internet.

WON2 Network (currently being transitioned over to NeuWON):

http://www.moddb.com/mods/won2-cd-retail-multiplayer-continuation

This was the standard way of getting pre-Steam Half-Life mod servers (cs, tfc, dod) connected across the network. The community isn't what it once was but there are still servers being hosted on the master list. I've successfully hosted my DoD Beta servers via WON2 in the past and I've recently brought them back up to verify they still work (I'll add a section to the guide for that soon).

LogMeIn (Hamachi):

http://en.wikipedia.org/wiki/LogMeIn_Hamachi
https://secure.logmein.com/welcome/hamachi/vpn/features.aspx

I haven't used it for hosting HLDS but I've used Hamachi with success in the past with other old-school games (Age of Empires) so something like this might be an option.
Комментариев: 8
YellowJello 7 сен. 2024 г. в 17:27 
Your Drive link no longer works, it's telling me to request access.
HaikuLambda 4 янв. 2024 г. в 9:34 
i need permission to access the google drive link bruh :steamsad:
Ayrton 5 мар. 2020 г. в 18:34 
It's possible to host a master server for WON Half-Life by using HLMaster, but you will need to change your woncomm.lst to include your master server.
FWÆH 12 ноя. 2017 г. в 13:19 
idk if this is worth getting if not that many ppl will play it
Senses Working Overtime 23 сен. 2016 г. в 0:23 
You can now use optional Sturmbot 1.3.1 for dod1.3b for dedicted server that will not crash
Youu need to move files allied_gibs.mdl/axis_gibs.mdl from dod 2.0 to dod1.3b into the models
Don't try adding mg class of bots

Make sure these are turned off

botdontshoot off
observer off
pistolonly off
knifeonly off
grenadeonly off
friendlyfiremode off
robotmode off
bloodmode 0
maxbodies 0
ghostmode 0
monsterbot 0
botchat off

you might see some strange and wonky behavior from the bots sometimes
Senses Working Overtime 23 июн. 2015 г. в 22:30 
I did try the exact same config used here i'm back to report that Sturmbot 1.1 did run ok until at crash some time at map dod_seg3 and was not able to complete a full stock map rotation
SpecialistK  [создатель] 18 июн. 2015 г. в 14:45 
Yep I'm wondering if they'd remove this guide if I start posting how to use WON2, so I'll put it in a separate guide :). Thanks for the tip on the Sturmbot version!
Senses Working Overtime 18 июн. 2015 г. в 10:24 
No metion of the woncomm.lst or patching the swds.dll i but understand why ;)
Also Sturmbot 1.0 as well as Sturmbot 1.1 can be used