So, I got this idea of checking the distance how much the player has traveled at certain time frame, like 5 seconds. If the distance is "acceptable", it shouldnt ban, but if its too much, it should ban it. Is that possible?
Forum
CS2D Scripts Speedhack PreventingSpeedhack Preventing
6 Antworten 1
So, I got this idea of checking the distance how much the player has traveled at certain time frame, like 5 seconds. If the distance is "acceptable", it shouldnt ban, but if its too much, it should ban it. Is that possible?
EDIT: Its just a reference.
1× editiert, zuletzt 12.06.12 20:39:11
An even more flexible and complicated protection is mp_trace which actually checks not just the distance but also the path and every aspect of it. It doesn't ban players which are too fast but resets there positions. This is also pretty annoying for people with bad pings though. It is disabled by default.
CS2D's netcode is designed in a way that movement feels always smooth for clients no matter how hard they actually lag and I don't want to change this. You can set mp_trace to the highest accuracy to change this though. This will entirely f*ck up every attempt of speedhacking - and also everyone with a connection which isn't perfect...
1