Game server admin's helping the community setup and maintain great dedicated game servers.
----Home----Submit News ----Forum--------Guides----


Go Back   FPSadmin.com > Call of Duty > Call of Duty 4 > CoD4 General server support

Reply
 
Thread Tools Display Modes
  #1  
Old 01-01-2015, 11:59 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
Angry Please Help Another Server Prob

played this game years ago loved it, now im back and cant get dedicated server to show in master list, ive read for weeks on here tried everything, with router no router, when I click server short on desktop the console comes up all looks fine, but it only shows under lan tab, join that under lan hit tab it shows my serv name and local ip addy, go to fav tab type in my ext ip it finda it with no info all ? marks, try join there it times out, my command line>>"C:\cod4 server\iw3mp.exe" +set dedicated 2 +set net_ip 192.168.1.100 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec killazserver.cfg +map_rotate, >>>>>>>

cfg file>>>>>//==== Call of Duty 4 Server Configuration File by Brutal Stuff - ====//
//Color Codes
//************************************************** ****************************
// 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 "^1KILLAZ419"
sets _Admin "KILLAZ"
sets _Email "glw165@gmail.com"
sets _Website ""
sets _Location "OHIO USA"
sets _Teamspeak ""
sets _Irc ""
sets _Clan ""
sets _Maps "Stock/Custom"
//==== Server Network Settings ====//
set sv_maxRate "25000" // Data transfer rate between player and server (5000-25000)
set sv_floodProtect "1"
set g_smoothClients "1"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
//set sv_fps "20" // Not used, hardcoded into game.
//==== Message of the Day ====//
set scr_motd "Welcome to our server!"
set g_motd "Welcome to our server!"
//==== Server Slots ====//
set sv_maxclients "32" //Change to same amount as commandline
set ui_maxclients "32" //Change to same amount as commandline
//==== Admin Rcon Password ====//
set rcon_password "CHANGE-ME"
//==== Make Server Private ====//
set g_needpass "0" // Makes server private (0=no 1=yes)
set g_password "" // Password to join private server
//==== Private Slots - Subtracted From Maxclients ====//
set sv_privateClients "0" // Number of Private slots (Taken from server max clients)
set sv_privatePassword "" // Password for the private slots
//==== Ping ====//
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "550" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
set sv_reconnectlimit "3" // Max allowed reconnect attempts
//==== Log Settings ====//
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_log "server_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
//==== Anti Cheat Settings ====//
set sv_cheats "0" // Enable/Disable cheats (May be outdated)
set sv_pure "1" // Requires players files to match the server (1=on 0=off)
set sv_allowAnonymous "0" // Allows/Disallows anonymous players to join the server (1=yes 0=no)
set sv_disableClientConsole "0" // Disables players console to prevent issue of commands (1=yes 0=no)
set sv_kickBanTime "3600" // Time in seconds a temp banned player must wait to rejoin the server
set g_banIPs "" // Banned Ip's (May be outdated, cod4 uses banlist.txt file)
set g_no_script_spam "1"
set cl_autocmd "0"
//==== Drop inactive players ====//
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"
//==== HTTP Redirect/Downloads ====//
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.your-website.com/cod4"
seta sv_wwwDlDisconnected "0" //Leave this set to "0"
//==== Ingame Voice Comms ====//
set sv_voice "1"
set sv_voiceQuality "1"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
//==== Hardcore Settings ====//
//## Hardcore ON ##//
// -------------
//set scr_hardcore 1 // [0-1] 1=on/0=off
//set scr_team_fftype 1 // [0-3] (Disabled, Enabled, Reflect, Shared)
//set scr_player_maxhealth 30 // Health 0-100
//set scr_player_healthregentime 10 // Health regeneration in seconds
//set scr_player_respawndelay 10 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
//set scr_game_allowkillcam 0 // [0-1] 1=on/0=off
//set scr_game_forceuav 0 // [0-1] 1=on/0=off

//## Hardcore OFF ##//
// -------------
set scr_hardcore 0
set scr_team_fftype 2 // [0-3] (Disabled, Enabled, Reflect, Shared)
set scr_player_maxhealth 100 // Health 0-100
set scr_player_healthregentime 5 // Health regeneration in seconds
set scr_player_respawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_game_allowkillcam 1 // [0-1] 1=on/0=off
set scr_game_forceuav 1 // [0-1] 1=on/0=off
//==== Oldschool Settings ====//
//## Oldschool ON ##//
// ------------
//set scr_oldschool "1"
//set scr_player_maxhealth "200"

