View previous topic :: View next topic |
Author |
Message |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Tue Oct 11, 2016 4:05 am Post subject: Mafia III Script for Health |
|
|
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 |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25796 Location: The netherlands
|
Posted: Tue Oct 11, 2016 5:03 am Post subject: |
|
|
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 |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Tue Oct 11, 2016 5:05 am Post subject: |
|
|
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 |
|
 |
mgr.inz.Player I post too much
Reputation: 222
Joined: 07 Nov 2008 Posts: 4438 Location: W kraju nad Wisla. UTC+01:00
|
Posted: Tue Oct 11, 2016 5:13 am Post subject: Re: Mafia III Script for Health |
|
|
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 |
|
 |
KalasDev Master Cheater
Reputation: 1
Joined: 29 May 2016 Posts: 311
|
Posted: Tue Oct 11, 2016 5:16 am Post subject: |
|
|
I wasn't doing it by logic I just looked at a TUT but now I understand, Thank you
|
|
Back to top |
|
 |
|