Login x
User Name:
Password:
Social Links Facebook Twitter YouTube Steam RSS News Feeds

Members Online

»
0 Active | 46 Guests
Online:

LATEST FORUM THREADS

»
CoD: Battle Royale
CoD+UO Map + Mod Releases
Damaged .pk3's
CoD Mapping
heli to attack ai
CoD4 SP Mapping

Forums

»

Welcome to the MODSonline.com forums. Looking for Frequently Asked Questions? Check out our FAQs section or search it out using the SEARCH link below. If you are new here, you may want to check out our rules and this great user's guide to the forums and the website.
For more mapping and modding information, see our Wiki: MODSonWiki.com

Jump To:
Forum: All Forums : Call of Duty
Category: CoD+UO General
General game questions, comments, and chat.
Moderators: foyleman, Foxhound, Mystic, StrYdeR, batistablr, Welshy, DrBiggzz, supersword
Latest Posts
Subscribed Posts
Search
Restricted Access Topic is Locked subscribe
Author Topic: set up a dedicated server on your home pc
GOA-NITRO
General Member
Since: Apr 15, 2006
Posts: 18
Last: Jul 28, 2011
[view latest posts]
Level 1
Category: CoD+UO General
Posted: Thursday, Jan. 14, 2010 07:24 pm
Hi all....i put this tutorial in the downloads section, but in case some people dont have the right program to open it, i thought i would put it here:

The one thing i get asked the most is how to setup a dedicated server on a home pc...so this tutorial will give you the step by step instruction on how to do this.

Section 1

Open your Call of Duty Multiplayer icon which should be on your desktop
Once open you will see a screen with options such as:
• Join Game
• Start New Server
• Multiplayer Options
• Options
• Mods
• Single Player
• Quit
Now you need to click on Multiplayer Options make sure everything is set to how you would like it, if you have mods make sure Allow Download is set to yes otherwise when a player tries to connect to your server it will tell them to manually find the file (PK.3).
Now click on Start New Server
You will see various options but the most important option is the Dedicated make sure this is set to Internet, if not your server will not be seen on the CoD Master Server, one other thing to change is the PunkBuster setting, just two settings here either Yes or No...This option is up to you, although PunkBuster can cause players to be kicked if your server or the players Punkbuster is not updated, we will come to this part in a little more depth later on in the tutorial. Do not worry too much about the other settings as when we create our Dedicated.cfg (config file) these options will automatically change. Now close the window and come back to your Desktop.

Section 2
Now what you are looking for is your game path folder....usually in C:\Program Files as Default but you should know where your folder is from when you installed the game is not just search your computer for Call of Duty Game of the Year Edition this will point you into the direction of the folder you need to enter.



Double Click the Call of Duty Game of the Year Edition folder and you should see this:


The Icon we are looking for is the one circled in red above, now we need to right click this and then click on create shortcut.


Now we have our Shortcut as circled in red above now you can rename it to whatever you like. After this has been done drag your new shortcut to your desktop.

In this step we need to alter the Target....to do this you need to right click the shortcut you have just created and put on your desktop and then go to Properties when this is open you should see this:


In the Target box go to the end of the Text (DO NOT DELETE ANYTHING) and click in there....then tap the space bar once.....now we need to add some commands in the Target box.....type this:

+set dedicated 2 +exec dedicated.cfg +map_rotate

• Setting dedicated to 2 will tell your server it is an Internet server and will be seen on the Master List and will be available for players to join.
• exec dedicated.cfg is telling the server to execute the config file in your main folder (how to do this part will follow next)

Now we have typed this text in the Target box....click Apply and then OK......that is this part done.

Section 2

Creating a CFG and the different commands:

Firstly this is an example cfg:
Create your Cfg in any text editor

// Public Information
set sv_hostname "THIS IS WHERE TO PUT YOUR SERVERS NAME"
set scr_motd "IN HERE TYPE INFORMATION ABOUT YOUR SERVER (RULES ETC)"
sets .Admin "YOUR NAME"
sets .Email "YOUR E-MAIL"
sets .Mods "THE MOD YOU ARE USING IF ANY"
sets .Rules "YOUR SERVER RULES....KEEP IT SHORT...LIKE SNIPER ETC"
sets .Website "YOUR WEBSITE URL"
sets .ServerLocation "WHERE THE SERVER IS HOSTED FROM"
sets .Host "YOU’RE THE HOST...SO PUT THE NAME OF YOUR CLAN IF YOU HAVE ONE"
sets .Maps "TELL THE CLIENTS WHAT TYPE OF MAPS THE SERVER IS RUNNING....LIKE...CUSTOM OR STOCK"
*Where you see " " keep all text in-between this*

