i dont know if there is any Addon but you could write a Lua script for it.
there is a function "isKeyPressed" which returns true when the given key is pressed. So with some logic you could write a script that freezes, decrease or increase the value of an address as long as you hold the button.
Where is that "speedhack_setSpeed(5)" is pretty fast, set it to "2" or something or set it to "3.3" or "0", well you get the idea, then add a hotkey to it and there you go!
I'm looking for the stop on release function for hotkey of adress and not CE speedhack (which makes the whole game fast).
I have character speed adress e.g. "game.exe"+0815 (float) 1. If you press the hotkey bind to adress then set to 5 and return to 1 when you stop pressing. like that.
So you want to make a sprint hack, ok. You can try the following:
-Click Memory View->Tools->Auto assemble
-Insert the code below and set speed and key variable to your preference
-Click File assign to current table
-activate the script
{$lua}
[enable]
KILL_TIMER = false
fastSpeed = 5.0
slowSpeed = 1.0
hotkey = VK_SHIFT
function checkKeys(timer)
if KILL_TIMER then
t.destroy()
end
if isKeyPressed(hotkey) then
writeFloat("[game.exe+0815]", fastSpeed)
else
writeFloat("[game.exe+0815]", slowSpeed)
end
end
t = createTimer(nil)
timer_setInterval(t, 50)
timer_onTimer(t, checkKeys)
timer_setEnabled(t, true)
[disable]
KILL_TIMER = true
Not tested, if something is not working tell me and i will see.