View previous topic :: View next topic |
Author |
Message |
Amami De Kaito Expert Cheater
Reputation: 5
Joined: 06 Feb 2013 Posts: 110 Location: 3/44
|
Posted: Sat Jul 06, 2013 4:07 am Post subject: [HELP] Finding God mode in Magicka |
|
|
Game V. 1.3.3.6, I'm trying find god mode
Code: | [ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(Health)
registersymbol(Health)
aobscan(aobHealth,D9 80 04 01 00 00 D9 80 ?? ?? ?? ?? ?? ?? ?? ?? 7A 14)
newmem:
mov dword ptr [eax+104],(float)10000.0
jmp originalcode
originalcode:
fld dword ptr [eax+00000104]
exit:
jmp returnhere
aobHealth:
Health:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
unregistersymbol(Health)
Health:
db D9 80 04 01 00 00 |
But enable script I'm never die and enemy is never die too.
Thanks.
Description: |
|
Filesize: |
673.85 KB |
Viewed: |
9261 Time(s) |

|
|
|
Back to top |
|
 |
Dark Byte Site Admin
Reputation: 470
Joined: 09 May 2003 Posts: 25788 Location: The netherlands
|
Posted: Sat Jul 06, 2013 4:54 am Post subject: |
|
|
You need to add a check if it's the enemy or player
In the screenshot I see 4 spots that may be viable for a check
148 for example is 00000000 if enemy, and filled in if player
So, in that case:
Code: |
[ENABLE]
alloc(newmem,2048)
label(returnhere)
label(originalcode)
label(exit)
label(Health)
registersymbol(Health)
aobscan(aobHealth,D9 80 04 01 00 00 D9 80 ?? ?? ?? ?? ?? ?? ?? ?? 7A 14)
newmem:
cmp [eax+148],0 //is it 0(enemy)
je originalcode //if yes, do not set health to 10000
//still here, so set health to 10000
mov dword ptr [eax+104],(float)10000.0
originalcode:
fld dword ptr [eax+00000104]
exit:
jmp returnhere
aobHealth:
Health:
jmp newmem
nop
returnhere:
[DISABLE]
dealloc(newmem)
unregistersymbol(Health)
Health:
db D9 80 04 01 00 00
|
_________________
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 |
|
 |
Geri Moderator
Reputation: 111
Joined: 05 Feb 2010 Posts: 5636
|
Posted: Sun Jul 07, 2013 12:30 am Post subject: |
|
|
Magicka has a few non-shared codes, accessing to the player structure base address only. Just use a non-shared code.
_________________
|
|
Back to top |
|
 |
|