Forums  
CoD4Central.com

CoD4 Central Forums

Welcome guest, please login or register a free account to post on these forums. Dec 05, 2008, 08:53 AM
Registering a free account will remove ads from the forums. Please sign up today, and help contribute to the growing community. Registering only takes a minute and allows you to post on the forums, communicate with other members, advertise for your clan, start a new one, or look for one in our clan forums, submit classes, guides and other content, as well as many other features.
Pages: [1]   Go Down
  Print  
Author Topic: how to start your own server  (Read 172 times)
killer47
Master Sergeant
*
Karma: 1
Posts: 89
744.00 credits (i) (?)

View Profile
« on: Sep 01, 2008, 09:05 AM »

Start Your Own Dedicated Server

--------------------------------------------------------------------------------

A lot of questions has been asked about how to set up your own server with COD4. So Im gonna try make a litle tutorial here. If you have any suggestions about how to improve it please share it with us.



Step One:
Install the game on your server pc OR copy/FTP the install folder from your pc to a server pc.
Usually C:\Program Files\Activision\Call of Duty 4 - Modern Warfare and keep the folder structure intact.

Step Two:
Prepare your router/modem to forward the right ports to the server pc. Follow instructions from PortForward site.
Ports to forward are 28960, 28000 and 28100. Also check that your firewalls allow those ports trough.

Step Three:
Create a shortcut to start your server or set up the command line on your remote server. This has to be done differently for a ranked and un-ranked server. We will explain both and use our server config files as a example.

ShortCut/Command line
1. First you have to make a shortcut to iw3mp.exe file in your root folder.
2. Right click that file and make a shortcut to the desktop.
3. Right click on the new shortcut you just created and go to its properties.

FOR RANKED SERVER:
4. Find the TARGET: "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" field
and add the following to the END of the existing target, do not DELETE any of the existing target:
+exec serversetting.cfg +set dedicated 2 +set net_ip 1.2.3.4 +set net_port 28960 +map_rotate so now it looks like this:
Code: "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +exec serversetting.cfg +set dedicated 2 +set net_ip 1.2.3.4 +set net_port 28960 +map_rotate


FOR UN-RANKED SERVER:
4. Find the TARGET: "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" field
and add the following to the END of the existing target, do not DELETE any of the existing target:
+exec serversetting.cfg +set fs_game "mods/<yourmod_folder> +set dedicated 2 +set net_ip 1.2.3.4 +set net_port 28960 +map_rotate so now it looks like this:
Code: "C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +exec serversetting.cfg +set fs_game "mods/<yourmod_folder> +set dedicated 2 +set net_ip 1.2.3.4 +set net_port 28960 +map_rotate

Note 1: Make sure there is a SPACE between "iw3mp.exe" and "+exec serversetting.cfg".
Note 2: Now here is the trick, the +set net_ip 1.2.3.4 has to be changed to your server pc's internal IP adress, something like 192.168.0.1.
Note 3: For un-ranked server the <yourmod_folder> is the name of the folder for your mods, all small letters!

Step Four:
Now its time to add your config files and use our server config files. For a ranked server place the two files serversetting.cfg and gamesetting.cfg in your servers main folder. Edit the files to your likings and your ready.

For a un-ranked server place all four files in <yourmod_folder>. Edit the files to your likings. Remember to copy the files mod.ff, z_modwarfare.iwd and a renamed mod.csv file from the ModWarfare folder to <yourmod_folder>.

Step Five:
DirectX
To run the server you need a DirectX file, download the attached directX file in this post and upload the d3dx10_34.dll file to your Window's Servers system32 directory (Mine was in C:\WINDOWS\system32).

PunkBuster files
1. Download pbsetup.exe here, from evenbalance.com.
2. Upload pbsetup.exe to your server. It does NOT need to be in the CoD4 directories, in fact it is probably best if you treat this as a stand-alone application (it can update ALL PB servers from one application).
3. Run pbsetup.exe and click "Add a Game". Choose a CoD4 server. You will likely need to browse to the iw3mp.exe file so that pbsetup knows where your CoD4 server is located.
4. Once you have added your CoD4 server, select/highlight the CoD4 server in the list and click "Check For Updates". This should download a number of files to your CoD4 server directories. You should not have to do anything else.



Then your ready to rock!
Logged

kill them all
NitroBobby
Gunnery Sergeant
*
Karma: 4
Posts: 70
47.00 credits (i) (?)
keep it flowin'


View Profile
« Reply #1 on: Sep 01, 2008, 09:17 AM »

That is weird, you spam useless topics everywhere then you come here and post a superbly written guide. I'm torn between "great guide!" and, "tell me where you copied this from"
Logged

Martyrdom is just a free nade to throw back...in theory...
XShy
Corporal
*
Karma: 2
Posts: 25
156.00 credits (i) (?)

View Profile
« Reply #2 on: Sep 01, 2008, 02:27 PM »

And... He forgot one of the biggest things...What are the configs?? Well I'm here to saave the day!

For the mods folder you need the cod4_server mod

Place the following file into your mods folder

http://uppit.com/4538TO

Enjoy!
Logged
deathangel73
Corporal
*
Karma: 1
Posts: 23
50.00 credits (i) (?)

View Profile
« Reply #3 on: Sep 02, 2008, 04:11 AM »

And... He forgot one of the biggest things...What are the configs?? Well I'm here to saave the day!

For the mods folder you need the cod4_server mod

Place the following file into your mods folder

http://uppit.com/4538TO

Enjoy!
ty
Logged

dont make love behind the garden gate. love is blind but the neighbours aint.

I sat back and looked at the stars and thought..... Where the hells my roof!
Deer Rat
Lt. General
***
Karma: 43
Posts: 1,290
184.00 credits (i) (?)
-Sir Ratty-


View Profile
« Reply #4 on: Sep 02, 2008, 08:51 AM »

That is weird, you spam useless topics everywhere then you come here and post a superbly written guide. I'm torn between "great guide!" and, "tell me where you copied this from"
I feel the same way...
Logged

Proud to be living near Canadians, eh?

Meet The Sandvich

Capreolus Rattus

GT: Deer Rat
Clan: C4C 360 Division
Position: Officer
Slaine
Brigadier General
*
Karma: 37
Posts: 635
5102.00 credits (i) (?)
Old school till the casket drops!


View Profile WWW
« Reply #5 on: Sep 03, 2008, 11:47 AM »

Not torn at all, so I will ask outright. Cool

Where did you copy and paste it from Killer, we both know you didn't write it. Tongue
Logged

PC Player.
Xfire: slaineds
COD4: Slaine or Empty
WaW: Slaine-DS-

Silence is golden, but duct tape is silver!
{HH} Keiji
Brigadier General
*
Karma: 10
Posts: 587
582.00 credits (i) (?)
hmmm, someone said G3??? O__O


View Profile
« Reply #6 on: Sep 06, 2008, 05:50 AM »

Killer...that so copied, where you get it?  Tongue
Logged

I'm in love with the G3 and M14 Cheesy leave me alone! Sad

Highest kill streak: 64 (updated 21/11)
Kill/death ratio: 41.2 (updated 21/11)
am i good or what?

THE GHOST IN C4C PC CLAN!
CoD4Central Forums
   

 Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


CoD4 and Call of Duty 4 are registered trademarks of Infinity Ward.
© 2008 CoD4Central | Privacy Policy and Copyright
All submitted content becomes the property of CoD4Central. Usage of CoD4Central content on any other site is strictly prohibited.
Legal action will be taken against anyone found using copyrighted CoD4Central content elsewhere.