 |
Cheat Engine The Official Site of Cheat Engine
|
View previous topic :: View next topic |
Author |
Message |
nemesis9 How do I cheat?
Reputation: 0
Joined: 23 Sep 2022 Posts: 9
|
Posted: Mon Dec 04, 2023 4:20 am Post subject: Getting address from shared opcode |
|
|
How do I extract the address of the shared opcode?
Is it possible that I filtered it out using cmp and getting the address I wanted for my player not the npc.
I want if I add address manually and named it "myAltitude" it gave me the address I wanted from that opcode.
The shared opcode goes like this :
Code: |
mov [ebx+0000011C],eax
|
I already find the offset that differentiate my player from the npc and I'll use [esi+340] where my player is 2 and the npcs are 1 to filter my address.
I want to get the address from the [ebx+0000011C]
I tried this things but not really working out
My attempt :
Code: |
[ENABLE]
aobscanmodule(pAltitude,NxCharacter.2.8.1.dll,89 83 1C 01 00 00) // should be unique
alloc(newmem,$1000)
label(code)
label(return)
label(myAltitude)
registersymbol(myAltitude)
newmem:
cmp [esi+340],2
jne code
mov [myAltitude],[ebx+0000011C]
code:
mov [ebx+0000011C],eax
jmp return
pAltitude:
jmp newmem
nop
return:
registersymbol(pAltitude)
[DISABLE]
pAltitude:
db 89 83 1C 01 00 00
unregistersymbol(pAltitude)
unregistersymbol(myAltitude)
dealloc(newmem)
|
Description: |
Commonalities group, i want to get the blue one only |
|
Filesize: |
5.01 KB |
Viewed: |
1241 Time(s) |

|
|
|
Back to top |
|
 |
++METHOS I post too much
Reputation: 92
Joined: 29 Oct 2010 Posts: 4197
|
Posted: Mon Dec 04, 2023 5:17 am Post subject: |
|
|
Revise script to include the following:
Code: | newmem:
cmp [esi+340],2
jne code
push edx
lea edx,[ebx+0000011C]
mov [myAltitude],edx
pop edx
code:
mov [ebx+0000011C],eax
jmp return
myAltitude:
dd 0
pAltitude:
jmp newmem
nop
return:
registersymbol(pAltitude) |
Once the script is activated, add address manually to table. Click the pointer box. Put myAltitude in the bottom text field. Change type to float.
|
|
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
|
|