20.10.2015, 20:33
Using a firewall or router settings to block udb communication with the server could also work, but I havent tested that (recognized as 100% packetloss, and I dont know if the server kicks players with too much lost data, probably it does ).
Some routers need a restart to confirm firewall changes, wont work then of course. And you need a fast way to switch between block/non-block as the server will definitely drop you after a pretty short time (if not instantly).
However, OnPlayerUpdate 0-return could also do the job for you. Put it on the very top of OPU to simulate a timeout. As desync checks in anti-cheat scripts usually use OPU, they will detect the player is desynced (but you might have to hook it at the top of the script, before including the anti-cheat stuff, if they are external includes. Else the hooking order will cause them to not detect the artificial desync)
Some routers need a restart to confirm firewall changes, wont work then of course. And you need a fast way to switch between block/non-block as the server will definitely drop you after a pretty short time (if not instantly).
However, OnPlayerUpdate 0-return could also do the job for you. Put it on the very top of OPU to simulate a timeout. As desync checks in anti-cheat scripts usually use OPU, they will detect the player is desynced (but you might have to hook it at the top of the script, before including the anti-cheat stuff, if they are external includes. Else the hooking order will cause them to not detect the artificial desync)