//## Oldschool OFF ##//
// -------------
set scr_oldschool "0"
//==== Gameplay Settings ====//
set scr_game_spectatetype 1 // [0-2] (Disabled, Team/Players Only, Free)
set scr_game_onlyheadshots 0 // [0-1] 1=on/0=off
set scr_game_deathpointloss 0 // [0-1] 1=on/0=off
set scr_game_suicidepointloss 0 // [0-1] 1=on/0=off
//==== Team Settings ====//
set scr_teambalance 1 // [0-1] 1=on/0=off
set scr_team_teamkillspawndelay 10 // Spawn delay in seconds after team killing
set scr_team_kickteamkillers 0 // [0-1] 1=yes/0=no
set scr_team_teamkillpointloss 1 // [0-1] 1=on/0=off
//==== Player Settings ====//
set scr_player_suicidespawndelay 0 // Spawn delay in seconds after suicide
set scr_player_forcerespawn 1 // [0-1] 1=yes/0=no
set scr_player_sprinttime 4 // Sprint time in seconds
//==== Vote Settings ====//
set g_allowvote 0 // [0-1] 1=on/0=off Enable/Disable map voting
set g_voteAbstainWeight 0.5
//==== Hud/Environmental Stuff ====//
set ui_hud_obituaries 1 // [0-1] 1=on/0=off
set ui_hud_showobjicons 0 // [0-1] 1=on/0=off
set g_compassShowEnemies 0 // [0-1] 1=on/0=off
set scr_enable_scoretext 1 // [0-1] 1=on/0=off
//==== Misc Settings ====//
set g_antilag 1 // [0-1] 1=on/0=off default 1
set g_speed 190
set g_gravity 800
//==== DEATHMATCH ====//
set scr_dm_scorelimit 150 // Point score to reach to win map
set scr_dm_timelimit 10 // maximum time in minutes per round
set scr_dm_roundlimit 1 // maximum number of rounds
set scr_dm_numlives 0 // maximum number of respawns, 0 = infinite
set scr_dm_playerrespawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_dm_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
//==== DOMINATION ====//
set scr_dom_scorelimit 200 // Point score to reach to win map
set scr_dom_timelimit 0 // maximum time in minutes per round
set scr_dom_roundlimit 1 // maximum number of rounds
set scr_dom_numlives 0 // maximum number of respawns, 0 = infinite
set scr_dom_playerrespawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_dom_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
//==== TEAM DEATHMATCH ====//
set scr_war_scorelimit 1500 // Point score to reach to win map
set scr_war_timelimit 15 // maximum time in minutes per round
set scr_war_roundlimit 1 // maximum number of rounds
set scr_war_numlives 0 // maximum number of respawns, 0 = infinite
set scr_war_playerrespawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_war_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
//==== SABOTAGE ====//
set scr_sab_scorelimit 1 // Number of rounds to reach to win map
set scr_sab_timelimit 20 // maximum time in minutes per round
set scr_sab_roundlimit 0 // maximum number of rounds
set scr_sab_roundswitch 1 // number of rounds to switch sides
set scr_sab_numlives 0 // maximum number of respawns, 0 = infinite
set scr_sab_bombtimer 30 // Amount of time in seconds before bomb explodes
set scr_sab_planttime 2.5 // Amount of time in seconds to plant a bomb
set scr_sab_defusetime 5 // Amount of time in seconds to defuse a bomb
set scr_sab_hotpotato 0 // 1 = shared bomb timer, 0 = bomb timer for each team
set scr_sab_playerrespawndelay 7.5 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_sab_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
//==== SEARCH AND DESTROY ====//
set scr_sd_scorelimit 4 // Number of rounds to reach to win map
set scr_sd_timelimit 2.5 // maximum time in minutes per round
set scr_sd_roundlimit 0 // maximum number of rounds
set scr_sd_roundswitch 3 // number of rounds to switch sides
set scr_sd_numlives 1 // maximum number of respawns, 0 = infinite
set scr_sd_bombtimer 45 // Amount of time in seconds before bomb explodes
set scr_sd_planttime 5 // Amount of time in seconds to plant a bomb
set scr_sd_defusetime 5 // Amount of time in seconds to defuse a bomb
set scr_sd_multibomb 0 // 0 = single bomb, 1 = all attackers carry a bomb
set scr_sd_playerrespawndelay 0 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_sd_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
//==== KING OF THE HILL ====//
set scr_koth_scorelimit 250 // Point score to reach to win map
set scr_koth_timelimit 15 // maximum time in minutes per round
set scr_koth_roundlimit 1 // maximum number of rounds
set scr_koth_roundswitch 1 // number of rounds to switch sides
set scr_koth_numlives 0 // maximum number of respawns, 0 = infinite
set scr_koth_playerrespawndelay 15 // Amount of time in seconds to delay player respawn. *hardcode mode default is 10.
set scr_koth_waverespawndelay 0 // Amount of time in seconds to delay players to force respawn in waves
set koth_autodestroytime 60 // Amount of time in seconds HQ is online to be captured/destroyed
set koth_spawntime 0 // AMount of delay time in seconds before HQ can be activated
set koth_kothmode 0 // 0 = Classic, enemy destroys HQ, 1 = non classic, enemy can capture HQ
set koth_capturetime 20 // Amount of time in seconds to capture HQ
set koth_destroytime 10 // Amount of time in secongs to destroy HQ
set koth_delayPlayer 0 // Enable respawn delay - overrides default respawn system??
set koth_spawnDelay 60 // Amount of time to delay respawn - overrides default system??
//==== Clear Map Rotation ====//
set sv_maprotationcurrent "" //Leave this blank
//==== Map Rotation ====//
//## DM -- DEATHMATCH ##//
set sv_mapRotation "gametype dm map mp_backlot map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## DOM -- DOMINATION ##//
//set sv_mapRotation "gametype dom map mp_backlot map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## KOTH -- HEADQUARTERS ##//
//set sv_mapRotation "gametype koth map mp_backlot map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## SAB -- SABOTAGE ##//
//set sv_mapRotation "gametype sab map mp_backlot map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## SD -- SEARCH & DESTROY ##//
//set sv_mapRotation "gametype sd map mp_citystreets map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## WAR -- TEAM DEATHMATCH ##//
//set sv_mapRotation "gametype war map mp_citystreets map mp_bloc map mp_bog map mp_cargoship map mp_citystreets map mp_convoy map mp_countdown map mp_crash map mp_crossfire map mp_farm map mp_overgrown map mp_pipeline map mp_shipment map mp_showdown map mp_strike map mp_vacant"
//## MIXED -- MIXED GAMETYPES/MAPS ##//
//set sv_maprotation "gametype dom map mp_backlot map mp_bog map mp_bog gametype koth map mp_cargoship map mp_citystreets map mp_convoy gametype sab map mp_countdown map mp_crash map mp_crossfire gametype sd map mp_farm map mp_overgrown map mp_pipeline gametype dom map mp_showdown map mp_shipment map mp_strike gametype koth map mp_vacant map mp_backlot map mp_bloc gametype sab map mp_bog map mp_cargoship map mp_citystreets gametype sd map mp_convoy map mp_countdown map mp_crash gametype dom map mp_crossfire map mp_farm map mp_overgrown gametype koth map mp_pipeline map mp_showdown map mp_shipment gametype sab map mp_strike map mp_vacant map mp_backlot gametype sd map mp_bloc map mp_convoy map mp_cargoship"
Reply With Quote
  #2  
Old 01-02-2015, 01:07 AM
SiCDude4Him SiCDude4Him is offline
Senior Member
 
Join Date: Dec 2008
Location: Florida
Posts: 262
Rep Power: 9
SiCDude4Him is on a distinguished road
Send a message via MSN to SiCDude4Him
What version of CoD4 is this (v1.7, I assume)?

Are all ports open on your router/firewall and/or PC firewall to allow the game to be seen from the outside world? (Port 28960, for instance) If the Master Server can't check out your server then it will never get in the list in-game so Google which ports are needed to be open for CoD4.
__________________
=CS=Dude4Him | =CS= Website | Twitter: @dude4him2
Reply With Quote
  #3  
Old 01-02-2015, 01:26 AM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
yes I have firewall off, tried opening ports new Linksys router, then put it in dmz mode, finally unhooked it completely, yes 1.7 v
Reply With Quote
  #4  
Old 01-02-2015, 01:28 AM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
I have 2 desktops hooked to the router, I make dedicated server on 1 pc set as 2 in commandline, then on other pc I see it under lan only and can join no problem, go to fav tab do a refresh nothing, manually add outside ip it shows but all fields blank with a ?, join anyways and times out, and ty 4 trying help, I been weeks trying get this public so people can join as with my brother who lives in diff state, I have read where u cant host dedicated and join on same pc unless its set as listen server, but I tried that too, also when I played years ago this was no issue, make server, start it by clicking desk icon u make then enter game refresh list there it would be and join it, no issues
Reply With Quote
  #5  
Old 01-02-2015, 11:58 AM
SiCDude4Him SiCDude4Him is offline
Senior Member
 
Join Date: Dec 2008
Location: Florida
Posts: 262
Rep Power: 9
SiCDude4Him is on a distinguished road
Send a message via MSN to SiCDude4Him
You can join on the same PC just create a shortcut on your desktop to start the game using a different port since 28960 is already in use by your server.

This is what I use for my CoD2 shortcut (works the exact same for CoD4):

"C:\Engines\Call of Duty 2\CoD2MP_s.exe" +password test +net_port 28999

So, simply use a random port number to launch your "playing" shortcut to the game.

Opening the ports on your firewall/router is needed for your bro to play. Make changes after googling the required ports needed to be open for a home cod4 dedicated to run and have him test using the command line command: \connect xxx.xxx.xxx.xxx:28960

You can get your public facing IP by going to whatismyip.com

Also, a trick back in the day was to change the port of your server to something OTHER than 28960 and many times it will then show in the server list.
__________________
=CS=Dude4Him | =CS= Website | Twitter: @dude4him2
Reply With Quote
  #6  
Old 01-02-2015, 07:26 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
yes ive tried my public ip then it wont show nowhere, local ip in command it shows in local and I can join, but im trying make it publicly seen so anyone can join, and yes ive opened all ports needed with no help, so then I tried with router out of the loop no difference, and ty again for the help, really trying get this up and running, also yes I have the game in steam, so I pasted entire folder into cod4 folder for server, so when I try go to game I use the icon that its location is the steam folder to look at server and join, also when I use public ip as u stated I can search my ip in fav tab in game server and it will show up but with ? marks across board and wont let me join, times out, router is currently in DMZ mode which Linksys told me opens all ports wide open?
Reply With Quote
  #7  
Old 01-02-2015, 07:35 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
"C:\cod4 server\iw3mp.exe" +set net_ip 66.61.126.203 +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +exec mp-server.cfg +map_rotate <<< with this in command line which is my external ip or public ip, I don't see server anywhere unless I go to favorites add new server type in my ip and it shows but with question marks and no server info, times out when try join
Reply With Quote
  #8  
Old 01-02-2015, 07:37 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
"C:\cod4 server\iw3mp.exe" +set net_ip 66.61.126.203 +set net_port 28960 +set dedicated 2 +set sv_punkbuster 1 +exec killazserver.cfg +map_rotate<<< that's current one im using
Reply With Quote
  #9  
Old 01-03-2015, 08:36 AM
SiCDude4Him SiCDude4Him is offline
Senior Member
 
Join Date: Dec 2008
Location: Florida
Posts: 262
Rep Power: 9
SiCDude4Him is on a distinguished road
Send a message via MSN to SiCDude4Him
YOu can not use that IP address unless it is statically assigned by your ISP and you have it assigned to your PC running the CoD4 server. Take out the IP portion of the command line and try it again.

+set net_ip 66.61.126.203 - if this is NOT your PC's IP address then it will fail. Simply remove this portion. You can also take out the port number since by default that game runs on 28960.
__________________
=CS=Dude4Him | =CS= Website | Twitter: @dude4him2
Reply With Quote
  #10  
Old 01-03-2015, 05:47 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
ok ill try that now, by doing this how ill it know what ip or how will public know so they can join?
Reply With Quote
  #11  
Old 01-03-2015, 10:59 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
still no go, I can see it lan, but not public list
Reply With Quote
  #12  
Old 01-04-2015, 01:17 AM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
audit tool websight says all green except 1st tab says make sure your server can communicate with master server?, took router out of the loop so now it just times out when trying join thru local tab
Reply With Quote
  #13  
Old 01-05-2015, 06:44 AM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
now I installed windows 7 back. and in console I type exec my name server.cfg and its not recognized, go in game under local its has 1 there says cod4 host? geesh what a mess
Reply With Quote
  #14  
Old 01-05-2015, 09:23 AM
SiCDude4Him SiCDude4Him is offline
Senior Member
 
Join Date: Dec 2008
Location: Florida
Posts: 262
Rep Power: 9
SiCDude4Him is on a distinguished road
Send a message via MSN to SiCDude4Him
You can always rent a CoD4 server from a game server provider like Branzone or Gameservers, etc. You can get a private one for super cheap , already setup and no hassles.
__________________
=CS=Dude4Him | =CS= Website | Twitter: @dude4him2
Reply With Quote
  #15  
Old 01-05-2015, 03:26 PM
glw165 glw165 is offline
Junior Member
 
Join Date: Jan 2015
Posts: 16
Rep Power: 0
glw165 is on a distinguished road
so I got it reading cfg file again, shows under lan only, go to fav tab manually put in ext ip shows there too but times out for me and a buddy in a diff state, no firewall, all ports forwarded in router/modem combo
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:06 AM.


Powered by: vBulletin Copyright ©2000, Jelsoft Enterprises Ltd.