PDA

View Full Version : Problems creating Dedicated server


Panthraz
12-20-2009, 03:56 PM
Hi, I have a problem setting up a dedicated server for CoD 5 WaW and would welcome any help anyone can give.

I have set up my router correctly and can successfully run a server by creating a server through the game itself but really wanted to run one through a server.cfg file to have more control, however when I try to start a server via an edited shortcut both myself and anyone trying to join just timeout whilst trying to connect.


Here is the command line under target for the edited shortcut:

C:\CoD5server\CoDWaWmp.exe +set dedicated 2 + set net_ip 85.210.3.133 +set net_port 28960 +set sv_punkbuster 1 +set sv_maxclients 36 +exec server.cfg +map_rotate

And here is my config file which I have placed in the "main" folder:

//==== CoD WaW Server Configuration File by Brutal Stuff - www.brutalstuff.com ====//

// Color Codes
//************************************************** **********************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
//************************************************** **********************



//==== Public Game Browser Info ====//
sets sv_hostname "^1The Furion Order!"
sets _Admin "^1=TFO= Members"
sets _Email "^4panthraz@gmail.com"
sets _Website "^1www.thefurionorder.org"
sets _Location "UK "


//==== Server Network Settings ====//
set sv_maxRate "25000" // Data transfer rate between player and server (5000-25000)
set sv_floodProtect "1"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications


//==== Server Slots ====//
set sv_maxclients "36" //Set to same amount as commandline
set ui_maxclients "36" //Set to same amount as commandline


//==== Admin Rcon Password ====//
set rcon_password "XXXX"


//==== Make Server Private ====//
set g_needpass "0" // Makes server private (0=no 1=yes)
set g_password "" // Password to join private server



//==== Limit Lag and Reconnects ====//
set sv_minPing "0" // Minimum ping allowed to connect
set sv_maxPing "400" // Max ping allowed to connect
set sv_reconnectlimit "9" // Max allowed reconnect attempts


//==== Log File Settings ====//
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set g_log "server_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"



//==== Hardcore Settings ====//

//## Hardcore ON ##//
//-------------------
//set scr_hardcore "1"
//set ui_hud_hardcore "1"
//set ui_hud_obituaries "1"
//set ui_hud_showobjicons "0"
//set scr_game_allowkillcam "0"

//## Health ##//
//set scr_player_healthregentime "10" // std is 5
//set scr_player_maxhealth "30" // std is 100


//## Respawn Settings ##//
set scr_player_forcerespawn "1"
set scr_player_respawndelay "2" // set to higher if you wanna make it harder fx "10"
set scr_player_suicidespawndelay "6"


//## DM -- DEATHMATCH ##//
set sv_mapRotation "gametype dm map mp_downfall map mp_hangar map mp_courtyard map mp_asylum map mp_roundhouse"



//## Dog Settings ##//
set scr_dog_count "8"
set scr_dog_hardpoint_interval "180"
set scr_dog_health "30"
set scr_dog_max_at_once "4"
set scr_dog_time "60"


//## Vehicle Settings ##//
set scr_vehicles_enabled "0"

The server appears to be created correctly, although the first map it runs is the Airfield map for some reason.

I'm very new to this and have been trying to sort this out for 3 days and have little hair left :rolleyes:

Hopefully i'm missing something simple here and some one will be kind enough to help me.

-|DeD|-TootH
12-20-2009, 11:39 PM
http://wiki.modsrepository.com/index.php/Call_of_Duty_5:_Getting_Server_Running :)

Panthraz
12-21-2009, 12:28 AM
Appreciate the assist but thats not telling me anything i've not done already, i'm hosting on my own pc btw.

Number7
12-21-2009, 08:56 AM
Give this a try:


C:\CoD5server\CoDWaWmp.exe +set fs_localAppData C:\CoD5server +set dedicated 2 + set net_ip 85.210.3.133 +set net_port 28960 +set sv_punkbuster 1 +set sv_maxclients 36 +exec server.cfg +map_rotate

Panthraz
12-21-2009, 11:17 AM
I managed to get this working finally!:D
All I did was remove the IP address link in the shortcut, I could then see it in game under the LAN option and friends could join too. Thank you.