View previous topic :: View next topic |
Author |
Message |
Roman012 !BEWARE! Deletes post on answer
Reputation: 0
Joined: 25 Dec 2022 Posts: 26
|
Posted: Sat Apr 27, 2024 11:32 am Post subject: How can this be done? |
|
|
If I turn it off the value will remain
How can I make it so that when I turn off it is 1
[ENABLE]
//8B 87 34 03 00 00 39 87)
aobscanmodule(Jumping,xxx.exe,8bxxxxxxxxxx39xxxxxxxxxx0f9cxx48xxxxxxxx48)
alloc(newmem,$1000,Jumping)
label(code)
label(return)
newmem:
mov [rdi+00000334],#999999
code:
mov eax,[rdi+00000334]
jmp return
Jumping:
jmp newmem
nop
return:
registersymbol(Jumping)
[DISABLE]
Jumping:
db 8B 87 34 03 00 00
unregistersymbol(Jumping)
dealloc(newmem)
Description: |
|
Filesize: |
11.59 KB |
Viewed: |
946 Time(s) |
![000750.jpg](files/000750_701.jpg)
|
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Dark Byte Site Admin
Reputation: 460
Joined: 09 May 2003 Posts: 25363 Location: The netherlands
|
Posted: Sun Apr 28, 2024 12:22 am Post subject: |
|
|
Roman012 wrote: | If I turn it off the value will remain
How can I make it so that when I turn off it is 1
[ENABLE]
//8B 87 34 03 00 00 39 87)
aobscanmodule(Jumping,xxx.exe,8bxxxxxxxxxx39xxxxxxxxxx0f9cxx48xxxxxxxx48)
alloc(newmem,$1000,Jumping)
label(code)
label(return)
newmem:
mov [rdi+00000334],#999999
code:
mov eax,[rdi+00000334]
jmp return
Jumping:
jmp newmem
nop
return:
registersymbol(Jumping)
[DISABLE]
Jumping:
db 8B 87 34 03 00 00
unregistersymbol(Jumping)
dealloc(newmem) |
Code: |
alloc(lastbase,8)
...
mov [lastbase],rdi
...
[disable]
...
[lastbase]+334:
dd 1
...
dealloc(lastbase)
|
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Roman012 !BEWARE! Deletes post on answer
Reputation: 0
Joined: 25 Dec 2022 Posts: 26
|
Posted: Sun Apr 28, 2024 1:47 am Post subject: |
|
|
Code: |
alloc(lastbase,8)
...
mov [lastbase],rdi
...
[disable]
...
[lastbase]+334:
dd 1
...
dealloc(lastbase)
|
I'm doing something wrong, it gives me an error
Description: |
|
Filesize: |
32.05 KB |
Viewed: |
859 Time(s) |
![144042.jpg](files/144042_155.jpg)
|
|
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
Dark Byte Site Admin
Reputation: 460
Joined: 09 May 2003 Posts: 25363 Location: The netherlands
|
Posted: Sun Apr 28, 2024 8:04 am Post subject: |
|
|
you're on 7.5 ?
anyhow, add a registerSymbol(lastbase) to the enable part
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.
Like my help? Join me on Patreon so i can keep helping |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
ParkourPenguin I post too much
Reputation: 143
Joined: 06 Jul 2014 Posts: 4382
|
Posted: Sun Apr 28, 2024 11:45 am Post subject: |
|
|
This works:
Code: | [ENABLE]
alloc(foo,8)
[DISABLE]
[foo]:
dealloc(foo) |
This doesn't work (syntax check):
Code: | [ENABLE]
alloc(foo,8)
[DISABLE]
[foo]+8:
dealloc(foo) | "Error in line 5 ([foo]+8:) :This address specifier is not valid"
CE 7.5
Same issue as here maybe:
https://forum.cheatengine.org/viewtopic.php?p=5789144#5789144
_________________
I don't know where I'm going, but I'll figure it out when I get there. |
|
Back to top |
|
![](templates/subSilver/images/spacer.gif) |
|