Call of Duty Server Dedicated Server Setup
I have received several questions regarding setup and the server configuration file for Call of Duty (COD), but I just have not had the time to write an extensive guide. However, we do have a TMMworld COD server running, so I thought I could at least share what I learned and used. The server.cfg files I provide here were built using information from several other websites or user forums.
If you are truly a beginner, wondering what is needed to start your own server at home, I suggest you read through the Medal of Honor Guides on this site. The setup and operation of the servers are almost identical in COD, of course with the exception of ports to be openned in firewalls and some commands and map names.
If you have a machine that you would like to setup as a dedicated server, this will get you started. To play the game, Call of Duty does require a high quality video card, but to run a dedicated server, you DO NOT need to have a good video card in the machine if launching the server from a desktop short-cut. The files I supply here set you up for this type of launch.
To make it easy for startup, I created a zip file containing the short-cut file and the server.cfg files to support two different setups. So, in the zip file you can download, there are four files... 2 for a Behind Enemy Lines only server, and 2 files for a Mixed Game Server.
If you have installed the game in the machine intended to be the server, just unzip the two .cfg files into the Call of Duty/Main directory. For the shortcut, it assumes you did a standard install into drive C, otherwise you need to change the path for the game in the target settings of the short cuts.. These will launch the server, and display the console for you. Put both of the shortcuts any place you like of course, on your desktop or someplace in your start menu.
Files enclosed in the zip:
The tmmbel shortcut (tmmbel.lnk) and config file (tmmbel.cfg) will run a Behind Enemy Lines server, excluding two of the maps from the rotation (the ship and the chateau) , so if you want them, just put them into the rotation. I added the listing of all maps at the end of the config file for your for reference.
The tmm mix shortcut (tmm mixed.lnk) calls the tmmmix config (tmmmix.cfg). I have not figured out how it all works, but it does :) Unfortunately, I do not remember which site was the primary source for this information, but my bet is that is was CODadmin.com (see links - resources). You will notice the difference in the rotation and some other settings. Also, at the end of the map section, I listed all the game types and maps for your reference. So, to change what plays, you adjust the rotation where it calls game type and map.
For each .cfg file, all you need to do is change the server name (unless you want to partner with TMMworld hehehe), but you also might want to put in your recon password and private password. If you set private slots (which I think I set for 2 in these files already), the private password allows you to enter the server in these slots if the server is already full... reserved slots. Oh ya.... there are those other settings about you and your machine and things :)
Where do you get the Zip file? In the downloads area of this site, you will see a section for the Call of Duty Starter Kit, as shown in the image below. The download link is on that section as circled here. Click on the image to get to that page or click HERE.

Router / Firewall Need to know about Router setup and ports settings? The information is very similar to that of Medal of Honor, so check this Router Guide
Ports
| Call of Duty (COD) |
Port Range |
| Description |
Protocol |
From |
To |
| Call of Duty CD Key Validation |
UDP |
20500 |
20500 |
| Call of Duty Master Server Monitoring / Browser |
UDP |
20510 |
20510 |
| Call of Duty Master UDP Port |
UDP |
28960 |
28960 |
| GameSpy Ports |
Port Range |
| Description |
Protocol |
From |
To |
| GameSpy Custom UDP Pings |
TCP & UDP |
13139 |
13139 |
| GameSpy Master Server UDP Heartbeat |
TCP & UDP |
27900 |
27900 |
| GameSpy Master Server List Request |
TCP & UDP |
28900 |
28900 |
| GameSpy Connection Manager & Search |
TCP & UDP |
29900 |
29900 |
| GameSpy GP Search Manager |
TCP & UDP |
29901 |
29901 |
| GameSpy Query Port |
TCP & UDP |
6500 |
6500 |
| GameSpy Dplay UDP |
TCP & UDP |
6515 |
6515 |
| GameSpy Voice Chat (optional) |
TCP & UDP |
3783 |
3783 |
| GameSpy IRC chat (optional) |
TCP & UDP |
6667 |
6667 |
Remote Console / RCON and other help? I just haven't had time to get to this and other subjects for COD, but from experience so far, Remote Console or Rcon is the same as with Medal of Honor. To get started, please see my guide on this site under Medal of Honor.
If you have questions about this, or other basics for COD or COD-UO servers, please post them in the forum. I will usually respond within a day, and I will do what I can to help. The “day job“ has kept me away from updating content lately.
Copyright 2002-2008 TMMworld.com All Rights Reserved (read more)
|