// Server Performance Settings
set sv_maxPing 800
set sv_minPing 0
set sv_maxRate 25000
//set sv_fps 20

//Server Security Settings
seta sv_floodProtect 1
seta sv_flood_waitdelay 10
seta sv_flood_persecond 4
seta flood_msgs 4
set sv_pure 1
set sv_punkbuster 1 *SET THIS TO 1 IF YOU ARE RUNNING PUNKBUSTER ON YOUR SERVER AND SET TO 0 IF YOU ARE NOT......REMEMBER TO SET IT TO THE SAME AS YOUR SETTINGS IN START NEW SERVER*
set rconPassword "YOUR RCON PASSWORD...THIS IS USED WHEN YOU ARE USING A RCON TOOL TO CONNECT TO THE SERVER AND HAVE FULL CONTROLL OF SETTINGS ETC"
set g_password "ONLY SET THIS IF YOU LIKE TO HAVE ALL YOUR PLAYER SLOTS TO BE PRIVATE.....IF A CLIENT JOINS THEY WILL HAVE TO PUT IN THE SAME PASSWORD AS HERE TO JOIN"
set sv_privatePassword ""
PB_SV_GUIDRelax 1 * THIS IS ONLY FOR SERVERS RUNNING ON 1.5 AND IS FOR THE ADMIN TO CONNECT TO HIS OR HER SERVER......BECAUSE YOUR GUILD WILL BE 0.....THE SERVER WILL NOT RECONISE THIS AND KICK YOU.....SO SET THIS TO 1 AND YOU WILL BE FINE.*


//Server Configuration Settings
seta g_allowVote 1 *SET TO 1 TO ALLOW PLAYERS TO VOTE IN THE GAME...SET TO 0 SO THEY CANNOT VOTE*
seta scr_allow_vote 1
seta sv_maxClients 20 *THE NUMBER OF PLAYERS YOU WOULD LIKE TO JOIN YOUR SERVER....BE CAFEFULL...DONT SET IT TO HIGH *
seta sv_privateClients 0 *THE NUMBER OF PRIVATE CLIENT SLOTS......ITS BASICALLY A RESERVE SLOT FOR YOU OR A FRIEND......THIS DOES NOT GET USED BY A CLIENT....SO THERE IS ALLWAYS A SPACE FOR YOU*
seta sv_wwwDownload 1 *IF USING CUSTOM MODS YOU MUST SET THIS TO 1 OR THE CLIENT WILL NOT BE ABLE TO DOWNLOAD*
seta sv_wwwBaseURL "SEE THE SECTION IN BLUE"
seta sv_wwwDIDisconnected 1 *SEE THE SECTION IN BLUE*
seta cl_wwwDownload 1 *SEE THE SECTION IN BLUE*
Added HTTP redirection for Servers running Mods or custom maps. To enable redirection on the server, set sv_wwwDownload to 1. Set sv_wwwBaseURL to the base directory where the files are stored. For example, if the server had a file named ‘myfile’ meant to be stored locally at \Call of Duty\Main, sv_wwwBaseURL should be set to “http://samplewebpage1.com/”. The file should be stored at http://samplewebpage1.com/Main/myfile. To prevent clients from taking up a slot on the server while downloading, set sv_wwwDlDisconnected to 1. This will free up a slot for the duration of the download and the client will attempt to autoconnect when the download is complete. Set cl_wwwDownload to 1 to enable redirection downloading on the client.

// Server Logs
set g_log "cod.log"
set logfile 1
set g_logsync 0
*LEAVE THE ABOVE AS SHOWN*

//Gameplay Settings
set g_gametype tdm *SETS THE GAMETYPE YOU WOULD LIKE TO USE*
set scr_friendlyfire 0
set scr_autoassign 1
set scr_drawfriend 1
set scr_killcam 0 //0 off, 1 on *SETS THE KILLCAM ON OR OFF*
set scr_speclock 1 //0 off, 1 on *SETS THE SPECTATOR VIEW.....ON WILL MAKE THE SPECTATOR SEE A BLACK SCREEN AND WILL NOT BE ABLE TO FOLLOW PLAYERS*
set scr_bombplant 5
set scr_bombdefuse 10
set scr_bombtimer 60
set g_runspeed 200 //Overall game runspeed


// General Settings
set sv_allowAnonymous 0
set sv_cheats 0
seta sv_gamespy "1" // Show server on GameSpy
seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master.gamespy.com:12203"
seta sv_master4 "master3.idsoftware.com"
seta sv_master5 "clanservers.net"
*LEAVE THE ABOVE SETTINGS*

