Call of Duty Dedicated Server Setup Guide (Windows Only)


Part 1) Server Files Needed

The setup and install of Call of Duty and Call of Duty United Offensive on a Windows server is fairly simple. Especially for those who may have setup a game server before.

Infinity Ward, for whatever reason did not create a dedicated server program like most all quake engine games. So the game files have to be uploaded to your game server or dedicated machine. In total there is over 1GB of data that you’ll need to upload for setting up a CoD server. Then there are of course more for the addition of United Offensive.

The files needed for a windows server are easily enough located on the game CDs. Put into your drive and find the X:SetupData directory whereas X: is your CD drive. You should see something like this on your CoD 1 CD.

Once you have located those files from disk 1 and disk 2 zip them all together, and upload them to the game server. This can be done one of two ways depending on your access to the game server.

If you have full admin rights over a dedicated box, then you can do a Remote Desktop to copy the files. To do this you must connect to the dedicated box with mapped drives. Otherwise you will not see the files. Most likely the easier way is to just use an FTP program to upload them to a designated location on the server.

If you have only FTP access to a single game server, then your only option is to use FTP to do your upload.

When shopping for a single server rental some game server companies will load games for you. This is a nice perk, but not always an option.

Placement of the files to the game servers should be done in a uniform fashion. Less chance for error or loss of data. Create a folder specifically for the files in the root of the drive to unzip the files from. Such as “C:CODFiles”, or what ever you prefer.

Once the files are all uploaded you will need to extract into the correct directory, C:Program FilesCall of Duty. The directory should look something like this.

 



Part 2) Server Configuration

Creating the configuration ( or config) file is the corner stone to the server. Essentially this “tells” the game what and how to run. So it is important to have this accurate. The good thing though is that most of it is just plugging in your server specific information.

Open WordPad, Notepad or any text editor, and create a new document. Name the file something along these lines: dedicated, dedicatedfile, dedicatedgame, etc. Change the file extension from .txt to .cfg and click save.

Keep in mind a few tips on how the configs work. Anything that has hash marks // in front of it, is not being “read” by the game. This can also be referred to “commenting”. So if you do not want something to run simply // before it, and it will be ignored. Not putting in or leaving information inside of “” will leave it blank or the default setting. Most things in the config will have an explanation as to what the purpose or use is in the game.

Now you can copy and paste the following into your dedicated document:

set sv_hostname “COD:UO Server” // Put your server name here
set scr_motd “Welcome to our server. Download our custom maps” // Place message here that will be seen on connect to server.
// ^1 = red
// ^2 = green
// ^3 = yellow
// ^4 = dark blue
// ^5 = light blue (cyan)
// ^6 = magenta
// ^7 = white

set g_banIPs "" // IP bans (not to be confused with PunkBuster bans, that will come later)
set g_password "" // sets a password on your server for closed games
seta rconpassword "" // Gives access to server command
set sv_privatepassword "" // Sets pass for private client spaces
seta sv_maxRate "15000" // Maximum data rate a client can have - Server controlled
seta sv_maxping "250" //Max ping player can connect with, but does not effect ping once connected.

//console log - 0=no log 1=buffered 2=continuous 3=append
set g_logsync "1"
set g_log "games_mp.log"

set net_ip 1.2.34.56 // Place server IP
set net_port 28960 // Set port, 28960 is the default
set sv_maxclients "26" // All player client slots
set sv_privateclients "6" // Private password protected spots.

// MASTER SERVERS TO REPORT TO
sets sv_master1 "codmaster.activision.com"
sets sv_master2 "master.gamespy.com:28960"
sets sv_master3 "master0.gamespy.com"
sets sv_master4 "clanservers.net"
sets sv_master5 "codauthorize.activision.com"
seta sv_gamespy "1"

// Idle Players, Spectators, and Timeouts
set g_inactivity "120" // Kicks players that show no activity for xxx seconds
set g_inactivityspectator "240" // Kicks spectating players after they have been in spectate for xxx seconds
set sv_timeout "300" // Kicks players that have timed out for more than xxx seconds

// Team Settings
set scr_drawfriend "1" // Tells the server to draw an avatar above friendly players
set scr_forcerespawn "0" // A setting of 1 forces players to respawn on respawn type games

//weapon settings
set scr_allow_bar "1" // 0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// advanced settings
set scr_allow_vote "0" // scr_allow_vote and g_allowvote must BOTH be set to 0 to disable voting
set g_allowvote "0"
set g_allowvotetempbanuser "0"
set g_allowvotetempbanclient "0"
set g_allowvotekick "0"
set g_allowvoteclientkick "0"
set g_allowvotegametype "0"
set g_allowvotetypemap "0"
set g_allowvotemap "0"
set g_allowvotemaprotate "0"
set g_allowvotemaprestart "0"

// KillCam
set scr_killcam "0" // 0 Turns killcam off and 1 turns killcam on
set scr_freelook "0" // 1 allows players to free spectate after they are dead
set scr_spectateenemy "0" // 1 allows players to spectate their own team as well
as the enemy

// Auto Team Balance
set scr_teambalance "1" // Set to 1 to allow the server to auto balance teams. Set to 0 to disable

// Friendly Fire
set scr_friendlyfire "3" //0 - off 1 - on 2 - reflect damage 3 - Shared

// PURE server settings
set sv_pure "1"

