View previous topic :: View next topic |
Author |
Message |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
|
Back to top |
|
 |
OldCheatEngineUser Whateven rank
Reputation: 20
Joined: 01 Feb 2016 Posts: 1586
|
Posted: Wed May 29, 2019 2:32 am Post subject: |
|
|
add my_address to address list, and view as hex.
Code: | // enable section
registersymbol(my_address)
alloc(my_address,08)
newmem:
mov [my_address],rax
or [my_address],rdi
// disable section
dealloc(my_address)
unregistersymbol(my_address) |
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
|
|
Back to top |
|
 |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
Posted: Wed May 29, 2019 6:19 am Post subject: |
|
|
[quote="OldCheatEngineUser"]add my_address to address list, and view as hex.
[code]// enable section
registersymbol(my_address)
alloc(my_address,08)
newmem:
mov [my_address],rax
or [my_address],rdi
// disable section
dealloc(my_address)
unregistersymbol(my_address)[/code][/quote]
thank you for your response OldCheatEngineUser
but you code only give me the address of RAX
see the image below for more info
Description: |
|
Filesize: |
66.77 KB |
Viewed: |
2532 Time(s) |

|
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed May 29, 2019 6:47 am Post subject: |
|
|
Code: |
[ENABLE]
aobscan(test,44 0F 38 F1 14 07 48 C7 46 78 00 00 01 82 48 8B 9E 18 01 00 00 48 81 C3 30) // should be unique
alloc(newmem,$1000,A0931B42)
label(code)
label(return)
label(myPointer)
registersymbol(myPointer)
newmem:
push rcx
lea rcx,[rdi+rax] // load effective address
mov [myPointer],rcx
pop rcx
code:
crc32 r10d,[rdi+rax]
jmp return
myPointer:
dq 0
test:
jmp newmem
nop
return:
registersymbol(test)
[DISABLE]
test:
db 44 0F 38 F1 14 07
unregistersymbol(test)
dealloc(newmem) |
_________________
|
|
Back to top |
|
 |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
Posted: Wed May 29, 2019 7:04 am Post subject: |
|
|
[quote="TheyCallMeTim13"][/quote]
thank you Tim
still only RAX address appear B0649AB0
i want to be like this 2B0649AB0
(200000000) is RDI address
|
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed May 29, 2019 7:18 am Post subject: |
|
|
You'll need to debug the code if that's not working. LEA in this case will add the two registries and store that in RCX, so if that doesn't work RDI or RAX may not be what you think it is. That or you're looking at it as a 32 bit address, which you're doing in the picture you posted. Set the value type to 8 bytes to see all 64 bits.
After you enable that, run this in the Lua Engine window:
Code: | print(string.format("%X", getAddress("[myPointer]"))) |
_________________
|
|
Back to top |
|
 |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
Posted: Wed May 29, 2019 8:34 am Post subject: |
|
|
[quote="TheyCallMeTim13"]You'll need to debug the code if that's not working. LEA in this case will add the two registries and store that in RCX, so if that doesn't work RDI or RAX may not be what you think it is. That or you're looking at it as a 32 bit address, which you're doing in the picture you posted. Set the value type to 8 bytes to see all 64 bits.
After you enable that, run this in the Lua Engine window:
[code]print(string.format("%X", getAddress("[myPointer]")))[/code][/quote]
wow it work thank you so much
Setting the value type to 8 give both address
also Execute the LUA code
but i need you to see image below one last time
Description: |
|
Filesize: |
56.81 KB |
Viewed: |
2505 Time(s) |

|
|
|
Back to top |
|
 |
OldCheatEngineUser Whateven rank
Reputation: 20
Joined: 01 Feb 2016 Posts: 1586
|
Posted: Wed May 29, 2019 10:36 am Post subject: |
|
|
SS 4K wrote: | OldCheatEngineUser wrote: | add my_address to address list, and view as hex.
Code: | // enable section
registersymbol(my_address)
alloc(my_address,08)
newmem:
mov [my_address],rax
or [my_address],rdi
// disable section
dealloc(my_address)
unregistersymbol(my_address) |
|
thank you for your response OldCheatEngineUser
but you code only give me the address of RAX
see the image below for more info |
my code is working, it is your fault for not displaying the proper address size. (you should choose 8-byte instead of 4-byte)
also you should not look at address column, since the address column shows the address of my_address aymbol. (look at value column .. display it as hex and choose proper value size type)
_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote: | i am a sweetheart. |
Last edited by OldCheatEngineUser on Wed May 29, 2019 10:40 am; edited 1 time in total |
|
Back to top |
|
 |
TheyCallMeTim13 Wiki Contributor
Reputation: 51
Joined: 24 Feb 2017 Posts: 976 Location: Pluto
|
Posted: Wed May 29, 2019 10:39 am Post subject: |
|
|
Either make it a pointer with an offset of 0, or use the address like the lua code an put it inside brackets [ ].
_________________
|
|
Back to top |
|
 |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
Posted: Wed May 29, 2019 11:22 am Post subject: |
|
|
[quote="OldCheatEngineUser"][/quote]
yeah thats my fault bro , i did what you sad but i didn't realize that i need to choose 8-byte instead of 4-byte
i just test you code work Perfect
thank you
|
|
Back to top |
|
 |
SS 4K Newbie cheater
Reputation: 0
Joined: 21 Feb 2019 Posts: 21
|
Posted: Thu May 30, 2019 11:07 am Post subject: |
|
|
[quote="TheyCallMeTim13"]Either make it a pointer with an offset of 0, or use the address like the lua code an put it inside brackets [ ].[/quote]
thanks Tim
everything working now
|
|
Back to top |
|
 |
|