Posted: Mon Jun 24, 2019 5:42 am Post subject: Simple readmem
Hi there everyone,
Got an issue and can't figure out what it is, not even getting an error, but with commenting out line by line I found where the issue is being caused, but do not know what, any ideas?
What I'm trying to do: Save the value from the appointed address into healthOriginal to later on return to the value after being disabled or triggered by a 0 and 1 trigger. - However the script won't activate at all as soon as I try to make the real appointed address to readmem. (Using AoB injection btw)
Code:
healthOriginal:
readmem("TAT-Win.exe"+9F9E47+0,4)
Code:
"TAT-Win.exe"+9F9E47+0:
readmem(healthOriginal,4) // uncommenting this line makes the script activate and deactivate, however keeping that line does not allow me to activate the script.
I did try that earlier by my own and I managed to have it unregister and work perfectly when I disable and enable the script, however I cannot have the code i mentioned earlier within the enable part. (Using flags to turn on and off script while keeping the script enabled)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum