Call of Duty 5: Getting Server Running

From COD Modding & Mapping Wiki
Revision as of 14:07, 11 November 2008 by Zeroy (talk | contribs) (→‎Server Config)
Jump to navigation Jump to search

What's Needed

In order to run a dedicated COD:WW server you will need:

*Files from the retail game
*Patch 1.1

1. Files:

To lighten up the upload of the files to your server note that the SP .ff files arent required to run a MP server. The files required from the ZONE folder are:

FILENAME

code_post_gfx_mp.ff
common_ignore.ff
common_mp.ff
localized_code_post_gfx_mp.ff
localized_common_mp.ff
localized_mp_airfield.ff
localized_mp_asylum.ff
localized_mp_castle.ff
localized_mp_courtyard.ff
localized_mp_dome.ff
localized_mp_downfall.ff
localized_mp_hangar.ff
localized_mp_makin.ff
localized_mp_outskirts.ff
localized_mp_roundhouse.ff
localized_mp_seelow.ff
localized_mp_shrine.ff
localized_mp_suburban.ff
mp_airfield.ff
mp_airfield_load.ff
mp_asylum.ff
mp_asylum_load.ff
mp_castle.ff
mp_castle_load.ff
mp_courtyard.ff
mp_courtyard_load.ff
mp_dome.ff
mp_dome_load.ff
mp_downfall.ff
mp_downfall_load.ff
mp_hangar.ff
mp_hangar_load.ff
mp_makin.ff
mp_makin_load.ff
mp_outskirts.ff
mp_outskirts_load.ff
mp_roundhouse.ff
mp_roundhouse_load.ff
mp_seelow.ff
mp_seelow_load.ff
mp_shrine.ff
mp_shrine_load.ff
mp_suburban.ff
mp_suburban_load.ff
ui_mp.ff

2. For the Patch 1.1:


The patch 1.1 MUST be installed on the Server as it fixes an issue in the EXE file to be able to run your Dedicated Windows Server


Worthplaying.com
Ausgamers.com
Filefront

Port Forwarding

In order to run your own server and open it up to internet users, you need to do some port forwarding in your Router. The ports to forwards are as follow:

UDP 20800
UDP 20810
UDP 28960-28970

For a detailed How-to setup port forwarding on your router, see Portforward.com


Make sure your Windows Firewall has either added rules for those ports or/and CoDWaWmp.exe is unblocked from it!

Gametypes

Availiable gametypes are as follow:

  • DM Free-for-All
  • TDM Team Deathmatch
  • KOTH HeadQuarters
  • SD Search & Destroy
  • SAB Sabotage
  • DOM Domination
  • WAR War
  • SUR Survival

Server Config

This next section will give you a base server config, a more detailed Server Config can be found HERE

Now Create a file called server.cfg and place in /Main -- Server.cfg can contains (change passwords of course):

seta sv_punkbuster 1
wait
pb_sv_enable

// Server name
set sv_hostname "MY CoDWW Server" 

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

// Rconpassword
set rcon_password "changeme"

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

// Max Ping
set sv_maxping "225"

// Rate
set sv_maxRate "25000"

// Map_rotation
set g_gametype "tdm"

set sv_mapRotation "gametype tdm map mp_castle gametype tdm map mp_makin gametype tdm map mp_roundhouse
 gametype tdm map mp_asylum gametype tdm map mp_airfield gametype tdm map mp_seelow gametype tdm map mp_dome
 gametype tdm map mp_downfall gametype tdm map mp_suburban gametype tdm map mp_shrine 
gametype tdm map mp_cliffside gametype tdm map mp_hangar gametype tdm map mp_courtyard";

Starting Server

Windows ONLY and not for servers from Game Servers Providers!

  • Right-click your Shorcut for CoDWaWmp.exe and add this at the end:
+set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate

Make sure that " are present in the Shorcut around CoDWaWmp.exe. Example:

"C:/Program Files/Activision/Call of Duty- World at War\CoDWaWmp.exe" +set dedicated 2 +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +exec server.cfg +map_rotate

Replace xxx.xxx.xxx.xxx by your Public IP adress. If unsure of your Public IP Address you can go HERE to check it out.


  • Once the server starts you should get the console: