Hey,
i wrote a new Plugin to make moderating my server easier. With the developing of my Plugin, Vanish was a big help. But, i discovered a problem (maybe).
The Plugin got a configuration to turn off FlyHack detection. With the call basePlayer.PauseFlyHackDetection().
I found out, that this method calls takes a parameter called seconds which is 1 by default. A pause of 1 second is probably not enough.
There is also a call of AntiHack.ShouldIgnore(ply) which is probably not required because you dont utilize the returned boolean and the method it self does not "ignore" the Player but returnes true if the player should be ignored.
What worked to pause the hack detection was:
basePlayer.PauseFlyHackDetection(int.MaxValue);
basePlayer.PauseSpeedHackDetection(int.MaxValue);
basePlayer.PauseVehicleNoClipDetection(int.MaxValue);Those values get reset by using basePlayer.ResetAntiHack(); so its probably fine to set them to int.MaxValue.
Regards
SeaLife :)