Im working on a memory based bot and im trying to figure out where to read to see if my char is flying or on ground.
The actual address that I use is not working 100% of the time(0x0012F7E4) and im trying to find a better one.
On this address, 1839905888 mean my archer is using Stamina Fly(40 sec) but when I read it, it change the value to 13 so my loops are not working(Im trying to wait untill flying is done then sit to regen my stamina).
Code:
Func get_state()
$address=0x0012F7E4
Local $state
$state= _MemoryRead($address,$_Handle)
Return $state
EndFunc
Here is my loop
Code:
While get_state() = 1839905888
Sleep(2000)
WEnd
It only loop once because the second time it read the memory it become 13.
Anyone have a better address for this?