PDA

View Full Version : Friend Needs help


LawLoo
01-17-2009, 09:40 AM
Ok well a friend of mine tried hosting a server and i could connect to it but he couldnt dunnowhy kinda weird the stuff he used are below

Command Line:
"C:\Program Files\Activision\Call of Duty 4 - Modern Warfare\iw3mp.exe" +set dedicated 2 +set net_ip localhost +set net_port 28960 +exec server.cfg +set map_rotate +set sv_punkbuster 1 +map mp_backlot

And

Server.cfg

// Call of Duty 4: Modern Warfare - Dedicated Server generated (RANKED) Config File

// Server Informationen
sets sv_hostname "[G7] Public No.2"
sets _Admin "VomiT"
sets _Email ""
sets _Website ""
sets _Location "United Kingdom"
sets _Irc ""

// Log Settings
set g_synclog "2"
set logfile "1"
set g_log "games_mp.log"


// Password Settings
set rcon_password ""
set sv_privatePassword ""
set g_password ""

// Player slots setup
set sv_maxclients "8"
set sv_privateclients ""

// Ping
set sv_minping "0"
set sv_maxping "250"

// Client Download Settings
set sv_allowdownload "1"
seta sv_wwwDownload "0"
seta sv_wwwDlDisconnected "0"
set sv_wwwBaseURL ""

// Rate
set sv_maxRate "20000"

// FPS
set sv_fps "20"

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

// AntiFlood Settings
set sv_floodProtect "1"
set sv_reconnectlimit "3"
set g_no_script_spam "1"

// Anti Cheat Settings
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_pure "1"
set g_banIPs ""

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

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

// Team-Balance und Voting
set scr_teambalance "1"
set g_allowvote "1"

// Other Gameplay Settings

// General
set scr_game_allowkillcam "1"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "0"
set scr_game_suicidepointloss "0"
set scr_team_teamkillpointloss "1"
set scr_game_spectatetype "1"
set scr_game_forceuav "0"
set scr_game_hardpoints "1"

// Hardpoints
set scr_hardpoint_allowartillery "1"
set scr_hardpoint_allowuav "1"
set scr_hardpoint_allowhelicopter "1"

// Teams
set scr_team_fftype "1"
set scr_team_teamkillspawndelay "20"
set scr_team_kickteamkillers "3"

// Player
set scr_player_maxhealth "30"
set scr_player_suicidespawndelay "0"
set scr_player_healthregentime "5"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"

// UI
set scr_hardcore "1"
set scr_oldschool_mw "0"
set scr_oldschool "0"
set ui_hud_obituaries "1"
set ui_hud_showobjicons "1"

// Other Settings
set sv_allowAnonymous "0"
set g_antilag "0"
set g_compassShowEnemies "0"

// Map Rotation
set sv_mapRotation "map mp_backlot map mp_strike map mp_crash map mp_crossfire"

// Gametype Settings
set g_gametype "war"

// free for all deathmatch
set scr_dm_scorelimit "500"
set scr_dm_timelimit "25"
set scr_dm_roundlimit "1"
set scr_dm_numlives "0"
set scr_dm_playerrespawndelay "-1"
set scr_dm_waverespawndelay "-1"

// 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 "0"
set scr_dom_waverespawndelay "0"

// team deathmatch
set scr_war_scorelimit "1250"
set scr_war_timelimit "18"
set scr_war_roundlimit "1"
set scr_war_numlives "0"
set scr_war_playerrespawndelay "-1"
set scr_war_waverespawndelay "-1"

// sabotage
set scr_sab_scorelimit "1"
set scr_sab_timelimit "20"
set scr_sab_roundlimit "0"
set scr_sab_numlives "0"
set scr_sab_playerrespawndelay "7.5"
set scr_sab_waverespawndelay "0"
set scr_sab_roundswitch "1"
set scr_sab_bombtimer "30"
set scr_sab_planttime "2.5"
set scr_sab_defusetime "5"
set scr_sab_hotpotato "0"

// headquarters
set scr_koth_scorelimit "250"
set scr_koth_timelimit "15"
set scr_koth_roundlimit "1"
set scr_koth_numlives "0"
set scr_koth_roundswitch "1"
set scr_koth_playerrespawndelay "0"
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 & destroy
set scr_sd_scorelimit "0"
set scr_sd_timelimit "2"
set scr_sd_roundlimit "20"
set scr_sd_numlives "1"
set scr_sd_playerrespawndelay "0"
set scr_sd_waverespawndelay "0"
set scr_sd_roundswitch "10"
set scr_sd_bombtimer "45"
set scr_sd_planttime "5"
set scr_sd_defusetime "5"
set scr_sd_multibomb "0"

When he trys to test it he added his server to xfire and it couldnt find it and he tried connecting through in game couldnt connect but i could both ways

If anyone knows whats wrong would be awesome if you could help him

Thanks LawLoo

SiCDude4Him
01-17-2009, 10:09 AM
I think your friend cannot see his own local server through xfire because he needs to put his IP address into xfire and save as a favorite server. Tell him to go to http://www.whatismyip.com, get his IP address then add it to xfire. Right now his command line says: +set net_ip localhost and of course that cannot go across the Internet. You need an address/port combination to be seen FROM the Internet.

LawLoo
01-17-2009, 10:12 AM
He uses that his ip on xfire and still cannot see it and when we put net_ip his ip the server wouldnt go online

SiCDude4Him
01-17-2009, 10:14 AM
Does he use HLSW? Tell him to use that and see if the server is seen? It will still be seen as local host but if you can see the ip/port combination then all is good.

LawLoo
01-17-2009, 10:19 AM
When we opened the game a typed in /connect ip:port he couldnt connect that way so it says the server is offline to him he has also forwarded the correct ports as well

SiCDude4Him
01-17-2009, 10:22 AM
For him to join his own local server it is like joining a LAN game (for him only) because he is local to the server host. Tell him to to type /connect localhost or whatever his computername is.

LawLoo
01-17-2009, 10:29 AM
Ok i will tell him to try that and will get back to you soon