//GameType Settings
//Behind Enemy Lines Default Description (bel)
set scr_bel_alivepointtime "15" // Number of seconds to get a point for staying alive as allied.
set scr_bel_scorelimit "75" // Round will end when team reaches xxx score
set scr_bel_timelimit "20" // Game will end after xx minutes

//Deathmatch Default Description (dm)
set scr_dm_scorelimit "50" // Round will end if player reaches xx points
set scr_dm_timelimit "30" // Game will end after xx minutes

//Retrieval Default Description (re)
set scr_re_graceperiod "15" // Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds
set scr_re_roundlength "5" // Round will end after x minutes
set scr_re_roundlimit "0" // Game will end after x number of rounds have been played
set scr_re_scorelimit "0" // Round will end when team reaches xxx score
set scr_re_showcarrier "0" // Objective carrier will show on compass when set to 1
set scr_re_timelimit "20" // Game will end after xx minutes

//Search and Destroy Default Description (sd)
set scr_sd_graceperiod "15" // Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds
set scr_sd_roundlength "3" // Round will end after x minutes
set scr_sd_roundlimit "0" // Game will end after x number of rounds have been played
set scr_sd_scorelimit "0" // Round will end when team reaches xxx score
set scr_sd_timelimit "15" // Game will end after xx minutes

//Team Deathmatch Default Description (tdm)
set scr_tdm_scorelimit "100" // Round will end when team reaches xxx score
set scr_tdm_timelimit "20" // Game will end after xx minutes

//HeadQuarters Default Description (hq)
set scr_hq_timelimit "20" // Game will end after xx minutes
set scr_hq_scorelimit "450" // Round will end when team reaches xxx score

//PUNKBUSTER
PB_SV_ENABLE // Enables PunkBuster anti-cheat. Enter pb_sv_disable to disable PB
WAIT // Pauses the server for PB to load

// SETS/PUBLIC INFO (stuff that shows up in server info)
sets g_needpass "0" // tell's ASE etc the server is passworded
sets .Admin "Your name here" // Make it your IRC or site nick maybe (optional)
sets .Email "Your email here" // You're email address (optional)
sets .URL "URL HERE " // your website here (optional)
sets .Host "web host here " // host website here (optional)
sets "URL" "Clan website" // your website here (optional)

exec maprot.cfg

 

 

That is the first configuration file you will need. Now save that to your servers COD Main folder. Which should look something similar to: C:Program FilesCall of DutyMain.

Now to create your map rotation config file. This tells your server which maps to run, and what game types to play them under. You can also set the server to run only one game type in this configuration.

Here is a list of all the COD maps, including ones that came out with the latest patch. Not all maps are compatible with all of the game types. So that has been listed for you as well.

Map Name & Types
bocage - DM TDM SD RE BEL HQ
brecourt - DM TDM SD RE BEL HQ
carentan - DM TDM SD RE BEL HQ
chateau - DM TDM RE BEL HQ
dawnville - DM TDM SD RE BEL HQ
depot - DM TDM SD RE BEL HQ
harbor - DM TDM SD RE BEL HQ
hurtgen - DM TDM SD RE BEL HQ
neuville - DM TDM SD RE BEL HQ
Pavlov - DM TDM SD RE BEL HQ
Powcamp - DM TDM SD RE BEL HQ
Railyard - DM TDM SD RE BEL HQ
Rocket - DM TDM SD RE BEL HQ
Ship - DM TDM RE BEL HQ
Stalingrad - DM TDM SD RE BEL HQ
Tigertown – DM TDM SD RE BEL HQ

 

Now do as before to save a new text document as a .cfg, and name it maprot.cfg. Then copy and paste this to get your map rotation a head start.

// This file is activated by dedicated config file"
sv_mapRotationCurrent ""
set g_gametype "" //gametypes DM, TDM, SD, RE, HQ, BEL Leaving empty will allow for each map to be set individually.
set sv_mapRotation "gametype sd map mp_bocage gametype sd map mp_brecourt gametype hq map mp_carentan gametype hq map mp_chateau
gametype re map mp_dawnville gametype re map mp_depot gametype tdm map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_neuville gametype hq map mp_pavlov gametype re map mp_powcamp gametype hq map mp_railyard gametype sd map mp_rocket gametype re map mp_ship gametype tdm map mp_stalingrad gametype hq map mp_tigertown"
map_rotate

Be sure to always check your map rotation for any typos. These simple things will cause the server to hang, or the rotation to “spin”. This too will be saved to the C:Program FilesCall of DutyMain.



  | Page 2

Questions? Comments?



Recent Comments
  Originally posted by scapegoat :D Just hope its not another ...
 Sounds great to me, more bandwidth for cheaper is always a good thing...
 Well folks. In an effort to try to get PR to earn more moolah while t...


GameApex Login
Login   Pass  
[Not a member?]

GameApex Member Quote:
"More proof that there is no Lifeguard on duty at the Gene Pool."
--Slider

 Robert Krakoff President of Razer
 Ghost Squad
 Fatal Fury Battle Archives Volume 1
 Bleach Shattered Blade
 Madden NFL 08
 Kororinpa Marble Mania
 Pokemon Battle Revolution
 SteelSeries SteelPad S&S
 ArmA Combat Operations
 Transformers The Game
 The Bigs
 Dungeon Siege II: Broken World
 Cyber Snipa Tracer Mouse Pad
 Bleach Heat the Soul 4
 Arkon VG925-S Gooseneck Mount