View previous topic :: View next topic |
Author |
Message |
Mohseeen How do I cheat? Reputation: 0
Joined: 28 Aug 2021 Posts: 0
|
Posted: Sun Aug 29, 2021 3:33 am Post subject: help |
|
|
Hello guys
I'm playing medal of honor - underground using ePSXe. I've hacked the health in game. The max health is 128.
The problem is, the hack only Lasts for one level. When i move to the next level, the health cheat vanishes and everything goes back to normal. I need a script to keep the infinite healtj cheat working on all levels. Can anybody help me out?
===========================
[ENABLE]
//code from here to '[DISABLE]' will be used to enable the cheat
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
newmem: //this is allocated memory, you have read,write,execute access
//place your code here
originalcode:
mov [eax+ecx],ebx
and edx,001FFFFC
exit:
jmp returnhere
0B0E0474:
jmp newmem
nop 4
returnhere:
[DISABLE]
//code from here till the end of the code will be used to disable the cheat
dealloc(newmem)
0B0E0474:
mov [eax+ecx],ebx
and edx,001FFFFC
//Alt: db 89 1C 08 81 E2 FC FF 1F 00[img][/img]
|
|
Back to top |
|
|
LeFiXER Grandmaster Cheater Supreme Reputation: 20
Joined: 02 Sep 2011 Posts: 1055 Location: 0x90
|
Posted: Sun Aug 29, 2021 4:35 am Post subject: |
|
|
This isn't Lua, use AOB injection instead and please wrap code in code tags.
|
|
Back to top |
|
|
atom0s Moderator Reputation: 198
Joined: 25 Jan 2006 Posts: 8517 Location: 127.0.0.1
|
Posted: Sun Aug 29, 2021 3:12 pm Post subject: |
|
|
Not Lua related, moved.
_________________
- Retired. |
|
Back to top |
|
|
|