COD4 COD: WAW Lounge
Call of Duty 4 Forums
Home UserCP Members Register Calendar FAQ Downloads Clans


Go Back   Call of Duty 4 Forums > Call of Duty 4 Discussion > COD4: PC > COD4 Server Support
Register FAQ Members List Calendar Downloads Search Today's Posts Mark Forums Read


Welcome to the Call of Duty 4 Forums! Please REGISTER!
Hey there!

It looks like you're enjoying Call of Duty 4 Forums but haven't created an account yet. Why not take a minute to register for your own free account now? As a member you get free access to all of our forums and posts plus the ability to post your own messages, communicate directly with other members and much more. You also have the chance to win great prizes just for posting! Register now!

Already a member? Login at the top of this page to stop seeing this message.

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 10-15-2008, 04:27 PM
MrHiM's Avatar
Private Private First Class
 
Join Date: Oct 2008
Posts: 15
MrHiM is on a distinguished road
Icon4 Solved - Win Server 2008 - "awaiting key code authorization" from Internal clients!!!

Hi,

I've just setup the beginnings of a server, and found that clients can connect to the game externally, however internally i get the "awaiting key code authorization" message, i need to be able to connect internally too!!!



Other additional things, my server doesn't appear in the master server list... the firewall is disabled... and ports 28960, 20500-20999 are forwarded... and internally i can connect to games hosted externally!!

Here is my Current config:
************************************************** ***************

//**************************************************
// Call of Duty 4
//**************************************************
//**************************************************
// Public Information
//**************************************************
sets sv_hostname "MyServer - HardCore Tactical S&D"
sets _Admin "someperson"
sets _Email "admin@nowhere.co.uk"
sets _Website "www.nowhere.co.uk"
sets _Location "UK SERVER"
sets _Irc ""
sets _Mod ""
sets _ModVer ""
sets _ModUpdate ""
sets _Maps "COD4 Stock Maps only!!"
set scr_motd "Welcome to the test COD4 Server... We are recruiting, ask members for details!!"

//**************************************************
// Common Server Settings
//**************************************************

// Network options
set net_ip "**.**.**.**"
set net_port "28960"
set com_hunkMegs "512"
//set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications

// Server Network Mode
set dedicated "2" // 0 = Listen, 1 = LAN, 2 = Internet

// Master servers
set sv_master1 "cod2master.activision.com"
set sv_master2 "cod2authorize.activision.com"
set sv_master3 "cod2master.infinityward.com"
set sv_master3 "cod2update.activision.com"
set sv_master4 "master.gamespy.com:28960"
set sv_master5 "master0.gamespy.com"
set sv_master6 "master1.gamespy.com"
set sv_master7 "clanservers.net"
set sv_gamespy "1"

// Password Settings
set rcon_password "************" // RCON must supply pw to use
set sv_privatePassword "*****" // Private slots, non-public slots

// The following can be used to lock out the server so that only those
// players that have been provide the password can connect. Good for
// matches, practices, etc.
set g_password "*****"

// Player slots setup
set sv_maxclients "24" // MAX server player slots, this is TOTAL player slots
set sv_privateclients "2" // Number of private player slots, maxclients - privateclients = public slots





//**************************************************
// Server Play Optimisation
//**************************************************

// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect

// Rate
set sv_maxRate "25000"

// Drop inactive players
set sv_timeout "300"
set sv_zombietime "1"
set g_inactivity "0"
set g_inactivityspectator "0"

// AntiFlooding Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"

// Anti Cheat Settings
pb_sv_enable
wait 5
set sv_punkbuster "1"
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set sv_pure "1"
set g_banIPs ""
set g_no_script_spam "1"

// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"

// In-game voice communication system
set sv_voice "1"
set sv_voiceQuality "4"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"





//************************************************** ****************************
// Misc
//************************************************** ****************************
set sv_allowAnonymous "0"
set g_antilag "0"
set g_compassShowEnemies "0"
set g_allowvote "0"
set scr_allow_vote "0"
set scr_teambalance "1"
set scr_hardcore "1" // Sets hardcore mode
set ui_hud_hardcore "1" //What is this?
set scr_game_allowkillcam "0"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "1"
set scr_team_teamkillpointloss "1"
set scr_game_spectatetype "1" // [0-2] 0=none, 1= team only, 2=spectate all
set scr_team_fftype "1" // 0=off 1=on 2=reflect damage 3=shared





//==================================================
// Gametype Settings
//==================================================

// First gametype to load
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch

// Deathmatch
set scr_dm_scorelimit 150
set scr_dm_timelimit 10
set scr_dm_roundlimit 1
set scr_dm_numlives 0
set scr_dm_playerrespawndelay -1
set scr_dm_waverespawndelay 0


// Domination
set scr_dom_scorelimit 200
set scr_dom_timelimit 0
set scr_dom_roundlimit 1
set scr_dom_numlives 0
set scr_dom_playerrespawndelay -1
set scr_dom_waverespawndelay 0


// Teamdeath Match
set scr_war_scorelimit 750
set scr_war_timelimit 10
set scr_war_roundlimit 1
set scr_war_numlives 0
set scr_war_playerrespawndelay -1
set scr_war_waverespawndelay 0

