Due to the recent leak of a trainer from Team WSU, servers might need to invest some time in anti-trainer measures if they haven't already.
Tested and works perfectly without any changes to gameplay.
Edit: This snippet should be altered/installed into your main systems so if a trainer user decides alter their freezeplayer code it will result in crippled gameplay.
PHP Code:
//#CLIENTSIDE
function onCreated() {
setTimer(1);
}
function onTimeout() {
// To avoid altering gameplay
if (player.freezetime > 0) return setTimer(1);
// Freeze the Player
freezeplayer(1);
if (player.freezetime != 1) hackDetected();
// Unfreeze Player
freezeplayer(0);
// Continue Loop
setTimer(1);
}
function hackDetected() {
// you decide the rest...
}
Other features of this latest trainer include warping to a specific X, Y, warping into a wall, can disable freezeplayer, enables turn while slashing, instant classic bomb explosion, wall running hack, sword delay hack.
Sounds like we got the work cut out for us!