I'm having a bug(?) with Cheat Engine
Posted: Fri Sep 29, 2023 3:04 pm
I want to find the health address through AOB function. I've done it and for some reason the named variable won't work in the table, BUT its address works.
Here is what I mean by that:
That's the code I'm using. "rcx" is what I need to get.
If you want to ask about the pointer from the address 7FF7B1A20100, it is mentioned in the code (which is basically pHealth from the script)
And so basically despite the script actually working, Cheat Engine just trolls me with this situation. Anyone knows how to fix this?
Here is what I mean by that:
That's the code I'm using. "rcx" is what I need to get.
Code: Select all
[ENABLE]
aobscanregion(INJECT, TimeSurvivors-Win64-Shipping.exe+198819A, TimeSurvivors-Win64-Shipping.exe+19881AD,F3 0F 10 81 64 03 00 00 C3) // should be unique
alloc(newmem,$1000,INJECT)
registersymbol(INJECT)
define(pHealth,newmem+100)
registersymbol(pHealth)
label(return)
pHealth:
dd 0
newmem:
mov [pHealth],rcx
movss xmm0,[rcx+00000364]
jmp return
INJECT:
jmp newmem
nop 3
return:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
INJECT:
db F3 0F 10 81 64 03 00 00
unregistersymbol(INJECT)
unregistersymbol(pHealth)
dealloc(newmem)
If you want to ask about the pointer from the address 7FF7B1A20100, it is mentioned in the code (which is basically pHealth from the script)
And so basically despite the script actually working, Cheat Engine just trolls me with this situation. Anyone knows how to fix this?