Create a Call of Duty 1 server with CoDaM on Windows



> >

Created 3 years ago

Create a Call of Duty 1 server with CoDaM on Windows

How to create a Call of Duty 1 server with CoDaM on Windows
UPDATES / CHANGELOG:
09-08-2010 - Tutorial has been originally posted on wy6.org by cato 05-02-2011 - Updated CoDaM links. - Added pak6.pk3 to list, as it is needed to have a server with sv_pure "1". - Rephrased a sentence in Step 7. - Added gamename cvar to config - Changed links from wy6.uk.to to wy6.org (de.dvotx.org) 12-31-2014 - wy6 is closing - cato wanted me to keep this tutorial alive so i will continue it here - Done some re-formatting to fit the design better

Introduction:


In this tutorial, I will explain how to create a Call of Duty 1.1 server with CoDaM.
This tutorial does not explain how to 'crack' your server.

This tutorial assumes that you already have general computer knowledge, good understanding and the following:
  1. An English installation of Call of Duty 1.1
  2. Access to your router
If you don't have a router replace YOUR_LOCAL_IP_ADDRESS with YOUR_GLOBAL_IP_ADDRESS, where this will be your IP address to your home, described later.


Step 1


Create a folder where you want your Call of Duty server.
In this tutorial we will use C:\MyServer

Step 2


Assuming your installation directory is C:\Program Files\Call of Duty
Go inside your Call of Duty installation and copy the following files to C:\MyServer
  • CoDMP.exe
  • mss32.dll

Step 3


Create a folder inside C:\MyServer called main, which will result in C:\MyServer\main
Go inside your Call of Duty installation main folder and copy the following files from C:\Program Files\Call of Duty\main to C:\MyServer\main
  1. game_mp_x86.dll
  2. pak0.pk3
  3. pak1.pk3
  4. pak2.pk3
  5. pak3.pk3
  6. pak4.pk3
  7. pak5.pk3
  8. pak6.pk3
  9. localized_english_pak0.pk3
  10. localized_english_pak1.pk3
NOTE
DO NOT COPY cgame_mp_x86.dll, it's a different dll file.

Step 4


Create a shortcut of CoDMP.exe, and call it StartMyServer
Rightclick on the StartMyServer shortcut, select Properties

NOTE
Assuming you are using C:\MyServer, if you are not, replace C:\MyServer with your own path.
If you have a space in your path you need to put quotation marks ( " " ) around it, for example "C:\My Stuff\MyServer" both in beginning and fs_homepath.

Delete the text inside Target: and replace with the following:
C:\MyServer\CoDMP.exe +set dedicated 2 +set net_ip YOUR_LOCAL_IP_ADDRESS +set fs_homepath C:\MyServer +set net_port 28961 +set sv_maxclients 24 +exec myserver.cfg +map_rotate

Where
YOUR_LOCAL_IP_ADDRESS
is the IP of your local network.

NOTE
To see your local IP click Start > Run type in CMD (In vista/win7/win8 you can type it in the search box)
In the black command prompt window type ipconfig.
Locate IP Address from your network interface. (Most likely 192.168.*.* where * is a number from 0-255)

Step 5


Create a new text file with notepad, inside the main folder, C:\MyServer\main, and call it myserver.cfg
Save the file by clicking File, then Save As, select in the Save as type: dropdown box All Files, if you didn't create the file first.

Paste in the following code into the file and edit it to your needs:
Quote:
// Add server to xfire
set gamename "Call of Duty"

// Server information
set sv_hostname "YOUR_SERVER_NAME"
set scr_motd "YOUR_SERVER_MOTD"
sets ^1Owner "YOUR_NAME"
sets ^1Location "YOUR_SERVER_LOCATION"

// Server options
set sv_pure "0"
set rconpassword "YOUR_SERVER_RCON_PASSWORD"
set g_password "" // A password for the server, if you for example play in a FW
set sv_privatepassword "YOUR_SERVER_PRIVATE_PASSWORD"
set sv_privateclients "0"
set sv_allowdownload "0" // This should always be 0
set sv_cheats "0" // Nobody likes cheats
set g_log "" // Useless if you don't use the log files
set g_logsync "0"
set sv_fps "20"
set sv_allowanonymous "0"
set sv_floodprotect "1"
set sv_disableclientconsole "1"
set sv_gamespy "1"
set g_inactivity "120"

