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 


[HELP] Finding God mode in Magicka

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Amami De Kaito
Expert Cheater
Reputation: 5

Joined: 06 Feb 2013
Posts: 110
Location: 3/44

PostPosted: Sat Jul 06, 2013 4:07 am    Post subject: [HELP] Finding God mode in Magicka Reply with quote

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.



Data Structure.jpg
 Description:
 Filesize:  673.85 KB
 Viewed:  9262 Time(s)

Data Structure.jpg


Back to top
View user's profile Send private message Send e-mail
Dark Byte
Site Admin
Reputation: 470

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

PostPosted: Sat Jul 06, 2013 4:54 am    Post subject: Reply with quote

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
View user's profile Send private message MSN Messenger
Geri
Moderator
Reputation: 111

Joined: 05 Feb 2010
Posts: 5636

PostPosted: Sun Jul 07, 2013 12:30 am    Post subject: Reply with quote

Magicka has a few non-shared codes, accessing to the player structure base address only. Just use a non-shared code.
_________________
My trainers can be found here: http://www.szemelyesintegracio.hu/cheats

If you are interested in any of my crappy articles/tutorials about CE and game hacking, you can find them here:
http://www.szemelyesintegracio.hu/cheats/41-game-hacking-articles

Don't request cheats or updates.
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