 |
Cheat Engine The Official Site of Cheat Engine
|
| View previous topic :: View next topic |
| Author |
Message |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Fri Oct 07, 2016 12:36 pm Post subject: OHK / One Hit Kill Question |
|
|
So I finally made Inf. HP Work, this is my code " Made for Dishonored "
| Code: | [ENABLE]
aobscanmodule(aobHealth,Dishonored.exe,29 93 44 03 00 00) // should be unique
alloc(newmem,$1000)
label(cheat)
label(code)
label(return)
newmem:
cheat:
cmp [ebx+00000428],1
jne code
mov [ebx+00000344],(float)100
jmp return
code:
sub [ebx+00000344],edx
jmp return
aobHealth:
jmp newmem
nop
return:
registersymbol(aobHealth)
[DISABLE]
aobHealth:
db 29 93 44 03 00 00
unregistersymbol(aobHealth)
dealloc(newmem) |
If I would want to have OHK, I would have to do that:
| Code: | cmp [ebx+00000428],1
jne ohk
mov [ebx+00000344],(float)100
jmp return
ohk:
mov [ebx+00000428],0
jen code
mov [ebx+00000428],0
jmp return |
Am I right?
Forgot to mention that in the dissect data, 1 - Player 2 - Enemy.
428 - Where the 1 - Player, 2 - Enemy stores at.
344 - Where the HP Value.
|
|
| Back to top |
|
 |
Zanzer I post too much
Reputation: 126
Joined: 09 Jun 2013 Posts: 3278
|
Posted: Fri Oct 07, 2016 3:35 pm Post subject: |
|
|
| Code: | [ENABLE]
aobscanmodule(aobHealth,Dishonored.exe,29 93 44 03 00 00) // should be unique
alloc(newmem,$1000)
label(cheat)
label(code)
label(return)
newmem:
cheat:
cmp [ebx+00000428],1
jne code
mov [ebx+00000344],(float)100
jmp return
code:
//sub [ebx+00000344],edx
mov [ebx+00000344],0 // one-hit kill
jmp return
aobHealth:
jmp newmem
nop
return:
registersymbol(aobHealth)
[DISABLE]
aobHealth:
db 29 93 44 03 00 00
unregistersymbol(aobHealth)
dealloc(newmem) |
|
|
| 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
|
|