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 Script for Health

 
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: Tue Oct 11, 2016 4:05 am    Post subject: Mafia III Script for Health Reply with quote

Code:
[ENABLE]
aobscanmodule(aobHealth,mafia3.exe,F3 0F 11 46 10 0F) // should be unique
registersymbol(aobHealth)

aobHealth:
  db 90 90 90 90 90

[DISABLE]

aobHealth:
  db F3 0F 11 46 10

unregistersymbol(aobHealth)


Can I do this instead?

Code:
[ENABLE]
aobscanmodule(aobHealth,mafia3.exe,F3 0F 11 46 10 0F) // should be unique
registersymbol(aobHealth)

aobHealth+2:
  db 90 90

[DISABLE]

aobHealth+2:
  db F3 0F

unregistersymbol(aobHealth)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Tue Oct 11, 2016 5:03 am    Post subject: Reply with quote

no, movss [rsi+10],xmm0 is 5 bytes long, if you change it to 90 90 11 46 10 it will become:
Code:

adc [rsi+10],eax
0f ....

_________________
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: Tue Oct 11, 2016 5:05 am    Post subject: Reply with quote

I've done that:

Code:
[ENABLE]
aobscanmodule(aobHealth,mafia3.exe,F3 0F 11 46 10 0F) // should be unique
registersymbol(aobHealth)

aobHealth:
  db 90 90 90 90 90

[DISABLE]

aobHealth:
  db F3 0F 11 46 10

unregistersymbol(aobHealth)


Works fine
Back to top
View user's profile Send private message
mgr.inz.Player
I post too much
Reputation: 222

Joined: 07 Nov 2008
Posts: 4438
Location: W kraju nad Wisla. UTC+01:00

PostPosted: Tue Oct 11, 2016 5:13 am    Post subject: Re: Mafia III Script for Health Reply with quote

KalasWD wrote:
Can I do this instead?

Code:
[ENABLE]
aobscanmodule(aobHealth,mafia3.exe,F3 0F 11 46 10 0F) // should be unique
registersymbol(aobHealth)

aobHealth+2:
  db 90 90

[DISABLE]

aobHealth+2:
  db F3 0F

unregistersymbol(aobHealth)



Nope. But you can do this:
Code:
[ENABLE]
aobscanmodule(aobHealth,mafia3.exe,F3 0F 11 46 10 0F) // should be unique
registersymbol(aobHealth)

aobHealth:
  db EB 03

[DISABLE]

aobHealth:
  db F3 0F

unregistersymbol(aobHealth)




Why did you use "aobHealth+2" ?

_________________
Back to top
View user's profile Send private message MSN Messenger
KalasDev
Master Cheater
Reputation: 1

Joined: 29 May 2016
Posts: 311

PostPosted: Tue Oct 11, 2016 5:16 am    Post subject: Reply with quote

I wasn't doing it by logic I just looked at a TUT but now I understand, Thank you Smile
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