SphereCommunity
Change-Speed Detectation - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: General Discussion (/Forum-General-Discussion)
+--- Forum: UO/Sphere Discussion (/Forum-UO-Sphere-Discussion)
+--- Thread: Change-Speed Detectation (/Thread-Change-Speed-Detectation)

Pages: 1 2 3


Change-Speed Detectation - Staff_Stanic - 03-06-2014 12:29 PM

Hello guys!
I think that I'm not the only one that have problems with irregular players using Change-Speed...
I already saw a lot of scripts to detect this, but never anyone appeared to be security or useful.

Soo... Is possible create a script to detect Change-Speed? How the algorithm should detect irregularity? What Sphere's devs can do to improve our chances to make a good script?


RE: Change-Speed Detectation - Awaken - 03-07-2014 01:35 AM

The actual problem if... the scripts and the trigger @UserExWalkLimit, "works" if the player abuse of speedhack, but if player use in certain moments, without abuse (example: when last hit at the enemy) , the trigger can´t detect him.

It´s a hard headache the speedhack :/

If any know more information is welcome Big Grin


RE: Change-Speed Detectation - Feeh - 03-07-2014 03:25 AM

The client/server protocol does have an specific way to check if the client is speedhacking. Talking about packets, each step is followed by a random number that should be generated by sphere and sent back to the server to validate the step. When the player log in the server send six of these random numbers to the client, and when the client is about to send the last one the server resend six new numbers to the client only if the last walk packet time is sent AFTER the next update time.
I was not able to reproduce this system using sphere some time ago, but I made it for RunUO.

I can give more information about it if anyone find it usefull


RE: Change-Speed Detectation - Staff_Stanic - 03-08-2014 01:00 PM

(03-07-2014 03:25 AM)Feeh Wrote:  The client/server protocol does have an specific way to check if the client is speedhacking. Talking about packets, each step is followed by a random number that should be generated by sphere and sent back to the server to validate the step. When the player log in the server send six of these random numbers to the client, and when the client is about to send the last one the server resend six new numbers to the client only if the last walk packet time is sent AFTER the next update time.
I was not able to reproduce this system using sphere some time ago, but I made it for RunUO.

I can give more information about it if anyone find it usefull
Aww! This is great thing. Tell me more Big Grin
How do you detected this numbers in RunUO?

Devs, can you say something about this? Tongue


RE: Change-Speed Detectation - Feeh - 03-09-2014 02:27 AM

You will have to hook the walk packets and extract the walk key and seq from them and send the keys to the client
RunUO does not come with this by default (nor POL), it does use another technique to detect fastwalk (which seems to be very accurate)

Contact me and I can help you to port the script from my RunUO to Sphere. It contains a lot of details you should be aware of to not harm the non-speedhackers on the server


RE: Change-Speed Detectation - Awaken - 03-11-2014 09:15 PM

Any news?
Some information for the community for speed change detection?


RE: Change-Speed Detectation - Staff_Stanic - 03-12-2014 01:36 PM

(03-11-2014 09:15 PM)Awaken Wrote:  Any news?
Some information for the community for speed change detection?
Yesterday I developed a script that checks for each 100ms the distance that the player walk between this delay. For normals players the max distance is 5 tiles. Until this moment any player was detected with 6 or more tiles, but I'll continue trying to improve this algoritm. The biggest problem is that the minimum timing that can be done in Sphere for each interaction is 100ms (using timerd function), if was possible something like 1ms would be nice.
I don't think that this is the best method to check with a player is using Change-Speed.

I'm talking with Feeh to learn more about what he said...


RE: Change-Speed Detectation - XuN - 03-12-2014 05:49 PM

We all will thank him if he shares here what he knows about.


RE: Change-Speed Detectation - Awaken - 03-14-2014 10:34 PM

Any news? information? SOMETHING!

This is me whit packets and the speedhack
[Image: wall-hit-o.gif]


RE: Change-Speed Detectation - darksun84 - 03-15-2014 12:44 AM

I'll just check with the boys down at the crime lab, they've got four more detectives working on the case. They got us working in shifts!

From Great Leboswky