// Sabotoge
set scr_sab_scorelimit 3
set scr_sab_timelimit 10
set scr_sab_roundlimit 3
set scr_sab_roundswitch 1
set scr_sab_numlives 0
set scr_sab_bombtimer 30
set scr_sab_planttime 3
set scr_sab_defusetime 3
set scr_sab_hotpotato 0
set scr_sab_playerrespawndelay -1
set scr_sab_waverespawndelay -1

// King of the Hill
set scr_koth_scorelimit 250
set scr_koth_timelimit 15
set scr_koth_roundlimit 1
set scr_koth_roundswitch 1
set scr_koth_numlives 0
set scr_koth_playerrespawndelay -1
set scr_koth_waverespawndelay 0
set koth_autodestroytime 60
set koth_spawntime 0
set koth_kothmode 0
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60

// Search and Destroy
set scr_sd_scorelimit 10
set scr_sd_timelimit 3
set scr_sd_roundlimit 0
set scr_sd_roundswitch 2 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 30
set scr_sd_planttime 5
set scr_sd_defusetime 10
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay -1
set scr_sd_waverespawndelay 0

// Team-Balance and Voting
set scr_teambalance "1"
set g_allowvote "0"

// Map_rotation
set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_strike gametype sd map mp_vacant"



Thanks in advance!!!

MrHiM

Last edited by MrHiM : 10-18-2008 at 02:54 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Payin' The Bills (Register to get rid of this advertisement!)
  #2  
Old 10-15-2008, 06:18 PM
MrHiM's Avatar
Private Private First Class
 
Join Date: Oct 2008
Posts: 15
MrHiM is on a distinguished road
Default

Ok,

http://guides.clanmech.com/cod4/modwarfare.zip
http://guides.clanmech.com/cod4/inde...20File|outline

I changed both my commandline and config's for those in the links above with no change, SO IM STICKING WITH MINE, however i have found if i change the dedicated server from 2 (internet) to 1 (lan) the problem goes away, however i think this will only mean that those on the outside recieve the same message as i originally reported instead. Is there anyway to set it to do both?


MrHiM

Last edited by MrHiM : 10-18-2008 at 02:52 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
  #3  
Old 10-18-2008, 02:52 AM
MrHiM's Avatar
Private Private First Class
 
Join Date: Oct 2008
Posts: 15
MrHiM is on a distinguished road
Default

Hi,

I fixed this a few days ago, finally got time enough free to look at it thank god, and it appears that i needed to set dedicated = 1... i.e. to lan listening mode, and with the ports open it appeared on the master server list in 20 odd minutes and im now happily playing!



One thing i would mind someone answering is that if the "lan/1" option has these benifits over "internet/2" in what case would you use 2 over 1?



The only reason i can see is that most people in my situation dont want internet players and lan players joining there server at the same time, which seems fairly unlikely...

Secondly, i thought i would add something else i found on installing it on server 2008, if you wish to run COD4 - server as a service you can add it using the instsvr method, i've used it for alot of things now and that seems to work the best....

How To Create a User-Defined Service

I also needed to add a second value in the parameters key called "AppParameters" and added those that you would normally end of the shortcut here, do not add these to the application path!

It is also recommended for some applications to add a further value, know as AppDirectory, and simply needs the path to where iw3mp.exe is!

Simple eh!

Additionally in order to start the service you will need to set the "interactive services detection" service to automatic and start it, this allows the application to run, unfortunatly because it isn't fully compatible i currently cant get to the main console as it doesn't show it... but you can get round this using the modernrcon utility to manage the server anyway so the console it pritty much redundant for 99% of things, and if you absolutely need to use it there is a informational message that comes up that allows you to see the message that it "doesn't support" for as long as you have that window open, this is "show message" which you need to close in order to do anything on ther server anyway...

ModernRcon (v0.8) - Planet Call of Duty



If the above isn't done you will run the executable for cod4 but the application will never fully start, as far as my experiance tells me, and will remain at 1,000k odd of memory use rather than the traditional 80-100,000k.

This tool came in useful btw, both troubleshooting port/hosting issues etc, for instance it told me that my server name was too long, preventing it from appearing in the master server list, or so it tells me, im sure someone has already mentioned it, and might be a nice tool for this site;
Call of Duty 4: Modern Warfare Server Audit Tool


Thanks anyways, im sure this will provide some help!
Cheers...

MrHiM

Last edited by MrHiM : 10-18-2008 at 02:58 AM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post! Submit to N4G
Reply With Quote
Reply


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Awaiting Key Code Authorization EishMan Game Issues 2 09-26-2008 01:45 PM
"Awaiting Key Code Authorization" <-=Aztec=-> COD4: PC 7 09-04-2008 03:04 PM
Gergen: McCain Using Code Words To Attack Obama As "Uppity" News Reporter In The News 0 08-03-2008 03:50 PM
Ubuntu 8.10 Alpha 1 released - code name "Intrepid Ibex" News Reporter In The News 0 06-28-2008 05:10 PM
Dedicated ACE1.7 LAN sever and "Awaiting keycode..." Shingetter76 COD4: PC 0 04-03-2008 11:41 AM





All times are GMT -6. The time now is 11:49 PM.

COD4boards.com is an Privacy Policy and Legal
Style designed by: vBSkinworks SEO by vBSEO 3.1.0 Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.