|
以前0.93版本的AMX可以实现服务器设置所有位置都为通道,OP通道规则为1或者2,然后OP进入后可以自动kick一个游戏时间最短或者ping最高的玩家,这样可以最大限度的是服务器满人.
但到了新的0.95版本开始,因为OP通道被隐藏了,所以此效果很难实现,一般服务器满了,就算你设置了OP通道,OP进入时也会被告之server is full.
今天逛了下官方论坛,找到了新的解释,原文如下:
Sorry but isn't this a HL limitation. If you specify max 21 players the HL-engine will not allow any more players to connect (this is the step before they are in game). Therefore if you have 21 players on the server the HL-engine will not allow anyone else to connect, not even admins, as AMX wouldn't know you are an admin until you are connected, which the HL-engine won't allow. The only possibility you have is to have one extra slot for "slot administration only". If you want 21 players to be allowed to play you need to set max players to 22. When there are 21 players on the server the HL-engine will then allow the 22:nd to connect. AMX then need to disconnect the 22:nd player if he is not an admin. If it is an admin AMX would then kick one of the other players. There must never be more than 21 players "in the game" to ensure that the 22:nd slot is always reserved for "slot administration".
The trick is to announce three different slot values: max regular slots, reserved slots, max slots (ie the normal max_players var), but isn't this already implemented??
Is there a bug in the slot reservation or is it only an assumed issue because people don't know how it works or is it only that it reports the values incorrect??
因为条件关系就不全问翻译了,大致的解决方法是:假如你是21个人的服务器,你需要一个隐藏的OP通道,平时进入是自动kick一个游戏时间最短的人,你应该如下设置:设置OP通道数量为22(你需要一个OP通道就多加一个,如果需要两个,应该设置成23个),kick规则为1或者2,这样,OP进入的时候会自动按条件kick一个玩家.
我还没有亲自试验过,所以大家看看能否解决捆饶已久的新版本AMX OP通道规则设置问题.
至于第三个规则也顺便告诉大家好了,如果你使用新版本,要进入隐藏的OP通道,是不能从游戏中直接进入的,进入的时候会提示server is full,请在自己的控制台里setinfo用OP的名字connect 服务器IP:端口,这样才能进入有隐藏OP通道的服务器.
全文完,有什么不足或者不对的地方请大家补充解释.谢谢!:yeah: :D |
|