找回密码
 注册

QQ登录

只需一步,快速开始

楼主: =|HERO|=NBAGUI

一些配置数据,你们不感兴趣的,别进来

[复制链接]
 楼主| 发表于 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"
回复

使用道具 举报

发表于 2007-11-15 00:06:01 | 显示全部楼层
我感兴趣,但看不懂
回复

使用道具 举报

 楼主| 发表于 2007-11-15 16:40:10 | 显示全部楼层
Hidden Commannds :) 4 server cfg

--------------------------------------------------------------------------------

cl_motdString //Message of the day
g_logsync //Enable synchronous logging
g_speed //Player speed
g_gravity //Game gravity in inches per second per second
g_maxDroppedWeapons //Maximum number of dropped weapons
g_knockback //Maximum knockback
g_oldVoting //Use old voting method
g_redCrosshairs //Whether red crosshairs are enabled
g_friendlyfireDist //Maximum range for disabling fire at a friendly
g_friendlyNameDist //Maximum range for seeing a friendly's name


sv_clientSideBullets //clients will or will not synthesize tracers and bullet


sv_allowedClan1 //Allow this clan to join the server
sv_allowedClan2 //Allow this clan to join the server
sv_packet_info //Enable packet info debugging information
sv_showAverageBPS //Show average bytes per second for net debugging
sv_botsPressAttackBtn //Allow testclients to press attack button
sv_clientArchive Have the clients archive data to save bandwidth on the server



winvoice_mic_reclevel //Microphone recording level
winvoice_save_voice Microphone //Write voice data to a file

ui_drawCrosshair //Whether to draw crosshairs

player_sprintCameraBob //The speed the camera bobs while you sprint
player_sprintThreshhold
player_runThreshhold
player_runbkThreshhold
player_throwbackOuterRadius //The radius player is allow to throwback a grenade once the player has been in the inner radius
player_throwbackInnerRadius //The radius to a live grenade player must be within initially to do a throwback



cg_marks_ents_player_only //Marks on entities from players' bullets only
cg_tracerchance //The probability that a bullet is a tracer round
cg_tracerwidth //The width of the tracer round
cg_tracerSpeed //The speed of a tracer round in units per second
cg_tracerlength //The length of a tracer round
cg_tracerScale //Scale the tracer at a distance, so it's still visible
cg_tracerScaleDistRange //The range at which a tracer is scaled to its maximum amount

cg_thirdPerson //Use third person view
cg_thirdPersonRange //The range of the camera from the player in third person view
cg_thirdPersonAngle //The angle of the camera from the player in third person view

cg_chatTime //The amount of time that a chat message is visible

cg_teamChatsOnly //Allow chatting only on the same team

Dont ask me whare i got em!!!
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|=|HERO|=战队

GMT+8, 2024-11-15 07:15

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表