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


RE: Change-Speed Detectation - XuN - 03-17-2014 04:30 AM

(03-17-2014 02:09 AM)Feeh Wrote:  What about the DEBUGF_WALK 02000? It does use the F0/F1 packet?

Right now it is being called from 02 packet, F0 needs to be updated and F1 created.


RE: Change-Speed Detectation - Ben - 03-17-2014 07:15 AM

DEBUGF_WALK is just used to display some debug information in walking... which is why I find it weird that DEBUGF_WALKCODE is used to activate a feature. A broken one I might add, but a feature nonetheless.

I'll check it out to see if I can get this to work properly...

F0,F1 packets are only used if FEATURE_SA_MOVEMENT is activated in sphere.ini (which has been disabled due to not working properly)
That's another issue we need to look into Smile


RE: Change-Speed Detectation - Coruja - 03-24-2014 05:24 AM

any news about the packet "0bf 01" and "0bf 02" to regenerate walk keys? Smile
Code:
//Send new walk keys to client
[FUNCTION InitializeFastWalkKeys]
SENDPACKET 0bf W29 W01 D<R1000000000> D<R1000000000> D<R1000000000> D<R1000000000> D<R1000000000> D<R1000000000>

[FUNCTION AddFastWalkKey]
SENDPACKET 0bf W09 W02 D<R1000000000>

//Check walk packets (add PACKET2=ClientWalkRequest on sphere.ini)
[FUNCTION ClientWalkRequest]
SERV.B <LOCAL.0> <LOCAL.1> <LOCAL.2> <LOCAL.3> <LOCAL.4> <LOCAL.5> <LOCAL.6> (packet length: <LOCAL.NUM>)
Using DEBUGF_WALKCODES these functions can send the keys to the client, and the client will receive it and use on next step(s). But even with these numbers set the char still unable to walk


RE: Change-Speed Detectation - Ben - 03-24-2014 05:35 AM

Nothing yet... been busy with other things


RE: Change-Speed Detectation - xfolder - 09-23-2014 07:53 AM

It could be useful for someone.. Wink

Code:
[function f_speedhack]
ref1=<local.char>
local.times=200
if (<ref1.ctag0.times> =< <local.times>)
    if (<ref1.ctag0.lastevent>==<ref1.lastevent>)
        ref1.ctag0.same += 1
    endif
    ref1.ctag0.times += 1
elif (<ref1.ctag0.same> > 11)
    serv.log [SPEEDHACK] UID: <ref1.uid> ACCOUNT: <ref1.account> NAME: <ref1.name>
    ref1.ctag0.same
    ref1.ctag0.times
else
    ref1.ctag0.same
    ref1.ctag0.times
endif
ref1.ctag.lastevent=<ref1.lastevent>

Add PACKET2=f_speedhack in sphere.ini