Thanks genamc. I just got them working, and it took me all day to get it right too. I have been waiting for this for years.
Being old, slow, and always getting whacked on the live servers I needed a way to practice and have fun at the same time. I needed this to run on LAN, and according to dog, that's the only way it will work. So to make it easier to understand how to do for any neophytes like myself wanting DOD:S bots I'm going to explain what I did to make it work. (I know the smart people will think, well ... duh, but everything wasn't so easy for me without step by step instructions.)
My PC is running Windows XP, so the instructions are written accordingly.
1. I followed the genmac and strontiumdog (aka "Dog") link to
http://www.srcds.com/ and clicked on the Windows box to open the instructions to create a SRCDS on my hdd (dedicated server of DoD:S).
2. After you download the hldsupdatetool and navigate through the wizard as instructed in the srcds.com instructions, make SURE you view and READ the readme file when the wizard finishes.
3. Since you no longer have to create an account, you are now ready to follow instruction number 2 of the readme file, steps 2a, 2b, 2c, and download the files from Steam. I opened a command prompt <start> <run> <cmd> and typed:
hldsupdatetool -command update -game "DoD Source" -dir C:\srcds
... and waited for the program to work. It took about an hour at my download speed.
4. You will need to make or copy a "server.cfg" file. I went to the Steam forum to get one.
http://forums.steampowered.com/forum...hreadid=345085 Copied here for your convenience.
Quote:
// last modified 10:23 AM 6/4/2006
// **************************************
// server name
// **************************************
hostname "Day of Defeat: Source server" // Name of the server.
// **************************************
// passswords
// **************************************
rcon_password "yourPASSWORDhere" // Remote control password.
sv_password "" // Server password for entry into multiplayer games. Password = private, no password = public.
// **************************************
// specific Day of Defeat: Source cvars
// **************************************
dod_bonusround "1" // If true, the winners of the round can attack in the intermission. Default: 1
dod_bonusroundtime "15" // Time after round win until round restarts. Default: 15
dod_enableroundwaittime "1" // Enable timers to wait between rounds. Default: 1
mp_allowrandomclass "1" // Allow players to select random class. Default: 1
mp_combinemglimits "0" // Set to 1 to combine the class limit cvars for mg34 and mg42. New limit is sum of two. Default: 0
mp_tickpointinterval "30" // Delay between point gives. Default: 30
mp_limit_allies_assault "-1" // Class limit for team: Allies class: Assault. Default: -1
mp_limit_allies_mg "-1" // Class limit for team: Allies class: Machinegunner. Default: -1
mp_limit_allies_rifleman "-1" // Class limit for team: Allies class: Rifleman. Default: -1
mp_limit_allies_rocket "-1" // Class limit for team: Allies class: Rocket. Default: -1
mp_limit_allies_sniper "-1" // Class limit for team: Allies class: Sniper. Default: -1
mp_limit_allies_support "-1" // Class limit for team: Allies class: Support. Default: -1
mp_limit_axis_assault "-1" // Class limit for team: Axis class: Assault. Default: -1
mp_limit_axis_mg "-1" // Class limit for team: Axis class: Machinegunner. Default: -1
mp_limit_axis_rifleman "-1" // Class limit for team: Axis class: Rifleman. Default: -1
mp_limit_axis_rocket "-1" // Class limit for team: Axis class: Rocket. Default: -1
mp_limit_axis_sniper "-1" // Class limit for team: Axis class: Sniper. Default: -1
mp_limit_axis_support "-1" // Class limit for team: Axis class: Support. Default: -1
mp_warmup_time "0" // Warmup time length in seconds. Default: 0
sv_autojointeam "0" // Skip the class and team menus and join a team immediately. Default: 0
// **************************************
// sv cvars
// **************************************
sv_allowdownload "1" // Allow clients to download files. Default: 1
sv_allowupload "1" // Allow clients to upload customizations files. Default: 1
sv_alltalk "0" // Players can hear all other players, no team restrictions. Default: 0
sv_cheats "0" // Allow cheats on server. Default: 0
sv_consistency "1" // Whether the server enforces file consistency for critical files. Default: 1
sv_gravity "800" // World gravity. Default: 800
sv_lan "0" // Server is a lan server (no heartbeat, no authentication, no non-class C addresses). Default: 0
sv_maxspeed "320" // Maximum speed a player can move. Default: 320
sv_pausable "0" // Is the server pausable. Default: 0
sv_region "1" // The region of the world to report this server in. Default: -1
sv_timeout "45" // After this many seconds without a message from a client, the client is dropped. Default: 65
sv_voiceenable "1" // Microphone communication. Default: 1
// **************************************
// mp cvars
// **************************************
mp_allowspectators "1" // Toggles whether the server allows spectator mode or not. Default: 1
mp_autokick "1" // Kick idle/team-killing players. Default: 0
mp_chattime "10" // Amount of time players can chat after the game is over. Default: 10
mp_flashlight "1" // Allow flashlight. Default: 0
mp_footsteps "1" // Players can hear footsteps. Default: 1
mp_forcecamera "1" // Restricts spectator modes for dead players. Default: 0
mp_fraglimit "0" // Max number of kills any player can accumulate before server changes maps. Default: 0
mp_friendlyfire "1" // Allow team damage. Default: 0
mp_limitteams "1" // Max # of players 1 team can have over another. Default: 2
mp_timelimit "45" // Game time per map in minutes. Default: 0
mp_winlimit "7" // Max number of rounds one team can win before server changes maps. Default: 0
// **************************************
// bandwidth and rates
// **************************************
sv_maxrate "30000" // Max bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_minrate "0" // Min bandwidth rate allowed on server, 0 = unlimited. Default: 0
sv_maxupdaterate "66" // Maximum updates per second that the server will allow. Default: 60
sv_minupdaterate "0" // Minimum updates per second that the server will allow. Default: 10
decalfrequency "10" // Amount of time in seconds a player can spray their decal. Default: 10
fps_max "300" // Frame rate limiter. Default: 300
// **************************************
// server logging
// **************************************
log "on" // Control logging. on = enable logs, off = disable logs.
sv_logbans "1" // Log server bans in the server logs. Default: 0
sv_logecho "1" // Echo log information to the console. Default: 1
sv_logfile "1" // Log server information in the log file. Default: 1
sv_log_onefile "1" // Log server information to only one file. Default: 0
// **************************************
// server admin contact
// **************************************
sv_contact "admin@domain.com" // Contact email for server sysop.
// **************************************
// web server (http) download URL
// **************************************
sv_downloadurl "" // Location from which clients can download missing files.
// **************************************
// security
// **************************************
exec "banned_user.cfg"
exec "banned_ip.cfg"
writeid
writeip
// **************************************
// addons
// **************************************
//exec "mani_server.cfg"
|
To use the above example server.cfg, copy & paste the "code" into Notepad and save it as server.cfg in C:\srcds\orangebox\dod\cfg
5. Follow the link to download the zip file of the "fully working bot for dods made by Strontiumdog aka Dog" at the beginning of this thread started by genmac. But despite what the "Intallation" text file tells you, do NOT extract the files to "....steamapps\username" folder. Extract the files to "C:\srcds\orangebox\dod\addons"
6. Now you have to have a way to start the server. Go back to the Steam forum (above) and read "STEP 6." I chose option 3.
Quote:
Option #3 (some crash protection): Copy & paste the following "code" into Notepad and save it in the server folder as srcds.bat
Quote:
@echo off
cls
echo Protecting srcds from crashes...
echo To shut down srcds, close this window first.
title Day of Defeat: Source dedicated server
:srcds
echo (%time%) srcds started.
start /wait C:\srcds\srcds.exe -console -game dod +ip 111.111.111.111 -port 27015 +map dod_anzio +maxplayers 24 -tickrate 66
echo (%time%) WARNING: srcds closed or crashed, restarting.
goto srcds
|
The +ip value must match the server's external IP.
|
If your computer setup is like most people, you have a router, and if you do, change the +ip from +ip 111.111.111.111 - port 27015 to the ROUTER's ip address (something like 192.168.0.4 - port 27015). Do not go to whatsmyip.com to find the exterrnal ip address unless you DO NOT have a router.
After you create the srcds.bat file, place it into the C:\srcds\orangebox folder. You can then make a shortcut to put on your desktop for easy server starting. (You can also change the start map to +map dod_avalanche or whatever map you wish.)
7. Now your ready for fun. Start Steam FIRST, not the server. Now that you have Steam up and running, open your Game List so that you're ready to start Day of Defeat Source. Now double click on the srcds.bat (or shortcut) file and start the server. Don't worry about any errors you see. What you want to see as the server fires up is the bots loading at the very end. If you see that, your in business. Now go back to Steam and start the game. When the game starts, go to find servers and click on the LAN tab. Your server will be there. Click on "connect" and enjoy the fun.
I want to thank Strontiumdog, genmac, Bots United, and all of the botting community for all they have done to make this possible. I hope that my post is a benefit to the other people like myself and makes it easier for them to get these bots up and running on DoD:S