View previous topic :: View next topic |
Author |
Message |
Gr1fON How do I cheat? Reputation: 0
Joined: 14 Feb 2024 Posts: 2
|
Posted: Wed Feb 14, 2024 7:52 am Post subject: Help with the original code |
|
|
Code: | newmem:
mov r15d,0
code:
mov [rdx+08],r15d
jmp game.exe+29DB321
jmp return |
29DB321 This figure is different for each person, how to make the script work correctly for all people
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Wed Feb 14, 2024 10:05 am Post subject: |
|
|
To jump to a location relative to the injection point you select the injection point in the disassembler window. Press Ctrl + Enter to display relative offsets then scroll down to the address, in this case: game.exe+29DB321, and look at the relative offset. Then you can adjust the script as necessary:
Code: |
Code:
newmem:
mov r15d,0
code:
mov [rdx+08],r15d
jmp injectionPointName+RelativeOffset //game.exe+29DB321
jmp return
|
But this isn't guaranteed to work across different versions as there may be other instructions which make the relative address further, or nearer, than what you have.
|
|
Back to top |
|
|
Gr1fON How do I cheat? Reputation: 0
Joined: 14 Feb 2024 Posts: 2
|
Posted: Thu Feb 15, 2024 3:35 am Post subject: |
|
|
Thanks a lot for helping
|
|
Back to top |
|
|
|