PDA

View Full Version : Setting up a dedicated server- for a noob......


kMaN
12-19-2003, 01:27 PM
I want to setup a COD dedicated server and I need some help. Yes, I do have a legitamate(bought) copy of COD. As of yet, they have not released a stand-alone dedicated server, like BF1942 or RVS. I really don't want to send my only copy of the game to my hosting company, then wait for them to install the game and then wait for them to send me the cd's back.....could take awhile if you know what I mean. So how are some of the dedicated servers out there getting COD on thier server without sending their COD cd's away to the company that is hosting their server? Can anyone help me out there? 8-)

Tighten
12-19-2003, 03:24 PM
If your renting a box- not a game server. You can either do it the way you explained.

Or, You can simply make a copy of your Call of duty folder after you installed it, zip the folder, then FTP it to a directory of your choice.

This takes about 4-5 hours depending on your upload speed.

Unzip the folder to a directory(folder) or your desktop and now the enitre game is on your server.

kMaN
12-20-2003, 12:51 AM
I am currently uploading my COD folder. Now, what is the next step? 8-)

Tighten
12-20-2003, 09:25 AM
Grab a server.cfg from one of the forums or use one of the many .cfg builders out there. Either get firedaemon or use the shortcut method.

Firedaemon = Use the readme
(there are other programs to, do a search)

Or,

Shortcut method = make a shortcut from the cod_mp.exe, then right click, properties and in the target line add this > +dedicated 2 +exec server.cfg. You can add other stuff but that should get you started.

Your target line in your shortcut should look like this =

"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec server.cfg

You can launch the shortcut and disconnect from your session or use PcAnywhere, VNC (whatever) and launch the shortcut like that (better then a disconnect from session), then simply disconnect from you remote program.

kMaN
12-20-2003, 10:37 AM
The file I zipped and uploaded was corrupted :x , I will probably ask you more questions in another 7 hours......thanks for your help Tighten. :smile:

By the way, what format are u using to display ur signature:?:

Tighten
12-20-2003, 11:11 AM
sames as you- you may have to check your profile settings. Like enabling HTML?

Not sure - or the link is not valid.

Tighten
12-20-2003, 11:15 AM
Actually your link is valid - I would bet it is a profile setting.

kMaN
12-20-2003, 11:57 PM
Alrighty!!!!!! The COD files were uploaded and unpacked into my remote server. Now I am attempting to make a server.config file. 8-)

Tighten
12-21-2003, 12:50 AM
There are like 100 to choose from in these forums or simply use one of the builders.

It is a very basic config.

kMaN
12-21-2003, 12:59 PM
Alright, I used CoD Config Creator 1.0 by Mark. I used the "Auto Create your Server" and it worked to get a dedicated server up and running. Unfortunately, my server does not show-up in the server list through the game or on gamespy. I can connect through IP to the server. :cry:

Also, where do I go in the config files to change what ip the game uses? :?

Also, I am using "[i.g]http://...............[/img]" to display my signature..... :dis:

Tighten
12-21-2003, 01:30 PM
Make sure you have this listed in the config.

seta master1 "codmaster.activision.com"
seta master2 "master0.gamespy.com"
seta sv_gamespy "1"

To bind an IP add this to your shortcut target -ip 000.000.000 (your IP instead of 00.00....) -port 28960

kMaN
12-21-2003, 04:51 PM
Well, five minutes after I left my last post, I fugured out this part......

seta master1 "codmaster.activision.com"
seta master2 "master0.gamespy.com"
seta sv_gamespy "1"

Now, about bindingthe ip, where exactly do you put this.....

To bind an IP add this to your shortcut target -ip 000.000.000 (your IP instead of 00.00....) -port 28960


Help..... :smile:

Tighten
12-21-2003, 04:54 PM
C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec server.cfg

Add the IP bind so it looks like this >

C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec server.cfg -ip 000.000.000.000 -port 28960

kMaN
12-21-2003, 05:47 PM
Thanks for your help again Tighten. What is the better remote admin server tool u know of? I am trying to use DivCon 1.0 but the kick/player part does not work? :?

Tighten
12-21-2003, 06:17 PM
I have not used any of them really. Just ask around here -I am sure a few people will give you some input.

kMaN
12-22-2003, 08:02 PM
Alright, I tried to insert the ip in the shortcut but when I went to start the server, an error comes up saying that the map could not start, bla,bla, something or another. When I take the ip line out, it works. My shortcut.......> "E:\Call of Duty\CoDMP.exe" +set dedicated 2 +exec server.cfg -ip 69.56.168.52 -port 28960 +teamdeatmatch.cfg +map_rotate........ :cry:

Also, my CoD server shows up in the CoD master server list but not Gamespy? :cry:

Tighten
12-22-2003, 10:54 PM
"E:\Call of Duty\CoDMP.exe" +set dedicated 2 +exec server.cfg -ip 69.56.168.52 -port 28960 +teamdeatmatch.cfg +map_rotate........

should be +exec teamdeathmatch.cfg and after your rotation have the first map in the rotation called like this>

-------------------------------- cut ---------------------------------
//Starting map============
map mp_brecourt
------------------------------ end cut ------------------------------------

This goes after your map rotation on a seperate line. (doesn't really matter were in the .cfg actually)

Tighten
12-22-2003, 10:56 PM
Actually I just noticed your trying to exec 2 configs? Is that a type or is one a map.cfg ? You can only use one "server.cfg", so if your trying to use two that is definitly a problem.

kMaN
12-23-2003, 10:49 PM
I am just trying to use on config file. I am kinda confused on what my shortcut path should read........should it be..........

"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated +exec teamdeathmatch.cfg server.cfg -ip 000.000.000.000 -port 28960"

Is this how it should read?

Tighten
12-23-2003, 10:56 PM
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated +exec teamdeathmatch.cfg server.cfg -ip 000.000.000.000 -port 28960"

You have to be exact with the syntax (command line)>

--------------------------- //USE THIS\\--------------------------------
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec teamdeathmatch.cfg -ip 000.000.000.000 -port 28960
------------------------------------------------------------------------------

The IP 000.000.000.000 > replace that with yours. You also left out the 2 next to +set dedicated <>

Tighten
12-23-2003, 10:57 PM
If you want to pm me with access to your box - I will set it up for you. (no tweaking) just set it up so it runs.

Serph
12-24-2003, 11:17 AM
"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2
exec server.cfg +set net_ip xxx.xxx.xxx.xxx +set net_port 28960 +map_rotate"

if you want to exec that teamdm.cfg file, in your server.cfg at the bottom type exec teamdm.cfg or w/e the file name was.

Tighten
12-24-2003, 11:22 AM
Thanks for the correction - I forgot -ip bind doesnt work with shortcuts for COD.
+set net_ip is the correct way for shortcuts.

kMaN
12-24-2003, 01:43 PM
I made my shortcut......

"E:\Call of Duty\CoDMP.exe" +set dedicated 2 exec server.cfg +set net_ip 69.56.168.52 +set net_port 28960 +map_rotate"

My .cfg file......

// Passwords -- This file generated by COD Config Creator --
set rconPassword "xxxxxx"
set g_password ""
set sv_privatePassword "xxxxx"

// Public Info
set sv_hostname "-=XcaL HighSpeed=-"
set scr_motd "Welcome to -=XcaL HighSpeed=-, Don't be a dick!!!!"
sets .Admin "Xcal_kMaN"
sets .Email "kstockton@nc.rr.com"
sets .IRC ""
sets .Website "www.teamxcalibur.com"
sets .Location "Texas"

// Team Icons
set scr_drawfriend "0"
// Forced Respawn
set scr_forcerespawn "0"
// Friendly Fire
set scr_friendlyfire "1"
// Force Team Spectate
set scr_speclock "1"
//-----------------------------------------------------
// General Settings
set sv_maxClients "30"
set sv_privateClients "6"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "450"
set sv_pure "1"
set logfile "1"
set g_logsync "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "1"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""
set sv_gamespy "1"
//-----------------------------------------------------
// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "1"
set scr_allow_kar98 "1"
set scr_allow_kar98sniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
//-----------------------------------------------------
// DeathMatch
set scr_dm_scorelimit "50"
set scr_dm_timelimit "30"
//-----------------------------------------------------
// Team DeathMatch
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "20"
//-----------------------------------------------------
// Search and Destroy
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"
//-----------------------------------------------------
// Behind Enemy Lines
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"
//-----------------------------------------------------
// Retrieval
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "7"
set scr_re_timelimit "0"
set scr_re_showcarrier "0"
//-----------------------------------------------------
// Map Rotation
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship"
//-----------------------------------------------------
set sv_mapRotationCurrentmap ""
//-----------------------------------------------------
//Starting maP
map mp_brecourt
//-----------------------------------------------------
// Hearbeat
seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_gamespy "1"


I get this error when I try and start my server.....

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
E:\Call of Duty\main\pak6.pk3 (3 files)
E:\Call of Duty\main\pak5.pk3 (4858 files)
E:\Call of Duty\main\pak4.pk3 (1668 files)
E:\Call of Duty\main\pak3.pk3 (1992 files)
E:\Call of Duty\main\pak2.pk3 (694 files)
E:\Call of Duty\main\pak1.pk3 (2642 files)
E:\Call of Duty\main\pak0.pk3 (12828 files)
E:\Call of Duty/main
E:\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
E:\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
29625 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
Measured CPU speed is 2.99 GHz
System memory is 1007 MB (capped at 1 GB)
Video card memory is 64 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: 69.56.168.52:28960
Hostname: xxxxxxxxx
IP: 69.56.168.50
IP: 69.56.168.51
IP: 69.56.168.52
IP: 69.56.168.53
IP: 69.56.168.54
--- Common Initialization Complete ---
Working directory: E:\Call of Duty
dedicated will be changed upon restarting.
map_rotate...

"sv_mapRotation" is:""

"sv_mapRotationCurrent" is:""

No map specified in sv_mapRotation - forcing map_restart.
Server is not running.
----- CL_Shutdown -----
-----------------------
Hitch warning: 1076 msec frame time


I am almost there...help!!!!!!! :cry:

You talked about starting a teamdm.cfg file also? Why would you do that :?:

Serph
12-24-2003, 01:52 PM
just your map rotation hold on 5 seconds...

set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard gametype sd map mp_rocket"

thats for uh... sd change it accordingly for tdm that is whats ony my server works fine

kMaN
12-28-2003, 10:17 AM
does anyone know how to fix this error, Serph, I don't understand what your tryingto tell me. :cry:

Rammer_DD
12-28-2003, 11:38 AM
email me at rammer_dd@yahoo.com
tel which maps you want too run ill send you the shortcut and a map config
that should get you up and going
you have a couple things wrong

Tighten
12-28-2003, 12:35 PM
just add this somewere in your .cfg

map mp_brecourt

That will start the server, depending if your rotation is set up properly will determine if it rotates maps correctly.

kMaN
12-31-2003, 01:07 PM
I can get the server running using the shortcut but when I try to add the ip line in it, it gives me the map rotation error, even after I cut the startmap line in the cfg file. :cry:

Digital
01-02-2004, 04:43 AM
This is what I used for my target and my server runs fine although...

"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec dedicated.cfg +map_rotate +set net_ip xx.xx.xxx.xxx +set net_port 28960

(The "dedicated.cfg" is just what i named my config)

When i use port 28960 I cannot connect to the server using All seeing eye, gamespy or the the multiplayer in game list.
I can use the console and connect just fine

If I change my port to 28961 it shows up in gamespy and all seeing eye immediately but I cannot find it in the master list for the game. I can connect just fine though and it runs great.
Anyone know what the problem might be?

And I did build a proper config-

Resolving codmaster.activision.com
codmaster.activision.com resolved to 63.146.124.59:20510
Sending heartbeat to codmaster.activision.com
Resolving master0.gamespy.com
master0.gamespy.com resolved to 207.38.8.34:20510
Sending heartbeat to master0.gamespy.com
Hitch warning: 3423 msec frame time
Resolving codauthorize.activision.com
codauthorize.activision.com resolved to 63.146.124.59:20500
Sending heartbeat to codmaster.activision.com
Sending heartbeat to master0.gamespy.com
Sending heartbeat to codmaster.activision.com
Sending heartbeat to master0.gamespy.com
Sending heartbeat to codmaster.activision.com
Sending heartbeat to master0.gamespy.com

Digital
01-03-2004, 09:09 PM
I dropped down to a different IP in the 4 we have on that box , put in the 28960 port and it takes 24 hours for your server to show up in the master list for the game BTW, since no could answer my question.

kMaN
01-04-2004, 10:58 PM
Can someone tell me why I get the error saying that no map rotation has been set when I try to use the shortcut setting the ip and port? :twisted: