PDA

View Full Version : What is wrong


NxG^Johnny
02-07-2008, 10:40 PM
//************************************************** ****************************
// 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 Info ****************************
// ************************************************** ***
sets sv_hostname ""
sets _Admin ""
sets _Email ""
sets _Website ""
sets _Location "USA"
//sets _Irc ""
//sets _Mod "Stock"
//sets _ModVer ""
//sets _ModUpdate "Right Now"
sets _Maps "COD4 Stock Maps"
set scr_motd "Welcome to our server."
// ************************************************** ***
// *********** Server Settings ****************
// ************************************************** ***
set rcon_password "" //Admin password
sets g_needpass "1" // Denotes whether the server is public or private
set g_password "" // Only used if you want to close your server to the public

// Reserved Slots
set sv_privateClients "0" //Allows players to enter the server without taking up public slots
set sv_privatePassword "CHANGEME" // Password for the private slots

// Server Network Settings
set sv_maxRate "25000"
set com_hunkMegs "512"
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
set sv_floodProtect "1"
//set sv_fps "45" //Not used, limits frames per second to players

// Limit Laggers and reconnect spammers
set sv_minPing "0"
set sv_maxPing "250"
set sv_reconnectlimit "3"

// Log 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"

//Allowed Clans
set sv_allowedClan1 ""
set sv_allowedClan2 ""

// Anti Cheat Settings
set sv_pure "1"
set sv_disableClientConsole "0"
set cl_autocmd "0"
set sv_cheats "0"
set g_banIPs ""
set g_no_script_spam "1"
seta sv_allowAnonymous "0"
set sv_kickBanTime "3600"

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

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "1"
seta sv_wwwDownload "1"
//seta sv_wwwBaseURL "PATH TO DOWNLOADS"
seta sv_wwwDlDisconnected "1"

//Voting
set scr_allow_vote "0"
set g_allowvote "0"

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

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

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

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 750
set scr_war_timelimit 15
set scr_war_roundlimit 2
set scr_war_numlives 0
set scr_war_playerrespawndelay 0
set scr_war_waverespawndelay 0

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

//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 4
set scr_sd_timelimit 2.5
set scr_sd_roundlimit 0
set scr_sd_roundswitch 3 // rounds between switching teams
set scr_sd_numlives 1 // elimination
set scr_sd_bombtimer 45
set scr_sd_planttime 5
set scr_sd_defusetime 5
set scr_sd_multibomb 0
set scr_sd_playerrespawndelay 0
set scr_sd_waverespawndelay 0

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT YET
//************************************************** ****************************
//set scr_ctf_scorelimit 10
//set scr_ctf_timelimit 5
//set scr_ctf_roundlimit 2
//set scr_ctf_roundswitch 1
//set scr_ctf_numlives 0
//set scr_ctf_playerrespawndelay 0
//set scr_ctf_waverespawndelay 15

//************************************************** ****************************
// 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 15
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

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_perks 1
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 2
set scr_game_forceuav 1
set scr_game_hardpoints 1
set scr_teambalance 1
set scr_enable_nightvision 1
set scr_enable_music 1
set scr_enable_hiticon 1
//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1
set scr_hardpoint_allowuav 1
set scr_hardpoint_allowhelicopter 1

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 2
set scr_team_teamkillspawndelay 10
set scr_team_kickteamkillers 0
set g_compassShowEnemies 0

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100
set scr_player_suicidespawndelay 0
set scr_player_healthregentime 5
set scr_player_forcerespawn 1
set scr_player_sprinttime 4

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 0
set scr_oldschool_mw 0
set ui_hud_obituaries 1
set ui_hud_showobjicons 0

set sv_maprotationcurrent ""

//CTF not yet
//set sv_mapRotation "gametype ctf map mp_backlot gametype ctf map mp_bloc gametype ctf map mp_bog gametype ctf map mp_cargoship gametype ctf map mp_citystreets gametype ctf map mp_convoy gametype ctf map mp_countdown gametype ctf map mp_crash gametype ctf map mp_crossfire gametype ctf map mp_farm gametype ctf map mp_overgrown gametype ctf map mp_pipeline gametype ctf map mp_shipment gametype ctf map mp_showdown gametype ctf map mp_strike gametype ctf map mp_vacant"

//DM
//set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"

//DOM
//set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//KOTH
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//SOB
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//SD
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"

//WAR
set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant gametype war map mp_crash_snow"


That is a copy for our server.cfg, the issues are:

1. Server will not allow downloads to client like pam4 mod
2. Server does not show bomb points in S & D in scrims so we do not know which site bomb has been planted

theMechanic
02-07-2008, 10:48 PM
For the download, check this out, i think its step 2
http://www.cod4.clanmech.com/examples/unranked.html

Try switching the server cfg to the s&d mapstring, your using the war string.

NxG^Johnny
02-07-2008, 10:58 PM
Thx for the reply we do not have a site so I will have to try to get another url, also how do I change the map string to sd I have it set up as a sd server I thought

OEW Batman
02-07-2008, 11:02 PM
Change seta sv_wwwDlDisconnected "1" to "0"
Show us the complete path to the files on the redirect (you can omit the server name if you want)
Shouldn't set ui_hud_showobjicons 0 be a 1?