Posted: Tue Sep 17, 2024 6:56 pm Post subject: DYNASTY WARRIORS 7 XLDE - One Hit Kill
Hi, I'm still new to using Cheat Engine and have problems creating the One Hit Kill script in the DYNASTY WARRIORS 7 XLDE game because no one has created that cheat before.
The problem I face is that when I turn on the script and hit the enemy, the enemy's blood only drops to value 1 and when I hit again the enemy's blood will remain at value 1 until I turn off the script and hit the enemy.
Can anyone help me find out where the error in the script I made is?
The script is below:
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048,"SM6EN.exe"+45E16)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
cmp [eax+184],0
jne originalcode
movss xmm0,[eax+00]
movss [eax+04],xmm0
jmp exit
originalcode:
subss xmm0,[eax+00]
exit:
jmp returnhere
"SM6EN.exe"+45E16:
jmp newmem
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
"SM6EN.exe"+45E16:
db F3 0F 11 40 04
//movss [eax+04],xmm0
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