Take a copy of the game with exact installation files.As I prefer I will take the copy on to a different disk Drive.
after that locate iw3mp.exe file in your game file and make a desktop shortcut.At that shortcut go to it’s properties and at target field type this script.
+set fs_game mods/modfolder +set dedicated 2 +exec server.cfg +set sv_punkbuster 1
In the above command “modfolder” means the folder name that containing the mod ex:- I am using pml220. But You can use any version of promod or another mod according to your favor.
iw3p.exe shortcut with above script is shown in above.
Let’s Allow Outsiders to Connect our Server
This is the important part of this setup . As I mentioned above You need a router with port forwarding facility.Default port for call of duty is 28960 So you need to open 28960 port on your router. Let’s peek in to that section . In this part you gonna need that tool I’ve mentioned above Simple port forwarding tool.
First you need to log in to your admin controls of your router by using your browser. Type your router gateway IP address in the browser.you will find that ip on backside of your router.Mine is 192.168.1.1 most of routers will come with that address while some routers with a different gateway address.
After login in to your Router try to locate port forwarding settings.In my router configurations are located in Advanced setup > NAT > virtual server while some routers have named set of configurations as port forwarding or NAT forwarding.However procedure and process will be same.
During Port forwarding Configurations you need to get your local network IP address by using IPCONFIG command.After issuing that command on command prompt try to find your local network adapter IP address. My network configurations shown in below
Then last part of network configuration. Open up that tool simple port forwarding tool and follow exact steps that I do. you can get that software from this website www.simpleportforwarding.com
Okay, We have finished setting up server.So as a summary I will revise all the things I’ve done to build up this server .
- installing cod4 and installing punkbuster
- do port forwarding in your router
- make a static local ip and choose the correct application by using simple port forwarding tool
Theres another thing that I have to mention . As we are home broadband users ISP will offer us s dynamic IP address . Dynamic means our ip address will change when we reboot our router and previous ip address will not valid for make a connection . For that you can use Dynamic DNS service to make a DNS to your server.
As I mentioned above this server has it’s own limitation. If I point out those things they will be ;
- Only few players will be able to connect with your server from outside the network because more players will use more resources and your server will be lagged.
- players will not be able to connect to your server if you faced to a power failure or after rebooting your router.But this problem can solve easily by using a dynamic dns
- If you are using same computer for the server and playing the game sometimes your server will reduce performance.But this thing will depend on your pc’s performance
There’s another thing to tell about port forwarding configurations under the NAT setting there will be a option to disable firewall on your router . As I prefer I’m disabling the firewall during that configuration.Because it will block data flows from outsiders during game play.
That’s all about creating a cod4 server for private use. So readers if you have any doubts or questions please mention them in the comment section and not only that you can give me a feedback on this post as this is my first blog post.No matter your feedback is negative or positive please mention anything you feel about this post . Don’t forget to follow my blog and share among friends.