Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Mafia III somebody CE Question!?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Fri Oct 07, 2016 10:59 am    Post subject: Mafia III somebody CE Question!? Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25814
Location: The netherlands

PostPosted: Fri Oct 07, 2016 11:05 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Fri Oct 07, 2016 11:07 am    Post subject: Reply with quote

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
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

Joined: 09 May 2003
Posts: 25814
Location: The netherlands

PostPosted: Fri Oct 07, 2016 11:21 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
STN
I post too much
Reputation: 43

Joined: 09 Nov 2005
Posts: 2676

PostPosted: Fri Oct 07, 2016 10:13 pm    Post subject: Reply with quote

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

_________________
Cheat Requests/Tables- Fearless Cheat Engine
https://fearlessrevolution.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites