【二次修改】解决服务器人满时卡的 解决方法.修改server.cfg
我的服务器配置不nb:双至强2.4*2 2G ddr网络条件,机房1000m网口直接入公网核心交换机.路由器就不多说了.cisco 7500
存在人多时随机性暴卡的问题.24人以后.
总之我想说的,造成这种情况的问题是很多种的,比如因为路由器的配置问题,或者限制参数问导致的.
而我解决的办法,不可能把路由器拿出来翻吧.我的方法是修改server.cfg文件.
把 sv_maxupdatrate 降低,我的改到30左右.请按自己的网络环境修改 sv_maxupdaterate 参数!internet 不要超过 30 ,如果还跳ping 建议20!
然后就看看吧.如果有效 拜托回下贴.
这个config 是我第二修改,射击的时候感觉好了很多。最主要的是31人满后ping值很稳定!需要注意的是降低 sv_maxupdaterate 可有效的解决人满开局跳ping问题!但是太低了,就会造成ping 低 很卡的现象! :byebye: :D
我的server.cfg:
hostname "<U-MAX>_CS1.6_Server"
sv_lan 0
sv_region 4
sys_ticrate 1000
sv_password ""
rcon_password "*********"
allow_spectators 1
decalfrequency 60
edgefriction 2
host_framerate 0
pausable 1
mp_autocrosshair 0
mp_autokick 1
mp_autoteambalance 1
mp_buytime 0.25
mp_c4timer 35
mp_chattime 5
mp_fadetoblack 0
mp_falldamage 1
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 2
mp_forcecamera 0
mp_forcecam 2
mp_fraglimit 0
mp_freezetime 6
mp_friendlyfire 0
mp_friendly_grenade_damage 1
mp_hostagepenalty 0
mp_logdetail 0
mp_logfile 1
mp_logmessages 1
mp_limitteams 1
mp_maxround 0
mp_roundtime 1.75
mp_startmoney 800
mp_timelimit 35
mp_tkpunish 0
mp_winlimit 0
sv_maxrate 25000
sv_stepsize 18
sv_stopspeed 75
sv_unlag 1
sv_maxunlag 0.5
sv_unlagsamples 1
sv_unlagpush 0
sv_maxupdaterate 30
sv_airaccelerate 10
sv_allowdownload 0
sv_send_logos 0
sv_send_resources 1
sv_allowupload 0
sv_cheats 0
sv_clienttrace 1
sv_clipmode 0
sv_gravity 800
sv_maxspeed 320
sv_voiceenable 1
sv_restartround 0
sv_restart 0
sv_alltalk 0
sv_voicequality 5
sv_aim 0
sv_airmove 1
sv_spectatormaxspeed 500
log on
booster_show_connmsg 0
// booster_autofps x (x = 0 to 1000, 0 = no target FPS)
// Automatically changes value of sys_ticrate to achieve and maintain the desired server FPS (if possible).
// It is not recommended to target FPS greater than 200 or so.
// Note that autofps adjusts sys_ticrate, which makes it incompatible with any booster_lite_mode other
// than 3. Setting booster_autofps will force booster_lite_mode to 3.
booster_autofps 300
// booster_minsleepms x (x = 1 to 10, 10 = no change to multimedia timer)
// This adjusts the multimedia system timer to trick HLDS into sleeping for less time. Note that
// the lower the value set, the higher the CPU consumption will be for HLDS. Values lower than 3
// are not recommended, as they can cause massive CPU consumption and/or system instability.
booster_minsleepms 3
// booster_force_systicrate x (x = 0 to 10000, 0 = let Booster2 manage the value itself (no force))
// Booster2 will force this sys_ticrate value. Note that using this option will set booster_autofps to 0
// and booster_lite_mode to 3, as these methods rely on a sys_ticrate value untouched by user settings.
// You should avoid directly setting sys_ticrate in your server.cfg, as manually adjusted values can
// cause problems with various parts of Booster2.
booster_force_systicrate 0
// booster_cpu_enabled x (0 = off, 1 = on, 2 = report CPU only - don't actively manage CPU)
// Booster2 can monitor CPU usage and adjust the multimedia timer to reduce load when necessary
booster_cpu_enabled 0
// booster_lite_mode x
// Controls how the Booster-Lite approach is implemented:
// 0 - HLDS sleeps 10ms if no network packets are received. If HLDS
// receives a packet, it stops sleeping. (this mode has been added
// to provide backward compatibility with how BL v1.00 worked).
// 1 - HLDS attempts to sleep 10ms. If a packet is received,
// HLDS stops sleeping. Otherwise it attempts to sleep another 10ms.
// 2 - HLDS attempts to sleep 50ms. If a packet is received, it stops sleeping.
// 3 - HLDS will sleep the standard amount (this value turns this feature off).
booster_lite_mode 3
// booster_lite_extra_sleep_frequency x
// Forces HLDS server to sleep x milliseconds even if a packet is received.
// This setting helps to lower CPU usage.
booster_lite_extra_sleep_frequency 0
exec listip.cfg
exec banned.cfg
cdrequired 1
2834+booster 2.4
架服一年,水平有限。望高手指教!
希望大家把自己觉得好的Server.cfg贴出来分享
回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
DING F DDDDDDDDDDDDDDDDDD回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
楼主sv_maxupdaterate 是指服务器每秒更新最大频率
默认的就是30啊
回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
Post by liuhui81626868楼主
sv_maxupdaterate 是指服务器每秒更新最大频率
默认的就是30啊
默认不是30, 这个值是看你的服务器接入网络的质量而定的,不同质量的网络设置不同.还有不要设的太底太低了会有 choke ,自己尝试着试试.总有一个值适合你的服务器.
我的cfg里没改之前,默认的是 100.很可能还有其他参数,你们看我的cfg吧.
要不我把我的server.cfg 贴出来你门研究吧,我的服务器人满时内网不会超出20的ping,以前没修改之前早卡了 什么都不知道了.
回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
请问在server.cfp里面如何设置de_aztec的下雨关闭状态!这个地图最卡!回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
booster_force_systicratesys_ticrate
sv_maxupdaterate
这些参数是关联的,不是简单的一个数值。:D
回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
有什么深奥得呢,金老大,指明下拉。。。回复: 【分享】解决服务器人满时卡的 解决方法.修改server.cfg
Post by 金闪闪booster_force_systicrate
sys_ticrate
sv_maxupdaterate
这些参数是关联的,不是简单的一个数值。:D
金兄,麻烦您给偶解释一下嘛,相互学习嘛.这些参数也是从其它地方参考来的.
经过我n次修改.终于总结出了上边哪个适合我的服务器的config.