*BELOW ARE THE WEAPON SETTINGS YOU WOULD LIKE TO USE ON YOUR SERVER SET 1 TO ENABLE AND 0 TO DISABLE*
// Weapons
// Weapons Allowed
seta scr_allow_bar 0
seta scr_allow_bren 0
seta scr_allow_enfield 0
seta scr_allow_fg42 0
seta scr_allow_kar98k 1
seta scr_allow_kar98ksniper 1
seta scr_allow_m1carbine 0
seta scr_allow_m1garand 0
seta scr_allow_mp40 0
seta scr_allow_mp44 0
seta scr_allow_nagant 1
seta scr_allow_nagantsniper 1
seta scr_allow_panzerfaust 0
seta scr_allow_ppsh 0
seta scr_allow_springfield 1
seta scr_allow_sten 0
seta scr_allow_thompson 0

*BELOW ARE GAMETYPE SETTINGS*
// TDM
seta scr_tdm_scorelimit 150 *SCORELIMIT WILL FINISH THE GAME WHEN A TEAM REACHES THE SET LIMIT*
seta scr_tdm_timelimit 20 *SET THE TIME YOU WOULD LIKE TO PLAY A GAME....I SET 20 MINS ....ITS NOT TO LONG AND NOT TO SHORT*
seta scr_forcerespawn 1 *SET THIS TO 1 SO THAT AFTER THE PLAYER HAS DIED HE IS FORCED BACK INTO THE GAME AND DOES NOT HAVE TO PRESS HIS OR HER USE BUTTON....DEFAULT (F).......SET TO 0 AND THE PLAYER WILL HAVE TO PRESS THE USE KEY TO REJOIN THE GAME*

// DM
seta scr_dm_scorelimit 150
seta scr_dm_timelimit 20
seta scr_drawfriend 1
seta scr_forcerespawn 1

// SD
seta scr_sd_graceperiod 15
seta scr_sd_roundlength 4
seta scr_sd_roundlimit 0
seta scr_sd_scorelimit 7
seta scr_sd_timelimit 0

// BEL
seta scr_bel_alivepointtime 10
seta scr_bel_scorelimit 50
seta scr_bel_timelimit 30

// RE
seta scr_re_graceperiod 15
seta scr_re_roundlength 4
seta scr_re_roundlimit 0
seta scr_re_scorelimit 7
seta scr_re_timelimit 0
seta scr_re_showcarrier 0

*BELOW ARE THE SETTINGS FOR THE MAPS YOU WANT YOUR SERVER TO ROTATE....CHANGE THEM AS YOU WISH.....DO NOT REMOVE THE map mp_ PART*
set sv_mapRotationCurrent "map mp_carentan map mp_chateau map mp_brecourt map mp_harbor map mp_stalingrad map mp_depot map mp_railyard map mp_neuville map mp_dawnville "
set sv_mapRotationCurrentmap "MP_HARBOR "
map_rotate


Section 3

So you have created a cfg file....now you need to save it as a cfg file extension....ok now click on File in the top left hand side of your cfg.......now click Save As......in the File Name box....call it dedicated.cfg......and save this file to your desktop (we are using desktop at the moment as the next section will show you where to put this file.....saving it to desktop is just an easy way to find your file).

GFG File Done

Section 4

Where to put your Cfg:

Now go to
1. C:\Program Files
2. Call of Duty Game of the Year
3. Main Folder

Open your main folder, now you need to drag and drop your dedicated.cfg which is on desktop into the Main folder.
Close the window....this part is done.




Section 5

Now on your desktop you created a shortcut and called it what you like.......doubble click it and you should see something like this:




If you see this....your server is up and running.....type status which is red in the above, this will give you the details on the server....what map is running and if there are any players on your server.....it also tells you more but i will not go into that part right now....as it can get complicated.

One last thing is:
Go look for your server on the Master List and enjoy
Regards
Jay
Or <<{ASUS}>>NITRO

Share |
Restricted Access Topic is Locked subscribe
MODSonline.com Forums : Call of Duty : CoD+UO General

Latest Syndicated News

»
Codutility.com up and runn...
Nice, and there still using the logo and template for the screenshots, which...
Codutility.com up and runn...
dundy writes...Quote:Call of Duty modding and mapping is barly alive only a ...
Codutility.com up and runn...
Mystic writes...Quote:It seems to me the like the site is completely dead? ...
Codutility.com up and runn...
It seems to me the like the site is completely dead?

Partners & Friends

»