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 me on how to proceed with this

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
Icaro10100
How do I cheat?
Reputation: 0

Joined: 21 Nov 2016
Posts: 3

PostPosted: Tue Nov 22, 2016 4:07 pm    Post subject: Help me on how to proceed with this Reply with quote

I've hacked some stuff in this game by editing the assembly code (jump in air, movespeed, cooldown, damage etc), but I can't hack my character's HP/MP because the function that sets it also sets a bunch of other stuff, if I change the function it glitches the whole game.

Also had no success in getting the pointers to the HP/MP addresses, it seems they change somehow when I attach the debugger.



cehelp.png
 Description:
 Filesize:  42.8 KB
 Viewed:  3451 Time(s)

cehelp.png


Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Tue Nov 22, 2016 4:28 pm    Post subject: Re: Help me on how to proceed with this Reply with quote

You need to do ''Dissect data structure'' and separate your health from everything else.
Follow this tutorial, and if have some questions let us know.
https://youtu.be/H6eH6eSAL2w?t=12m52s
Back to top
View user's profile Send private message
Icaro10100
How do I cheat?
Reputation: 0

Joined: 21 Nov 2016
Posts: 3

PostPosted: Tue Nov 22, 2016 5:53 pm    Post subject: Reply with quote

Thanks for the help, but I already know what my character's hp/mp is (in print), I can hack it by freezing the value or changing whatever. The problem is that I have to do this procedure of opening memory viewer, going to function and getting the new addresses every time I launch the game or even enter another dungeon.

I want to automatize, and as I can't edit the assembly (will glitch the game), I need to find the permanent addresses, but I'm having trouble with it.
Back to top
View user's profile Send private message
Betcha
Expert Cheater
Reputation: 4

Joined: 13 Aug 2015
Posts: 232
Location: Somewhere In Space

PostPosted: Wed Nov 23, 2016 2:36 am    Post subject: Reply with quote

Array of byte is changing each time you open game / new dungeon?
If so, then replaces the changing bytes with ?? .
Your array of byte should look something like this:
Code:

[ENABLE]

aobscan(INJECT,D9 59 04 A1 ?? ?? ?? ??) // add more bytes to make it unique

[DISABLE]

INJECT:
  db D9 59 04

Or just do injection one line up.
Back to top
View user's profile Send private message
Icaro10100
How do I cheat?
Reputation: 0

Joined: 21 Nov 2016
Posts: 3

PostPosted: Wed Nov 23, 2016 3:57 am    Post subject: Reply with quote

Solved it, the answer was in the "dissect data structure" like you said first. Each address has a unique identifier at pointer 00, all I had to do was make two conditional jumps based on those identifiers, one for hp and the other for mp and set their values accordingly.

Thanks for the help!

Code:
fstp dword ptr [ecx+04]
mov eax,[main.emptyExp+31E0]
cmp [ecx], D2
je hp
cmp [ecx], 9AC
je mp
jmp returnhere

hp:
mov [ecx+04], (float)1.0
jmp returnhere

mp:
mov [ecx+04], (float)4.0
jmp returnhere
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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