COD4 COD: WAW Lounge
Call of Duty 4 Forums
Home UserCP Members Register Calendar FAQ Downloads Clans


Go Back   Call of Duty 4 Forums > Call of Duty 4 Discussion > COD4: PC > COD4 Server Support
Register FAQ Members List Calendar Downloads Search Today's Posts Mark Forums Read


Welcome to the Call of Duty 4 Forums! Please REGISTER!
Hey there!

It looks like you're enjoying Call of Duty 4 Forums but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. You also have the chance to win great prizes just for posting! Register now!

Already a member? Login at the top of this page to stop seeing this message.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 11-06-2007, 08:28 PM
CoD4Boards's Avatar
Administrator
 
Join Date: Aug 2007
Posts: 513
CoD4Boards has disabled reputation
Default Call of Duty 4 Dedicated Server Guide

PC server admin guide for Call of Duty 4: Modern Warfare
***IN PROGRESS***

I will be adding to this in the coming days, but to get you guys started, here's the basics. If you have questions or would like something in particular, please speak up and I'll see what I can do.

Sample Server Configuration can be found: Here

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

Hardware + Bandwidth Requirements
---------------------------------

Bandwidth and server resource usage should be lower than that of COD2 in most situations, but it is not guaranteed. There are some situations where bandwidth usage may spike, and the server will get hit harder than usual. Generally, if you're capable of hosting a COD2 dedicated server you should be just fine for COD4.


starting a dedicated server
----------------------------
LAN server
] iw3mp.exe +set dedicated 1

Internet server
] iw3mp.exe +set dedicated 2

Modded server
] iw3mp.exe +set dedicated [1,2] +set fs_game "mods/<modname>"

start map
] map <mapname>

example usage:
] iw3mp.exe +set dedicated 2 +exec my_server.cfg +map mp_crash

my_server.cfg contains customized settings which are detailed below.
syntax: set <dvar> <value>


server commands
---------------
] killserver
] quit
] map_restart
] say "my message"
] tell [clientnum] "my message to you"

server settings
--------------
map rotation
] sv_mapRotation gametype <gametype> map <mapname> gametype <gametype> map <mapname> ...

<gametype> is one of:
"dm" - free for all deathmatch
"dom" - domination
"koth" - headquarters
"sab" - sabotage
"sd" - search & destroy
"war" - team deathmatch

] sv_hostname "my server"
] g_gametype <gametype>
] sv_maxclients [1-32]
] g_password "my password"
] sv_voice [0-1]
] scr_teambalance [0-1]
] g_allowvote [0-1]
] sv_punkbuster [0-1]
] sv_minping [0-n] (milliseconds)
] sv_maxping [0-n] (milliseconds)
] sv_connectTimeout [0-n] (seconds)
] sv_timeout [0-n] (seconds)


gameplay options
----------------
] scr_oldschool [0-1]
] scr_hardcore [0-1]
] scr_game_spectatetype [0-2] (Disabled, Team/Players Only, Free)
] scr_game_allowkillcam [0-1]
] scr_team_fftype [0-3] (Disabled, Enabled, Reflect, Shared)

] scr_game_perks [0-1]
] scr_game_onlyheadshots [0-1]
] scr_game_forceuav [0-1]
] scr_game_hardpoints [0-1] (i.e. artillery, uav, helicopter)
] scr_hardpoint_allowartillery [0-1]
] scr_hardpoint_allowuav [0-1]
] scr_hardpoint_allowhelicopter [0-1]


free for all deatmatch
-----------------------
] scr_dm_scorelimit [0-n]
] scr_dm_timelimit [0-n] (minutes)


domination
-----------
] scr_dom_scorelimit [0-n]
] scr_dom_timelimit [0-n] (minutes)


team deathmatch
-----------------
] scr_war_scorelimit [0-n]
] scr_war_timelimit [0-n] (minutes)


sabotage
---------
] scr_sab_scorelimit [1-n] (points)
] scr_sab_timelimit [0-n] (minutes)
] scr_sab_roundswitch [0-n] (after how many rounds)
] scr_sab_bombtimer [0-n] (seconds)
] scr_sab_planttime [0-n] (seconds)
] scr_sab_defusetime [0-n] (seconds)
] scr_sab_hotpotato [0-1] (shared bomb timer)


search and destroy
-------------------
] scr_sd_scorelimit [1-n] (points)
] scr_sd_timelimit [0-n] (minutes)
] scr_sd_roundswitch [0-n] (number of rounds before switching teams)
] scr_sd_bombtimer [0-n] (seconds)
] scr_sd_planttime [0-n] (seconds)
] scr_sd_defusetime [0-n] (seconds)
] scr_sd_multibomb [0-1]


headquarters
-------------
] scr_koth_scorelimit [1-n] (points)
] scr_koth_timelimit [0-n] (minutes)
] koth_autodestroytime [0-n] (seconds)
] koth_kothmode [0-1] (classic mode, non-classic)
] koth_spawntime [0-n] (seconds, hq spawn time)

