Joined: 13 May 2017
|Posted: Wed Dec 06, 2017 10:33 am Post subject: Create custom address/value the user can chose.
|I'll do my best to explain what i want to do, i want the user of the cheat table to be able to write a value of his choice into a field, let's say the value has an address of 0_Timer and then 0_Timer is used like an address in an AOB injection that writes to a timer, as some challenges require to do something under a certain time, others require to do over a certain time.
So basically, add an address that is not a normal one (eg. 02ABD600) but it has a name like "0_Timer" or whatever, and the AOB script reads from it. So the code would look something like this..
fstp dword ptr [esi+000000F4]
Thanks in advance!
Sorry for the botched explanation and/or if i am coming out ignorant for, not googling it, in my defense i am not 100% sure how it's called hence why i can't exactly google it.
PPS. If it helps any the timer / value should be a float.
I figured it out, this is what i used, not sure how well i did it but it works
Got it to work, However for some reason, when i do
| mov [esi+000000F4],z_TimerSeconds |
it just sets the timer to 0, no matter the value in the actual address