Have you tried out @UserExWalkLimit?
You just need to put the values on walkbuffer and walkregen, you can find them out in sphere.ini
// Walk limiting code: buffer size (in tenths of second)
WalkBuffer=75
// Walk limiting code: regen speed (%)
WalkRegen=25
then you can just use the trigger this way:
Code:
[events e_antispeedhack]
ON=@UserExWalkLimit
src.jail
src.sysmessage=You have been jailed for using speed hack!
or do checkouts for lag spikes like this one, but seems like your shard runs flawless without it...
Code:
[events e_antispeedhack]
ON=@UserExWalkLimit
if !(<src.findid.i_antispeedhackmemory>)
serv.newitem=i_antispeedhackmemory
new.equip <src>
new.timerd={0.5 1.3 2.5 3.7 } //random values to trick players, that goes along with the values posted above (walkregen and walkbuffer)
return 1
else
src.jail
src.sysmessage=You have been jailed for using speed hack!
endif
////////////////////////////////////////////////////////////
[itemdef i_antispeedhackmemory]
ID=i_memory
TYPE=t_eq_script
NAME=antispeedhack memory
ON=@Timer
remove
return 1
Something moreless like that should work, it is just try and fail and then try again until it work the way you want it, nothing that you don“t know already for sure... I have to script this yet for my shard too, so i hope it helps!
Un saludo y suerte!