// Network options
set sv_maxrate "25000" // 25000 is standard, if you have a slow connection, ask for help regarding this one.
set sv_maxping "150" // Max ping for clients to connect
set sv_minping "0" // This is useless unless you want everyone with a high ping and lag!
set sv_reconnectlimit "5"

// Game options
set g_allowvote "0"
set scr_allow_vote "0"
set scr_drawfriend "0"
set scr_forcerespawn "0"
set scr_friendlyfire "0"
set scr_freelook "1"
set scr_spectateenemy "0"
set scr_teambalance "1"

// Deathmatch
set scr_dm_scorelimit "100"
set scr_dm_timelimit "60"

// Team Deathmatch
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "30"

// Behind Enemy Lines
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
set scr_bel_alivepointtime "10"

// Retrieval
set scr_re_scorelimit "10"
set scr_re_timelimit "0"
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_showcarrier "0"

// Search and Destroy
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"
set scr_sd_graceperiod "20"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"

// Weapons - Only Snipers
set scr_allow_mp40 "0"
set scr_allow_ppsh "0"
set scr_allow_sten "0"
set scr_allow_thompson "0"
set scr_allow_bar "0"
set scr_allow_bren "0"
set scr_allow_mp44 "0"
set scr_allow_panzerfaust "0"
set scr_allow_m1garand "0"
set scr_allow_m1carbine "0"

// Execute CoDaM Configuration
exec CoDaM.cfg
exec CoDaM_HamGoodies.cfg
exec CoDaM_PowerServer.cfg

// Map
set g_gametype "sd";
set sv_mapRotation "gametype sd map mp_brecourt map mp_harbor map mp_depot map mp_carentan map mp_hurtgen map mp_powcamp"

Step 6


Server will not show up in the internet list, yet.
Test the server, start the shortcut, if you did everything right it should be running.
If you can connect to it, the server is running successfully.
To connect to it, open console in call of duty and type /connect YOUR_LOCAL_IP_ADDRESS:28961

You can also type in status in the green box, a.k.a server console.
If it says Server not running, you did something wrong.

NOTE
Don't forget to turn off Windows Firewall or accept the port 20510, 20500, 28960 and 28961 in it as UDP.
Do the same in any firewall you may have on your PC

Step 7


