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 


Trouble finding address of variable

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

Joined: 17 Apr 2015
Posts: 1

PostPosted: Fri Apr 17, 2015 1:53 pm    Post subject: Trouble finding address of variable Reply with quote

Hey,

i started to play aroung with Terraria and found out that cheat engine maps every name and type correctly to each offset if i define a new structure with the address of the player.

Here's an example of what i mean:

1. Find out player hp value in cheat engine
2. Find out where the player's hp change
3. This will give you some address like eax+15 (just an example)
4. The address stored in eax is the address of the Player instance and +15 is the offset for the hp variable

Interestingly if i were to define a new structure (dissect data structures) with the Players address cheat engine magically gets every variable in the class right (types and even names)

So there is a way to get the (assembly name not sure) from an address



My question now is how can i get the address of an object by its assembly name in c++?


Edit: I think i mean symbols instead of assembly names


(This may be a bit confusing cause im bad at expressing myself Razz)
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