| View previous topic :: View next topic |
| Author |
Message |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Fri Oct 07, 2016 10:59 am Post subject: Mafia III somebody CE Question!? |
|
|
So I downloaded a CE of SnikyMofo, I was wondering what he did exactly in order to make this code for health:
| Code: | [ENABLE]
aobscanmodule(infiniteHealth,mafia3.exe,48 89 5C 24 18 48 89 7C 24 20 41 54 41 56 41 57 48 81)
registersymbol(infiniteHealth)
infiniteHealth:
db C3 90 90 90 90
[DISABLE]
infiniteHealth:
db 48 89 5C 24 18
unregistersymbol(infiniteHealth) |
Is there any TuT someone knows that might help me out, Since Mafia III uses HP for Player and Enemy I was wondering how I can make HP Work for Player only, do I need to cmp something ? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25814 Location: The netherlands
|
Posted: Fri Oct 07, 2016 11:05 am Post subject: |
|
|
it's a bit overcomplicated, as he replaces the whole instruction while this would work too:
| Code: |
[ENABLE]
aobscanmodule(infiniteHealth,mafia3.exe,48 89 5C 24 18 48 89 7C 24 20 41 54 41 56 41 57 48 81)
registersymbol(infiniteHealth)
infiniteHealth:
ret
[DISABLE]
infiniteHealth:
db 48
unregistersymbol(infiniteHealth)
|
what it does is make a function return instantly instead of dealing with the rest of the code. (probably some kind of damagePlayer function) _________________
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 |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Fri Oct 07, 2016 11:07 am Post subject: |
|
|
| Ehm, so let's say I did found HP, made a Script it works, But It works for the enemy what would I need to do in order for the script to work for the Player only? |
|
| Back to top |
|
 |
Dark Byte Site Admin
Reputation: 471
Joined: 09 May 2003 Posts: 25814 Location: The netherlands
|
Posted: Fri Oct 07, 2016 11:21 am Post subject: |
|
|
check the stack, perhaps code calling the decrease health function is called from a different function when the target is the player.
or the code for the player is a unique after all
or his cheat makes enemies invulnerable as sell
just ask sneakymofy _________________
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 |
|
 |
STN I post too much
Reputation: 43
Joined: 09 Nov 2005 Posts: 2676
|
Posted: Fri Oct 07, 2016 10:13 pm Post subject: |
|
|
| Dark Byte wrote: |
just ask sneakymofy |
He would be more than willing to help you out. I don't know why you didn't do that already _________________
|
|
| Back to top |
|
 |
|