 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
dawg12 How do I cheat?
Reputation: 0
Joined: 07 Feb 2024 Posts: 2
|
Posted: Wed Feb 07, 2024 9:41 am Post subject: AoB script read value |
|
|
Hello.
I trying to make script that just find health, read it and show in value section of table, so i can edit it later. I already created aob injection with globalalloc command that seems working, but it's not what i really want. Right now what is doing is i activate script, then it's wait till i take damage, after i take damage it's show health value, but i want it just read value and show in table without taking damage. I know that health value stored in rbx, how can i make it always show in table, after i turn on script?
| Code: | aobscanmodule(INJECT,Test.exe,F3 0F 11 83 E8 00 00 00 77) // should be unique
alloc(newmem,$1000,INJECT)
label(code)
label(return)
globalalloc(health,8)
newmem:
code:
mov [health],rbx
movss [rbx+000000E8],xmm0
jmp return
INJECT:
jmp newmem
nop 3
return:
registersymbol(INJECT)
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db F3 0F 11 83 E8 00 00 00
unregistersymbol(INJECT)
dealloc(newmem) |
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Feb 07, 2024 9:49 am Post subject: |
|
|
When you initially find the health value, and you right-click on the address, you have the option to see what is writing or accessing it. You will want to see what is accessing, as this will give you not only the write instructions, but also the read instructions.
When the debugger pops up, you can see how often the instructions are getting accessed. When you get hit, only then will that instruction likely populate the list, but you may find that there are better injection points, that will allow you to have constant access to the health value, regardless of what is happening in the game.
If possible, choose an instruction from the debugger window that is constantly accessing your health value.
|
|
| Back to top |
|
 |
dawg12 How do I cheat?
Reputation: 0
Joined: 07 Feb 2024 Posts: 2
|
Posted: Wed Feb 07, 2024 10:25 am Post subject: |
|
|
| ++METHOS wrote: | | If possible, choose an instruction from the debugger window that is constantly accessing your health value. |
Thank you. I find the right one and now it's always show value like i wanted.
|
|
| Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Wed Feb 07, 2024 10:36 am Post subject: |
|
|
| Awesome.
|
|
| Back to top |
|
 |
|
|
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
|
|