|
CS1.6的服务器的踢人问题,本人经过多方收集测试和对论坛上的一些帖子的自我见解,现提出我个人的解决办法,虽然并不是十分完美,但是可行的!
我用这办法已稳定运行了两天,也没有出现服务端的错误,也没有出现两个小时左右就把一群人莫名奇妙的断开连接的现象!
操作系统:WIN2003企业版+SP1
CS服务端:用BoeZombie 2005年5月20日发的HLDS_CS1.6_0520.EXE
运行参数:START/HIGH/WAIT hlds.exe -game -strike +servercfgfile server.cfg -insecure -port 27017 +maxplayers 32 +map de_dust2 +sv_lan 0 -console
运行插件:amxmodx1.0+metamod 1.17.4+wwcl 2.57+booster 2.40
NONSteamID_Patch:用其服务端里面自带的2004年10月16日的swds.dll
附服务器server.cfg配置:
// CS1.6战网服务器脚本
hostname "XXXXXXXXXXXX"
rcon_password "XXXXXXXX"
sv_password ""
sv_lan 0
sv_region 4
sv_rcon_maxfailures 5
sv_rcon_banpenalty 5
sv_maxupdaterate 100
sv_minupdaterate 20
sv_unlag 1
sv_maxunlag 0.5
sv_voiceenable 1
sv_unlagsamples 1
sv_unlagpush 0
mp_autokick 1
mp_autocrosshair 0
mp_autoteambalance 0
mp_buytime 0.25
mp_consistency 1
mp_chattime 5
mp_fadetoblack 0
mp_falldamage 1
mp_flashlight 1
mp_footsteps 1
mp_forcechasecam 2
mp_forcecamera 2
mp_forcecam 2
mp_fraglimit 0
mp_freezetime 6
mp_friendlyfire 0
mp_friendly_grenade_damage 1
mp_hostagepenalty 0
mp_logecho 0
mp_logdetail 0
mp_logfile 1
mp_logmessages 1
mp_limitteams 2
mp_maxround 0
mp_playerid 1
mp_roundtime 3
mp_startmoney 800
mp_timelimit 45
mp_tkpunish 0
mp_winlimit 0
sv_aim 0
sv_airaccelerate 10
sv_airmove 1
sv_allowdownload 1
sv_allowupload 1
sv_alltalk 0
sv_proxies 1
sv_cheats 0
sv_clienttrace 1.0
sv_clipmode 0
sv_contact yourname@yourmail.com
sv_friction 4
sv_gravity 800
sv_maxrate 10000
sv_maxspeed 320
sv_minrate 1000
sv_restartround 0
sv_restart 0
sv_send_logos 1
sv_send_resources 1
sv_spectatormaxspeed 500
sv_stepsize 18
sv_stopspeed 75
sv_timeout 65
sv_updaterate 101
sv_voicequality 5
allow_spectators 1
decalfrequency 60
edgefriction 2
host_framerate 0
//log on
pausable 0
// load ban files
//exec listip.cfg
//exec banned.cfg
//say "CS1.6 Server.cfg file has been executed"
:) |
|