Update: Heres another very good set up guide by FPSAdmin.com: http://www.fpsadmin.com/forum/showthread.php?t=13490
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Payin' The Bills (Register to get rid of this advertisement!)
  #2  
Old 11-10-2007, 10:03 AM
Recruit
 
Join Date: Nov 2007
Posts: 6
annihilatorape
Default Re: Call of Duty 4 Dedicated Server Guide

but how do you get the files on to the your box.....ftp?

anotherwards we have a box running other games (ranked) with lots of room for more, but how do i get the server/game info to the box to run a cod4 server?

Updated : we are downloading the game and such, but do you leave the config file alone except for like name of the server and such to make it a ranked server?
__________________
XFX nforce 750a sli | OCZ 600W psu | AMD 64x2 Dual Core 5600+(2.8GHz) | (x2) 8800GT OC 512MB | 2x 150gig WD Raid 0 | X-Fi Titanium Fatal1ty Pro Series | 4 gigs pc-6400 800mhz ddr2 | G15 kb and G5 mouse | 22" WestingHouse Widescreen LCD | Windows Vista Home Premium
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #3  
Old 11-10-2007, 01:43 PM
Captain Captain II
 
Join Date: Aug 2007
Posts: 328
dx_al
Default Re: Call of Duty 4 Dedicated Server Guide

yeah pretty much.. most settings are locked when its ranked anyways
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #4  
Old 11-13-2007, 11:54 PM
Recruit
 
Join Date: Nov 2007
Posts: 7
Kmarine
Default Re: Call of Duty 4 Dedicated Server Guide

Hello all i am currently taking these commands he was so nice to post and placing them in a cod2 php tool to convert it to COD 4 I already have the maps done and let me know if you would like anything i may not otherwise think off I am not going to go to deep into the depth of the config file for security purposes just to kick users and change common game settings for security settings that you wouldnt change often such as voice will be required to edit the cfg file which most people do anyways.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #5  
Old 11-15-2007, 05:34 AM
Recruit
 
Join Date: Nov 2007
Posts: 2
Genkuro
Default Re: Call of Duty 4 Dedicated Server Guide

Just registered so I could post in this thread...
I'd like to thank y'all for posting this info, I've been trying to setup a dedicated server for my clan and this really helps
However, I'm not quite sure how to get this .cfg file working. Where do I put the config file so the dedicated shortcut can find it?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #6  
Old 11-15-2007, 09:44 AM
Recruit
 
Join Date: Nov 2007
Posts: 7
Kmarine
Default Re: Call of Duty 4 Dedicated Server Guide

Shoudl go in the main directory bro but go here http://www.ghostofhell.com/downloads/ my cod 4 php rcon tool beta is complete it may help on some of the stuff your trying to do.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #7  
Old 11-16-2007, 04:05 AM
Recruit
 
Join Date: Nov 2007
Posts: 2
Genkuro
Default Re: Call of Duty 4 Dedicated Server Guide

Zomg this is great, thank you very much. But lawl, I'm gonna have to learn how to use all of this XD
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #8  
Old 11-17-2007, 10:03 PM
Recruit
 
Join Date: Nov 2007
Posts: 1
Tramtrak
Default Re: Call of Duty 4 Dedicated Server Guide

Ok, so now I have my server up and running...

.... how do I find it online? It doesn't come up on my gaming computer when searching for internet games.

Do I need to know the IP?

Thanks for your help by the way.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #9  
Old 11-18-2007, 12:50 AM
Recruit
 
Join Date: Nov 2007
Posts: 7
Kmarine
Default Re: Call of Duty 4 Dedicated Server Guide

Well right now the only search option for the game is by name if you know the name click on the main name field and it will put them in alphabetical order and ya just have to hunt.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #10  
Old 11-18-2007, 10:46 AM
Recruit
 
Join Date: Nov 2007
Posts: 4
jakari
Default Re: Call of Duty 4 Dedicated Server Guide

it isent working for me, i follow your what you said to the letter but when i run the server and go back to my pc and start cod4 up and go to my server EVERYTHING is default, the server name the scores everything but i followed you and edited the config file to my likeing but nothings changed

any help?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Call of Duty 4 Dedicated Server Guide CoD4Boards News and Announcements 16 09-01-2008 01:46 PM
Call of Duty 4 Linux Dedicated Server CoD4Boards COD4 Server Support 11 08-18-2008 02:50 PM
Win XP or Win 2003 server for dedicated CoD4 server? asphalt COD4 Server Support 8 01-10-2008 12:17 PM
Call of Duty 4 Linux Server Files Released CoD4Boards News and Announcements 0 11-27-2007 06:00 PM
Running a dedicated server on dedicated host fdm_2k COD4 Server Support 1 11-07-2007 05:04 PM





All times are GMT -6. The time now is 02:49 AM.

COD4boards.com is an Privacy Policy and Legal
Style designed by: vBSkinworks SEO by vBSEO 3.1.0 Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.