Quote:
Originally Posted by Wiz
Preventing players from using /zone is actually pretty easy - what you do is code an internal server function that flips on when the player is "allowed" to zone (allowed_zone = true or whatever). Then you set this to true in all legitimate functions like server-called MovePC. When the player is zoning via a zoneline, check that he's feasibly close to it (like KLS is doing), and if he is, set to true.
If the player zones without having this permission flag enabled, you disconnect him or otherwise prevent him from zoning and log the incident. This way, instead of trying to figure out how to detect every time a player isn't allowed to zone, you just define the times he is allowed to zone (there isn't that many) and get him via method of exclusion.
We've caught a lot of MQ users on SoD with this.
|
That's what the code does.
Dax