Sm的redirect问题~
我的redirect文件设置如下// Redirection
sm_mode2 set l
sm_menu "Redirection\\y\\R{sm_mode2&l?ON:OFF}" "sm_mode2 {sm_mode2&l?remove:set} l"
localinfo mypw "1" // password for "setinfo _rr" which won't allow to redirect (i.e. admins)
localinfo maxppl 20 // number of ppl on which server will start redirecting
localinfo myip "218.16.125.243:27400" //address for redirection
sm_reg "SM_Connect l 2" "{playersnum<{I.maxppl}?#}{p.I._rr={I.mypw}?#}sm_clexec2 #{p.uid} \'echo \\'Redirecting to {I.myip}\\';connect {I.myip}\';sm_log \'{p.name}<{p.uid}><{p.authid}><{p.tm.gm.name}>\' redirecting (ip \'{I.myip}\')" "be"
但是不能用啊~功能失效~望边位高手能指点下~ 你的服务器最大人数多少?
看你的设置,是在达到20人时而又没有密码的玩家将连接到218.16.125.243:27400
另外,你肯定exec了这个cfg吧 服务器最大人数在22人。。。EXEC肯定载入了。。就是唔得。。呵呵 要在那个文件载入CFG。。。写出来。。我睇下正确无~~~ 2.7.0的话scriptpacks.cfg // StatsMe 2.7.1 Counter-Strike - Script-Pack File
// http://www.unitedadmins.com
// http://statsme.sourceforge.net
// Store all Scriptpack exec lines in this File
// e.g. : exec addons/statsme/scriptpacks/adminpack/admin.cfg
exec addons/statsme/scriptpacks/adminpack/hpingkick.cfg
exec addons/statsme/scriptpacks/adminpack/redirect.cfg
exec addons/statsme/scriptpacks/mappack/nextmap.cfg
exec addons/statsme/scriptpacks/miscpack/timeinfo.cfg
exec addons/statsme/scriptpacks/miscpack/autorr.cfg 现在我怎样进而不被转移呀。。用setinfo 1? setinfo _rr 1 密码1可以改吧???? 可以,就是你redirece.cfg中设的
页:
[1]
2