Call of Duty 4: Modern Warfare (2007)

Call of Duty 4: Modern Warfare (2007)

yanghanwen Sep 21, 2015 @ 8:50pm
How to start a dedicated server?
My network is only 10M,isn't it enough for 12 people to play?
< >
Showing 1-12 of 12 comments
PureTryOut Sep 22, 2015 @ 1:06pm 
So is the question on how to start a dedicated server, or if your internet is good enough to handle 12 people?

If you don't know the answer to your second question, then you should probably not even try making a server. But to answer it quickly, my internet of 8Mbit (so ~1MB down) was good enough for at least 8 people. Didn't have more people to stresstest, but it could probably have handled some more.

It's an old game, it doesn't require much.
IJzzo Sep 22, 2015 @ 6:35pm 
Well is it 10MBit/s upload? That is fast enough for 64players.
With 1MBit/s upload you can host 14 to 16 players. However 2MBit aren't enough for 32 players.
yanghanwen Sep 23, 2015 @ 6:00am 
Originally posted by IceOps|Ninja:
Well is it 10MBit/s upload? That is fast enough for 64players.
With 1MBit/s upload you can host 14 to 16 players. However 2MBit aren't enough for 32 players.
How to start a dedicated server?
yanghanwen Sep 23, 2015 @ 6:02am 
Originally posted by IceOps|Ninja:
Well is it 10MBit/s upload? That is fast enough for 64players.
With 1MBit/s upload you can host 14 to 16 players. However 2MBit aren't enough for 32 players.
Do you know where can I read how to start a server?
yanghanwen Sep 23, 2015 @ 4:21pm 
can't use Google here:(
SSIXS Sep 24, 2015 @ 12:07am 
Any search engine will answer your question with specific details...
yanghanwen Sep 24, 2015 @ 1:07am 
Originally posted by SSIXS:
Any search engine will answer your question with specific details...
Baidu didn't ……
SSIXS Sep 24, 2015 @ 7:54am 
BE SURE YOU FORWARD PORTS (YOU NEED TO OPEN Required Ports IN WINDOWS FIREWALL)



Required Ports
-----
UDP 20800
UDP 20810
UDP 28960

AND DON'T FORGOT TO SET "sv_pure 1" TO MAKE YOUR SERVER VISIBLE IN SERVER LIST.


Part 1: Creating a shortcut to run your server

1. On your dedicated server, RIGHT click on the iw3mp.exe file found in the CoD4 server's ROOT directory and DRAG it to the desktop. Have the server create a SHORTCUT. Be sure you only created a shortcut and did not actually MOVE the file.

2. Right click on the new shortcut you just created and go to its properties.

3. Find the TARGET field and add the following to the END of the existing target, do not DELETE any of the existing tartget!

+set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate

Note: Make sure there is a SPACE between "iw3mp.exe" and "+set dedicated 2".



The above command line assumes you intend to use Punkbuster of course. If not, remove that part of the command line. Also, you can obviously change the name of your config file to what ever YOU want to call it.

Other optional commandline items:

+set net_ip xxx.xxx.xxx.xxx
+set net_port xxxxx
+set fs_game mods/modwarfare



Part 2: Creating your config file

1. On your remote server, browse to CoD4's main/ directory. You should see many .IWD files in this directory. Create a new text file and rename it to mp-server.cfg. (The name of this config file MUST match what you put in the server's command line)

2. Open your newly created config file with a text editor (such as notepad).

3. Copy and paste this basic config into your new config:

seta sv_punkbuster 1
wait
pb_sv_enable

// Server name
set sv_hostname "My CoD4 Server" //Change this to whatever you want your server to be named in the server browser

// Server password
set g_password "" // blank means NO password

// Rconpassword
set rcon_password "change_me" // Change this to your rcon password!

// Maximum Clients
set sv_maxclients "32"
set sv_privateclients "6"

// Max Ping
set sv_maxping "225"

// Rate
set sv_maxRate "25000"

// Map_rotation
set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"

set sv_maprotationcurrent ""

Note: The above is a VERY basic config, just to get the server up and running.

Simply use the shortcut you made on the server's desktop to start your server.
thanks this guide helped alot
Originally posted by SSIXS:
BE SURE YOU FORWARD PORTS (YOU NEED TO OPEN Required Ports IN WINDOWS FIREWALL)



Required Ports
-----
UDP 20800
UDP 20810
UDP 28960

AND DON'T FORGOT TO SET "sv_pure 1" TO MAKE YOUR SERVER VISIBLE IN SERVER LIST.


Part 1: Creating a shortcut to run your server

1. On your dedicated server, RIGHT click on the iw3mp.exe file found in the CoD4 server's ROOT directory and DRAG it to the desktop. Have the server create a SHORTCUT. Be sure you only created a shortcut and did not actually MOVE the file.

2. Right click on the new shortcut you just created and go to its properties.

3. Find the TARGET field and add the following to the END of the existing target, do not DELETE any of the existing tartget!

+set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate

Note: Make sure there is a SPACE between "iw3mp.exe" and "+set dedicated 2".



The above command line assumes you intend to use Punkbuster of course. If not, remove that part of the command line. Also, you can obviously change the name of your config file to what ever YOU want to call it.

Other optional commandline items:

+set net_ip xxx.xxx.xxx.xxx
+set net_port xxxxx
+set fs_game mods/modwarfare



Part 2: Creating your config file

1. On your remote server, browse to CoD4's main/ directory. You should see many .IWD files in this directory. Create a new text file and rename it to mp-server.cfg. (The name of this config file MUST match what you put in the server's command line)

2. Open your newly created config file with a text editor (such as notepad).

3. Copy and paste this basic config into your new config:

seta sv_punkbuster 1
wait
pb_sv_enable

// Server name
set sv_hostname "My CoD4 Server" //Change this to whatever you want your server to be named in the server browser

// Server password
set g_password "" // blank means NO password

// Rconpassword
set rcon_password "change_me" // Change this to your rcon password!

// Maximum Clients
set sv_maxclients "32"
set sv_privateclients "6"

// Max Ping
set sv_maxping "225"

// Rate
set sv_maxRate "25000"

// Map_rotation
set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant"

set sv_maprotationcurrent ""

Note: The above is a VERY basic config, just to get the server up and running.

Simply use the shortcut you made on the server's desktop to start your server.
this helped alot thanks
its now crashing
< >
Showing 1-12 of 12 comments
Per page: 1530 50

Date Posted: Sep 21, 2015 @ 8:50pm
Posts: 12