PDA

View Full Version : Dedicated server?Load whole game?


AEST_Mayhem
11-03-2005, 04:21 PM
I've read a few posts that say you need to upload the ENTIRE game to your dedicated server? Then I read that all you need are the .iwd files to run a pure server. I am to say the least confused...lol...I have a dedicated box, with Win 2003 Server, and 2 gigs mem, and dual 2.4 xeon processors. Bandwidth is at 10mbs so that shouldn't be an issue. This box already hosts 2 RavenShield servers and a BF2 server with no problems whatsoever. I'm very new to Call of Duty 2 and would like to host a server. Just need to know how I guess, to get started? Thanks for any and all help. And if this is a duplicate topic I apologize in advance.

Alfur6
11-03-2005, 06:59 PM
well

1. first go too your dvd find SETUP file open
2. take the DATA file and dl it too your server box
3. take shorcut of your (CoD2MP_s) file
3. click the shortcut and go to propites and type in Target behind what alredy stands there +set dedicated 2 +set net_port 28960 +exec config.cfg
4 take the server profile from here and do as you are told http://www.fpsadmin.com/forum/showpost.php?p=42251&postcount=9


5. but your config.cfg in main on the server

here is mine

// THIS IS CTF CONFIG

// ************************************************** ***
// *********** Server Security & Errors ****************
// ************************************************** ***

//Passwords
set rcon_password "pass" //CHANGE ME
set sv_privatePassword "" // OPTIONAL CHANGE ME
set g_password "" // Only used if you want to close your server to the public

//Logging
set g_log "Server1_mp.log"
set g_logSync "1"

//SV Pure
set sv_pure "1"

//SV Cheats
set sv_cheats "0"

//Allowed Clans
set sv_allowedClan1 ""
set sv_allowedClan2 ""

//Disable Console
set sv_disableClientConsole "0"

set sv_reconnectlimit "3"

// ************************************************** ***
// *********** Server Personality Dvars ****************
// ************************************************** ***

// Hostname and MOTD
sv_hostname "Cod 2 server"
set scr_motd "^3Visit our site at www.cod5.com^3Also ^3join us on our ^2TeamSpeak ^2Server ^3at ^."

// Max Players and Saved Private Possitions
set sv_maxclients "36" //Maximum players on the server who are not using the private password
set sv_privateClients "4" //Allows players to enter the server without taking up public slots

//Downloads
seta sv_allowAnonymous "0"
set sv_allowdownload "1"

// Server Packet Rate
set sv_maxRate "20000"

// Limit Laggers and reconnect spammers
set sv_reconnectlimit "3" // Limits how long a player must wait to reconnect to a server
set sv_minPing "0"
set sv_maxPing "220"

// - Banning
set g_banIPs ""

// AntiFlooding Settings
set sv_floodProtect "1"

// ************************************************** ***
// ******************** Voice *************************
// ************************************************** ***

set sv_voice "0"

set sv_voiceQuality "1"

// ************************************************** ***
// ******************** Map Rotation *******************
// ************************************************** ***
// Do NOT put your map_rotate command here! Map_rotate should be called VERY last

// Set the Gametype
set g_gametype "ctf"

// Set the Map Rotation

set sv_MapRotation "gametype ctf map mp_breakout gametype ctf map mp_brecourt gametype ctf map mp_burgundy gametype ctf map mp_carentan gametype ctf map mp_dawnville gametype ctf map mp_decoy gametype ctf map mp_downtown gametype ctf map mp_farmhouse gametype ctf map mp_leningrad gametype ctf map mp_matmata gametype ctf map mp_railyard gametype ctf map mp_toujane gametype ctf map mp_trainstation"

set sv_maprotationcurrent ""

// ************************************************** ***
// *************** Match Setup Options *****************
// ************************************************** ***
// Use these to set how your server will play a map.

// CTF
set scr_ctf_scorelimit "10"
set scr_ctf_timelimit "30"

// S&D
//set scr_sd_bombtimer "60"
//set scr_sd_graceperiod "15"
//set scr_sd_roundlength "4"
//set scr_sd_roundlimit "0"
//set scr_sd_scorelimit "10"
//set scr_sd_timelimit "0"

// TDM
//set scr_tdm_scorelimit "300"
//set scr_tdm_timelimit "30"

// DM
//set scr_dm_scorelimit "50"
//set scr_dm_timelimit "30"

// HQ
//set scr_hq_scorelimit "600"
//set scr_hq_timelimit "30"

// ************************************************** ***
// ***************** Gameplay Dvars ********************
// ************************************************** ***

// Team Icons
set scr_drawfriend "1"

// Friendly Fire
set scr_friendlyfire "0"

// Kill Cam & Spectate
set scr_killcam "1"
set scr_spectatefree "0"
set scr_spectateenemy "0"

// Auto Team Balance
set scr_teambalance "1"

// Force Respawn
set scr_forcerespawn "1"

// ************************************************
// ******************* Voting *********************
// ************************************************

set g_allowvote "0"

// ************************************************** ***
// ************ Weapon Settings ************************
// ************************************************** ***

// Weapon Ammo Pools
set g_weaponAmmoPools "0"

//Snipers
set scr_allow_enfieldsniper "1"
set scr_allow_kar98ksniper "1"
set scr_allow_nagantsniper "1"
set scr_allow_springfield "1"
set scr_allow_svt40 "1"

// Rifles
set scr_allow_enfield "1"
set scr_allow_kar98k "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_nagant "1"
set scr_allow_g43 "1"

// MGs
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_mp44 "1"
set scr_allow_ppsh "1"

//SMGs
set scr_allow_sten "1"
set scr_allow_mp40 "1"
set scr_allow_thompson "1"
set scr_allow_pps42 "1"
set scr_allow_greasegun "1"

// Shotgun
set scr_allow_shotgun "1"

// Grenades
set scr_allow_smokegrenades "1"
set scr_allow_fraggrenades "1"

map_rotate





6. click the shortcut
the server is up

this workd for me

and sorry I know I suck in english

I hope this helps

Defcon|Rich
11-04-2005, 10:25 AM
Before you get too carried away and to answer your question. Yes you will need to upload everything in your 'Main' folder and the files in your root directory of the server install.

The exe that gets used is the COD2MP_s.exe. Just make a shortcut to it and put in your startup parameters and your done.

AEST_Mayhem
11-07-2005, 12:01 AM
BUT, I still can't get this server up and running...It has got to be something I'm doing wong...I've uploaded all the necessary files to my server box...but it just won't run. I am a little bit more than frustrated at the moment...lol...I've uploaded ALL of the files in the "MAIN" folder and created the necessary files...but still no luck...any and all help is greatly appreciated at this time!!!...lol...

payableondeath
11-07-2005, 05:05 AM
tell us what you done and any error messages you have got, that will help us better in finding out what went worng

Spermij
11-07-2005, 05:50 AM
What to do if this shows up:
http://www.shrani.si/pics/error1127546.png

Computer:
Win 2003 server
S3 vga graphic

.. cod1 server is working good on this server!

I have put the profile on the server, +set sv_dedicated 2 etc... but nothing helps.

What is the problem?

xGrunt
11-07-2005, 07:07 AM
BUT, I still can't get this server up and running...It has got to be something I'm doing wong...I've uploaded all the necessary files to my server box...but it just won't run. I am a little bit more than frustrated at the moment...lol...I've uploaded ALL of the files in the "MAIN" folder and created the necessary files...but still no luck...any and all help is greatly appreciated at this time!!!...lol...Make sure the executable .exe file is in the COD2 root folder, not the /Main folder. Everything else goes in /Main.

Take a look at your game installation on your PC if unsure.

payableondeath
11-07-2005, 08:39 AM
What to do if this shows up:
http://www.shrani.si/pics/error1127546.png

Computer:
Win 2003 server
S3 vga graphic

.. cod1 server is working good on this server!

I have put the profile on the server, +set sv_dedicated 2 etc... but nothing helps.

What is the problem?

its NOT +set sv_dedicated 2

it should be +set dedicated 2
Looks like that could be the problem, I as i had that when i was trying to run it with out the "+set dedicated 2" in the command line

Defcon|Rich
11-07-2005, 10:37 AM
Also your going to want to see the dedicated server setup section in the docs folder that came with your disks.


2. Dedicated server running on Windows(R) 2003

Creating a Call Of Duty(R) 2 dedicated server requires the presence of a profile.
To manually create one, do the following:

Add "+set dedicated [1 = LAN, 2 = Internet]" to the shortcut for Multiplayer

Add the following folders:
[Call of Duty 2]\main\players
[Call of Duty 2]\main\players\[profile name] (Ex. [Call of Duty 2]\main\players\MyProfile)

Create a file named "active.txt" in "[Call of Duty 2]\main\players" with the profile
name in the first line.

Create a blank file named "config_mp.cfg" in [Call of Duty 2]\main\players\[profile name]

If done correctly, the user will get a message that the configuration has changed since the last
time Call of Duty 2 was last run. The user will be presented two options, YES and NO. Select YES to
have the correct config file automatically created for you. Once that has completed, you will be at
the dedicated server console.

juhanes
11-07-2005, 12:18 PM
What are commands in config.cfg for:

-location
-admin
-email
-website

Spermij
11-07-2005, 02:17 PM
Sry, my mistake i've written sv_dedicated 2!

My console looks:

CoD2MP_s.exe +dedicated 2 +exec xxxxx.cfg

And about config. I have added this config to the server, clicked yes etc and it doesnt help.

Defcon|Rich
11-07-2005, 03:14 PM
What are commands in config.cfg for:

-location
-admin
-email
-website


Those are optional but stand for:


-location -- Location of server.
-admin -- The admin (you)
-email - your email
-website - your website

AEST_Mayhem
11-08-2005, 10:22 AM
This is going to be long and probably wordy...sorry in advance...

Step 1:
Uploaded contents off the CD's "Data" folder to dedicated server
(ACTIVISION\Call of Duty 2\Data\main)

Step 2:
Created folder in "main" called "players"

Step 3:
Created file in "players" called "active.txt" with profile name only on first line.

Step 4:
Created folder in "players" named "MyProfile"

Step 5:
Created blank file in "MyProfile" folder named config_mp.cfg

Step 6:
Edited desktop short cut to read " "C:\Program Files\Activision\Call of Duty 2\Data\CoD2MP_s.exe" +set dedicated 2 "

Step 7:
Double click on shortcut and I get no message informing me of any changes, I get no "yes / no" choice....and CoD2 Console immediately starts up with no error messages or notices that I can see in the text window.

In the "Data" folder, the files located there are the CoD2MP_s.exe plus 3 .dll files, 2 .bmp files and a text document "localization.txt".

In the "main" folder the only files there are the iwd files (iw_00.iwd thru iw_14.iwd and localized_english_iw00.iwd thru localized_english_iw10.iwd) and the folder named "players"

The contents of the folder named "players" are the folder "MyProfile" and the active.txt file

The contents of the folder "MyProfile" are a blank file named config_mp.cfg.

So there you have it, that's everything I have done to the server so far.
You'll have to excuse my tardiness in posting to all of your replys.
I appreciate any and all of the communities help!!!
You can contact me via my MSN info, I'm usually logged in!!!!
Thanks again and I hope I can get this server up and running soon, more of my clan mates are getting this game!!!!


Listed below is the contents of the CoD2 Console window...

CoD2 MP 1.0 build win-x86 Oct 6 2005
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_14.iwd (4038 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_13.iwd (22624 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_12.iwd (1016 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_11.iwd (1462 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_10.iwd (1936 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_09.iwd (2142 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_08.iwd (2723 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_07.iwd (3384 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_06.iwd (990 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_05.iwd (928 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_04.iwd (698 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_03.iwd (26 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_02.iwd (40 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_01.iwd (16 files)
C:\Program Files\Activision\Call of Duty 2\Data\main\iw_00.iwd (102 files)
C:\Program Files\Activision\Call of Duty 2\Data/main
C:\Program Files\Activision\Call of Duty 2\Data/raw
C:\Program Files\Activision\Call of Duty 2\Data/raw_shared
C:\Program Files\Activision\Call of Duty 2\Data/devraw
C:\Program Files\Activision\Call of Duty 2\Data/devraw_shared
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
C:\Program Files\Activision\Call of Duty 2\Data\main\localized_english_iw00.iwd (4764 files)
localized assets iwd file for english

File Handles:
----------------------
81577 files in iwd files
execing default_mp.cfg
couldn't exec language.cfg
execing players/MyProfile/config_mp.cfg
========= autoconfigure
configure_mp.csv: using CPU configuration 2 GHz 512 MB
execing configure_mp.cfg
configure_mp.csv: using GPU configuration "*"
dedicated is read only.
Measured CPU speed is 2.40 GHz
System memory is 1024 MB (capped at 1 GB)
Video card is ""
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: *******-******.*******.*****
IP: 70.85.93.13
--- Common Initialization Complete ---
dedicated is read only.
Working directory: C:\Program Files\Activision\Call of Duty 2\Data
Hitch warning: 3764 msec frame time
Hitch warning: 13096 msec frame time
Hitch warning: 796 msec frame time
Hitch warning: 884 msec frame time
Hitch warning: 11352 msec frame time