PDA

View Full Version : Server Help


botsuka
10-30-2005, 03:55 PM
I've been trying to setup a dedicated server for the past couple of days and I cannot get my server up and running. If someone could please tell me what I've done wrong, I'd appreciate it.

Here's what the console states:

CoD2 MP 1.0 build win-x86 Oct 6 2005
----- FS_Startup -----
Current language: english
Current search path:
C:\COD\main\iw_14.iwd (4038 files)
C:\COD\main\iw_13.iwd (22624 files)
C:\COD\main\iw_12.iwd (1016 files)
C:\COD\main\iw_11.iwd (1462 files)
C:\COD\main\iw_10.iwd (1936 files)
C:\COD\main\iw_09.iwd (2142 files)
C:\COD\main\iw_08.iwd (2723 files)
C:\COD\main\iw_07.iwd (3384 files)
C:\COD\main\iw_06.iwd (990 files)
C:\COD\main\iw_05.iwd (928 files)
C:\COD\main\iw_04.iwd (698 files)
C:\COD\main\iw_03.iwd (26 files)
C:\COD\main\iw_02.iwd (40 files)
C:\COD\main\iw_01.iwd (16 files)
C:\COD\main\iw_00.iwd (102 files)
C:\COD/main
C:\COD/raw
C:\COD/raw_shared
C:\COD/devraw
C:\COD/devraw_shared
C:\COD\main\localized_english_iw10.iwd (414 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw09.iwd (98 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw08.iwd (8 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw07.iwd (1014 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw06.iwd (3110 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw05.iwd (5310 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw04.iwd (6240 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw03.iwd (6580 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw02.iwd (6404 files)
localized assets iwd file for english
C:\COD\main\localized_english_iw01.iwd (5510 files)
localized assets iwd file for english
C:\COD\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/test/config_mp.cfg
dedicated is read only.
Measured CPU speed is 1.73 GHz
System memory is 1024 MB (capped at 1 GB)
Video card is "RADEON 9550 "
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: 192.168.1.69:28960
Hostname: DUALLY
IP: 192.168.1.69
--- Common Initialization Complete ---
dedicated is read only.
Working directory: C:\COD
Hitch warning: 2823 msec frame time
Hitch warning: 3289 msec frame time

Here's my command line options:

C:\COD\CoD2MP_s.exe +set dedicated 1 +set net_ip 192.168.1.69 +set exec server.cfg

And here's my server.cfg:

/ THIS IS CTF CONFIG
// ************************************************** ***
// *********** Server Security & Errors ****************
// ************************************************** ***
//Passwords set rcon_password "cleverpassword" //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 "^2|OCG|^1CTF ^324/7"
set scr_motd "^3Visit our site at ^2ocgamers.net ^3Also ^3join us on our ^2TeamSpeak ^2Server ^3at ^267.18.253.52."
// 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 "5"
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 "0"
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

Also, I don't know if this will help, but here's my config_mp.cfg:

// generated by Call of Duty, do not modify
unbindall
unbindall
bind TAB "+scores"
bind ESCAPE "togglemenu"
bind SPACE "+gostand"
bind 1 "weapnext"
bind 2 "weapnext"
bind 4 "+smoke"
bind ` "toggleconsole"
bind A "+moveleft"
bind B "+binoculars"
bind C "gocrouch"
bind D "+moveright"
bind E "+leanright"
bind F "+activate"
bind G "+frag"
bind Q "+leanleft"
bind R "+reload"
bind S "+back"
bind T "chatmodepublic"
bind V "mp_QuickMessage"
bind W "+forward"
bind X "openscriptmenu ingame changeweapon"
bind Y "chatmodeteam"
bind Z "+talk"
bind ~ "toggleconsole"
bind PAUSE "toggle cl_paused"
bind CTRL "goprone"
bind SHIFT "+melee_breath"
bind F1 "vote yes"
bind F2 "vote no"
bind F4 "+scores"
bind F12 "screenshotJPEG"
bind MOUSE1 "+attack"
bind MOUSE2 "toggleads"
bind MOUSE3 "+frag"
seta ai_corpseCount "5"
seta cg_blood "1"
seta cg_brass "1"
seta cg_drawCrosshair "1"
seta cg_marks "1"
seta cl_allowDownload "1"
seta cl_freelook "1"
seta cl_maxpackets "30"
seta cl_maxPing "800"
seta cl_mouseAccel "0"
seta cl_packetdup "1"
seta cl_pitchspeed "140"
seta cl_voice "1"
seta cl_yawspeed "140"
seta com_hunkMegs "160"
seta com_introPlayed "1"
seta com_maxfps "85"
seta com_recommendedSet "1"
seta con_inputBoxColor "0.25 0.25 0.2 1"
seta con_inputHintBoxColor "0.4 0.4 0.35 1"
seta con_miniconlines "5"
seta con_minicontime "4"
seta con_outputBarColor "1 1 0.95 0.6"
seta con_outputSliderColor "0.15 0.15 0.1 0.6"
seta con_outputWindowColor "0.35 0.35 0.3 0.75"
seta con_restricted "0"
seta fx_sort "0"
seta g_allowvote "1"
seta g_useGear "0"
seta hud_enable "1"
seta in_mouse "1"
seta input_viewSensitivity "1"
seta loc_forceEnglish "0"
seta loc_language "0"
seta m_filter "0"
seta m_forward "0.25"
seta m_pitch "0.022"
seta m_side "0.25"
seta m_yaw "0.022"
seta mss_3d_provider "Miles Fast 2D Positional Audio"
seta mss_khz "44"
seta name "Unknown Soldier"
seta net_noipx "0"
seta net_noudp "0"
seta net_socksEnabled "0"
seta net_socksPassword ""
seta net_socksPort "1080"
seta net_socksServer ""
seta net_socksUsername ""
seta r_aaAlpha "dither (fast)"
seta r_aaSamples "2"
seta r_anisotropy "8"
seta r_aspectRatio "auto"
seta r_autopriority "0"
seta r_depthPrepassModels "0"
seta r_displayRefresh "60 Hz"
seta r_distortion "0"
seta r_dlightLimit "4"
seta r_drawSun "1"
seta r_fullscreen "1"
seta r_gamma "1"
seta r_glow "0"
seta r_ignorehwgamma "0"
seta r_inGameVideo "1"
seta r_lodBias "0"
seta r_lodScale "1"
seta r_mode "800x600"
seta r_monitor "0"
seta r_overbrightBits "1"
seta r_picmip "0"
seta r_picmip_bump "0"
seta r_picmip_manual "0"
seta r_picmip_spec "0"
seta r_polygonOffsetBias "-1"
seta r_polygonOffsetScale "-1"
seta r_portalBevels "0.7"
seta r_railCoreWidth "1"
seta r_rendererPreference "dx7"
seta r_swapInterval "0"
seta r_textureMode "bilinear"
seta r_zFeather "0"
seta rate "5000"
seta sc_enable "0"
seta sensitivity "5"
seta server1 ""
seta server10 ""
seta server11 ""
seta server12 ""
seta server13 ""
seta server14 ""
seta server15 ""
seta server16 ""
seta server2 ""
seta server3 ""
seta server4 ""
seta server5 ""
seta server6 ""
seta server7 ""
seta server8 ""
seta server9 ""
seta snaps "20"
seta snd_bits "16"
seta snd_errorOnMissing "0"
seta snd_khz "44"
seta snd_slaveFadeTime "500"
seta snd_stereo "1"
seta snd_touchStreamFilesOnLoad "0"
seta snd_volume "1"
seta sv_allowDownload "1"
seta sv_floodProtect "1"
seta sv_hostname "CoD2Host"
seta sv_maxclients "20"
seta sv_maxPing "0"
seta sv_maxRate "0"
seta sv_minPing "0"
seta sv_reconnectlimit "3"
seta sv_voice "0"
seta sys_configSum "128026549"
seta sys_cpuGHz "1.72847"
seta sys_gpu "RADEON 9550 "
seta sys_sysMB "1024"
seta ui_bigFont "0.4"
seta ui_browserFriendlyfire "-1"
seta ui_browserKillcam "-1"
seta ui_browserMod "-1"
seta ui_browserShowDedicated "0"
seta ui_browserShowEmpty "1"
seta ui_browserShowFull "1"
seta ui_browserShowNoPassword "1"
seta ui_browserShowPassword "1"
seta ui_browserShowPure "1"
seta ui_currentMap "0"
seta ui_currentNetMap "0"
seta ui_dedicated "0"
seta ui_extraBigFont "0.55"
seta ui_gametype "3"
seta ui_joinGametype "0"
seta ui_netGametype "0"
seta ui_netGametypeName "ctf"
seta ui_netSource "0"
seta ui_serverStatusTimeOut "7000"
seta ui_smallFont "0.25"
seta vid_xpos "3"
seta vid_ypos "22"
seta winvoice_mic_mute "1"
seta winvoice_mic_reclevel "65535"
seta winvoice_mic_scaler "1"
seta winvoice_save_voice "0"



Anyone have any ideas?

Ghost-Ryder
10-30-2005, 04:44 PM
first glance looks like it is not exec the right cfg file
Do you have it in the main folder or in the player folder?
Should be in the main folder.
How do you trying to start it with
Shortcut or Fire Demon ?

And fix
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 ""

botsuka
10-30-2005, 07:15 PM
Thx for the reply, I made the modifications you suggested in the server.cfg file and also moved the server.cfg file to the main folder instead of the player folder. It's still not working correctly. I'm starting the server using a shortcut to the .exe. Any other suggestions?

rudedog
10-30-2005, 08:08 PM
What's happening?

Is this a local server? If so can you type status in the command window? what does it return?

Also I noticed you put dedicated 1 in your command line. 1=lan dedicated 2 =internet

rudedog
10-30-2005, 08:10 PM
Also noticed that you set your netip to a private IP unless your testing on a lan. you need your public IP

With that said, unless your hositng more then one game on the same box, leave out the netIP from your command line

Hope this help, let us know how you make out.

Ghost-Ryder
10-30-2005, 09:44 PM
I have to use a shortcut too here is my command line.

"C:\GAMES\Call of Duty 2\CoD2MP_s.exe" +set net_ip 66.xx.xxx.xxx +set dedicated 2 +exec auto_exec.cfg +map_rotate"

Change it to ur derectory and change the name of ur config file.

auto_exec.cfg that is what i use but you can use server.cfg

botsuka
10-30-2005, 09:45 PM
When I put status in the command line I get the msg that the server is not running. I know I have this setup as a local server, I'm just trying to get the server to run so I can test it and get the settings I want before making it a public server.

rudedog
10-30-2005, 10:13 PM
if you get the server not running, try manually exec-ing your cfg

I run a test server (locally) I manually start test cfg files.

remember do not use server as your cfg name.

ie: in locally in your dedicated console

exec yourserverconfig.cfg

see if it starts, also look to see if you receive any error messages in the console.

botsuka
10-31-2005, 12:23 AM
Ok thx for the help guys, Ghost-Ryder got it. I was using "+set exec" when I should have been using "+exec" in the command line for the shortcut.