|
楼主 |
发表于 2007-11-14 20:33:59
|
显示全部楼层
For some unknown reason (atleast for me) our server has hung in g_deadChat=1 settting which means that dead players can chat to alive players. When you run a server in hardcore mode you don't want that to be possible.
We have set g_deadChat "0" in our server.cfg and we have restarted the server to make sure it "bites" but we can't seem to get rid of it. We can change it via the console but as soon as new map loads it reverts back to g_deadchat=1
Our server.cfg:
//************************************************** ****************************
// Call of Duty 4
//************************************************** ****************************
//************************************************** ****************************
// Public Information
//************************************************** ****************************
sets sv_hostname "COD4 Server"
sets _Admin ""
sets _Email ""
sets _Website ""
sets _Location ""
sets _Irc ""
sets _Mod ""
sets _ModVer "1.0"
sets _ModUpdate ""
sets _Maps "COD4 Stock"
set scr_motd "WELCOME TO OUR CALL OF DUTY 4 SERVER"
//************************************************** ****************************
// Common Server Settings
//************************************************** ****************************
// 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 "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"
// Network options
//set net_ip "1.2.3.4" // Set your servers IP address
//set net_port "28960" // Set your port number
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 (hardcoded into game so redundant)
set sv_master1 "cod2master.activision.com"
// 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 "32" // MAX server player slots, this is TOTAL player slots
//set sv_privateclients "2" // Number of private player slots, maxclients - privateclients = public slots
// Ping
set sv_minPing "0" // MIN player ping on CONNECT, any lower and player isnt allowed to connect
set sv_maxping "150" // MAX player ping on CONNECT, any higher and player isnt allowed to connect
// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
// See included Quick Setup Guide for instructions.
set sv_allowdownload "1"
seta sv_wwwDownload "0"
seta sv_wwwBaseURL ""
seta sv_wwwDlDisconnected "1"
// Rate
set sv_maxRate "25000"
// FPS
//set sv_fps "20"
// Drop inactive players
set sv_timeout "40"
set g_inactivity "180"
// AntiFlooding Settings
set sv_floodProtect "1"
// Anti Cheat Settings
set sv_disableClientConsole "0"
set sv_pure "1"
set sv_punkbuster "1"
// Temporary Ban duration, in seconds
set sv_kickBanTime "3600"
// In-game voice communication system
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"
//************************************************** ****************************
// Misc
//************************************************** ****************************
set sv_allowAnonymous "0"
set g_antilag "1"
set scr_friendlyfire "1"
set scr_killcam "1"
set scr_spectatefree "0"
set scr_spectateenemy "0"
set scr_teambalance "1"
set scr_game_allowkillcam "0"
set scr_game_onlyheadshots "0"
set scr_game_deathpointloss "1"
set scr_game_suicidepointloss "1"
set scr_team_teamkillpointloss "1"
set scr_game_spectatetype "1"
set g_deadchat "0"
set scr_game_forceuav "0"
set scr_game_hardpoints "1"
set scr_enable_nightvision "1"
set scr_enable_music "0"
set scr_enable_hiticon "0"
set g_compassShowEnemies "0"
set g_allowvote "0"
//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery "0"
set scr_hardpoint_allowuav "1"
set scr_hardpoint_allowhelicopter "0"
//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype "1"
set scr_team_teamkillspawndelay "20"
set scr_team_kickteamkillers "1"
//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth "100"
set scr_player_suicidespawndelay "0"
set scr_player_healthregentime "0"
set scr_player_forcerespawn "1"
set scr_player_sprinttime "4"
//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore "1"
set scr_oldschool_mw "0"
set ui_hud_obituaries "0"
set ui_hud_showobjicons "0"
//************************************************** ****************************
// KING OF THE HILL, MAPROTATION
//************************************************** ****************************
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_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_showdown gametype koth map mp_strike gametype koth map mp_vacant"
//************************************************** ****************************
// KING OF THE HILL, SETTINGS
//************************************************** ****************************
set scr_koth_scorelimit "250"
set scr_koth_timelimit "20"
set scr_koth_roundlimit "1"
set scr_koth_roundswitch "1"
set scr_koth_numlives "0"
set scr_koth_playerrespawndelay "5"
set scr_koth_waverespawndelay "5"
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"
//************************************************** ****************************
// limits the number of players that can choose each class type
//************************************************** ****************************
set class_assault_limit "99"
set class_specops_limit "4"
set class_heavygunner_limit "99"
set class_demolitions_limit "4"
set class_sniper_limit "4" |
|