(Skip this step if you don't have a router and is directly connected to the internet)
To open the ports in your router. Start your web browser and type in the IP address of your router.

To see the IP of your router click on Start > Run type in CMD (In vista/win7/win8 you can type it in the search box)
In the black command prompt window type ipconfig.
Locate Default Gateway from your network interface. (Most likely 192.168.0.1 or 192.168.1.1)

It may ask you for a username and password, if you don't know it, try the default ones:
  • admin/admin
  • admin/1234
  • admin/NO_PASS
  • NO_USER/1234
  • NO_USER/NO_PASS
Where NO_USER is a blank and where NO_PASS is blank.

Google the default password for your router. After you successfully login on the routers web interface, locate portforwarding, Virtual Server or NAT. To get help to open the ports in your router, see http://portforward.com/. Locate the model number on the page, you will find it written on your router or on a white label under it. If you don't find it on page, select a model that's close to yours.

NOTE
Remember, you want to forward the gaming port 28960, 28961, 20510 and 20500 as protocol UDP on YOUR_LOCAL_IP_ADDRESS.
If you run Call of Duty from same PC, use another port than 28960 for your server, for example 28961 or you wont see any servers in list.

Step 8


Now, we are going to install CoDaM.

Download these files:
  1. http://think-clan.com/download_detail?file=codam_v1_31_for_cod1_1
  2. http://think-clan.com/download_detail?file=codam_plugin_hamgoodies
  3. http://think-clan.com/download_detail?file=codam_plugin_powerserver

Extract these files/folders to your main folder:
  1. From CoDaM_V1.31.zip: codam, CoDaM.cfg and ___CoDaM__CoD1.1__.pk3
  2. From CoDaM_HamGoodies_V1.35.zip: codam, CoDaM_HamGoodies.cfg and ___CoDaM_HamGoodies__CoD1.1__.pk3
  3. From PowerServer_v1.1.zip: CoDaM_PowerServer.cfg and ___CoDaM_PowerServer__.pk3

Now go inside the codam folder inside your main folder and open up modlist.gsc and add the following:

UNDER
// Example from Hammer's Goodies -- REMOVE the // to activate
PUT
[[ register ]]( "Hammer's Goodies", codam\HamGoodies::main ); [[ register ]]( "PowerServer", codam\psv_main::main, "powerserver" );


Now edit the 3 configuration files to suit your needs, and you will have codam on your server.
This tutorial does not explain how to configure the configuration files of CoDaM, as they are already well documented inside the configuration files.


Thanks for reading, please comment.

Original Author: Cato

Tutorial Details

Created: 3 years ago by ^THiNK#ALIEN

Views: 11400 Views

Keywords: Create server, codam, windows server, cod server, home server,

Share this Knowledge with your friends!

Direct Link:

18 Comments

this server will have lags? or like real server?
Commented by Gabriel:3  (Jan 02nd, 2015 02:07 PM)

The lags depend on how good you pc is. If you have a sexy gaming pc there will be no lags.
Commented by ~B@n@n@~  (Jan 02nd, 2015 03:03 PM)

como se hace un server en internet
Commented by server master  (Jan 14th, 2015 06:06 PM)

CDR
Commented by Gilbert  (Jan 14th, 2015 06:57 PM)

Will this server be online even if I shut down my computer? Or does the PC have to run all the time I want the server to be online?
Commented by Trng (:  (Jan 15th, 2015 10:01 AM)

As long as you run this server / program on your local machine it needs to be turned on.
Commented by fiavbr  (Jan 15th, 2015 12:11 PM)

Hey I Need Help * :( can you help me ;( (y)
Commented by ~TicTac~  (Feb 04th, 2015 02:13 AM)

When I try to join my server, I have this message: CD Key in use. Please try reconnecting later. :/
Commented by Molokax  (Feb 23rd, 2015 06:37 PM)

If anyone needs to know how to crack their servers. This is how.

https://www.youtube.com/watch?v=pa19xkIsZ68
Commented by |W|Sp1cy  (Sep 13th, 2015 02:31 AM)

How to get it on the internet?
Commented by ^1Awesome^1.  (Nov 13th, 2015 02:26 PM)

when i start my server and i open cod i don't get any server list
Commented by Jose  (Dec 18th, 2015 04:43 AM)

please help i make my server but and it running but i dont found it in internet list
Commented by ^w.G.t|MaFia  (Mar 10th, 2016 01:30 PM)

I am getting the following error on a Windows Server 2012:
ERROR: SV_SetConfigstring: bad index -1
Commented by Lo$t  (Apr 24th, 2016 02:27 AM)

is just LOCAL no one can see him
Commented by lowY.  (May 16th, 2016 01:30 PM)

how port forward?
Commented by lowY.  (May 24th, 2016 01:04 PM)

(Skip this step if you don't have a router and is directly connected to the internet)
To open the ports in your router. Start your web browser and type in the IP address of your router.

To see the IP of your router click on Start > Run type in CMD (In vista/win7/win8 you can type it in the search box)
In the black command prompt window type ipconfig.
Locate Default Gateway from your network interface. (Most likely 192.168.0.1 or 192.168.1.1)

It may ask you for a username and password, if you don't know it, try the default ones:
admin/admin
admin/1234
admin/NO_PASS
NO_USER/1234
NO_USER/NO_PASS
Where NO_USER is a blank and where NO_PASS is blank.

Google the default password for your router. After you successfully login on the routers web interface, locate portforwarding, Virtual Server or NAT. To get help to open the ports in your router, see http://portforward.com/. Locate the model number on the page, you will find it written on your router or on a white label under it. If you don't find it on page, select a model that's close to yours.

NOTE
Remember, you want to forward the gaming port 28960, 28961, 20510 and 20500 as protocol UDP on YOUR_LOCAL_IP_ADDRESS.
If you run Call of Duty from same PC, use another port than 28960 for your server, for example 28961 or you wont see any servers in list.
Commented by *~cOp~*  (May 24th, 2016 01:05 PM)

hah i port forward but it is not in master server just in codlist.tk //////
Commented by ^4LOWWY  (Mar 12th, 2017 05:59 PM)

anyhelp?
Commented by ^4LOWWY  (Mar 20th, 2017 12:09 AM)

Please sign in or create an account to post a comment.