So I have found the address that do the comparison thing using break and trace, and I want to replace the value before the comparison happen.
At the tracer the address is [B]GameName.UI.ItemSlot::LeftClick+2AC [/B]but when I double click on that address the memory viewer shows [B]GameName.UI.ItemSlot::LeftClick+254 [/B]and has different value when I use auto assembler.
Here is the code that i write so far:
[FONT=courier new]//define(address,2CB81E54) <-- [/FONT][FONT=arial][B]this works, but i have to find the address again if i re-run the game.[/B][/FONT]
[FONT=courier new]define(address,GameName.UI.ItemSlot::LeftClick+2AC) <-- [/FONT][FONT=arial][B]this doesn't[/B][/FONT]
[FONT=courier new]define(bytes,83 B8 A4 00 00 00 00)
[ENABLE]
assert(address,bytes)
alloc(newmem,$1000)
label(code)
label(return)
newmem:
code:
push ebx
mov ebx,[eax+000000A8]
mov [eax+000000A4],ebx //#999
pop ebx
cmp dword ptr [eax+000000A4],00
jmp return
address:
jmp newmem
nop 2
return:
[DISABLE]
address:
db bytes
// cmp dword ptr [eax+000000A4],00
dealloc(newmem)[/FONT]
[FONT=arial]So how do I make script that I dont have to find the address again every time I play the game. Thank you[/FONT]
break and trace does not point to correct address in memory viewer
break and trace does not point to correct address in memory viewer
Try an [URL='https://fearlessrevolution.com/threads/6637/'][U]AOB scan[/U][/URL].
-
- Expert Cheater
- Posts: 312
- Joined: Sat Oct 06, 2018 3:19 pm
- Reputation: 137
break and trace does not point to correct address in memory viewer
This is Asphalt 9 game?
Who is online
Users browsing this forum: No registered users