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 


How to hack the "state" of the game?

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

Joined: 12 Mar 2012
Posts: 3

PostPosted: Mon Mar 12, 2012 11:05 pm    Post subject: How to hack the "state" of the game? Reply with quote

Hi everyone, I have a doubt about hacking the state of the game. The state may be difficult to find, because of reasons below:
1. It isn't just a binary state.
2. You don't know whether it is increasing or not.
3. Nor do the data type.

For example, the hero of the game may have 3 state: sit, walk and run. Of course you can switch your state any time you are in the battle field. But system prohibits running in the downtown. The problem is how to hack the state in order to break the system's restriction.

Please give me some hints. Thanks a lot.
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Tue Mar 13, 2012 3:34 am    Post subject: Reply with quote

States may be expressed as Enumeration data type.
Or it may be 3 different functions.

Scan When you are sit then rescan for run. This way you will come to some address. Try to reverse it.

Btw, What is the name of the game?

_________________
Back to top
View user's profile Send private message Send e-mail
comon1234
How do I cheat?
Reputation: 0

Joined: 12 Mar 2012
Posts: 3

PostPosted: Tue Mar 13, 2012 4:16 am    Post subject: Reply with quote

Freiza wrote:
States may be expressed as Enumeration data type.
Or it may be 3 different functions.

Scan When you are sit then rescan for run. This way you will come to some address. Try to reverse it.

Btw, What is the name of the game?



The "game" I talk about just a simplified model that can let us focus on the general method to hack it. Maybe it doesn't exist.

Generally, steps of your solution are:
1. Make the hero sit in the game, scan(rescan) "1" in byte form.
2. Make the hero run in the game, rescan "2" in byte form.
3. If the CE comes out a few address, mark them down and go to the NO.4 step. If not, go to NO.1 step(Should I change the way I scan?).
4. Make the hero's "state" change, sit->run, walk->run and so on. In the meanwhile, observe the values of memory in the addresses we marked down. If it changes as the "state" do, so here we find it. If not, go to the NO.1 step, and never mark down the addresses proved "fake".

Are they correct? Thanks a lot.
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Tue Mar 13, 2012 7:15 am    Post subject: Reply with quote

Search for unknown values instead of specific literals like(1,2 etc).
When you are having less addresses. Do memory on access. And see you can somehow correlate the codes with your situation. If yes then you are done. Else pick another address and try analysing it.

_________________
Back to top
View user's profile Send private message Send e-mail
comon1234
How do I cheat?
Reputation: 0

Joined: 12 Mar 2012
Posts: 3

PostPosted: Tue Mar 13, 2012 9:18 am    Post subject: Reply with quote

Freiza wrote:
Search for unknown values instead of specific literals like(1,2 etc).
When you are having less addresses. Do memory on access. And see you can somehow correlate the codes with your situation. If yes then you are done. Else pick another address and try analysing it.


That sounds right. Maybe the "states" are stored in another form such as bitset. Thanks.
Back to top
View user's profile Send private message
Freiza
Grandmaster Cheater
Reputation: 22

Joined: 28 Jun 2010
Posts: 662

PostPosted: Tue Mar 13, 2012 10:18 am    Post subject: Reply with quote

comon1234 wrote:
Freiza wrote:
Search for unknown values instead of specific literals like(1,2 etc).
When you are having less addresses. Do memory on access. And see you can somehow correlate the codes with your situation. If yes then you are done. Else pick another address and try analysing it.


That sounds right. Maybe the "states" are stored in another form such as bitset. Thanks.


Usually they are stored as pointers. So you can also try 4byte for pointers.

_________________
Back to top
View user's profile Send private message Send e-mail
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