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 


Analyze game structures

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Paprikaskrumpli
Cheater
Reputation: 0

Joined: 19 Dec 2020
Posts: 29

PostPosted: Wed Jan 20, 2021 2:57 am    Post subject: Analyze game structures Reply with quote

Hi!

Is there a built in way in CE to analyze and read trough structures to find a given value / address from a starting point in the structure.

What I mean by that:

structure 1:
{
myPlayerHealth: 69
myPlayerSpeed: 111
myPlayerSomething: xyz
pointerToMyPlayerNameStuff: &structure2 (address of structure 2) + (offset of name)
pointerToMyPlayerCoordinates: &structure3 (address of structure 3) + (offset of coords)
myPlayerShield: 11
}

structure2:
{
myPlayerName: "asd"
myPlayerClan: "sad"
myPlayerSkin: "somethin"
}

structure3:
{
myPlayerPos: x y z
myPlayerEye: ...
myPlayerArea: ...
}

So, starting from for example my health, I'd like to find my name, etc...

[What I'm looking for is the path of pointers and offsets: &health + (offset of address pointing to the structure containing my player name) + additional pointers and offsets if the path is longer.]

Its cool if it could work backwards too: Starting from name, find health

Is there a way to do that in ce, or should I start writing something like this?
(I don't speak LUA sadly...)
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Wed Jan 20, 2021 3:38 am    Post subject: Reply with quote

if you know the address use structure spider:
give in the base region, tick "pointer must be in range" and enter the specific address two times.

Then scan. It'll return all the paths from the base address to that address

(the pointerscan might work as well, if you tell it to not only scan static base addresses and tell it the base address has to be your structure base)

_________________
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
Paprikaskrumpli
Cheater
Reputation: 0

Joined: 19 Dec 2020
Posts: 29

PostPosted: Fri Jan 22, 2021 3:06 am    Post subject: Reply with quote

Dark Byte wrote:
if you know the address use structure spider:
give in the base region, tick "pointer must be in range" and enter the specific address two times.

Then scan. It'll return all the paths from the base address to that address

(the pointerscan might work as well, if you tell it to not only scan static base addresses and tell it the base address has to be your structure base)


Amazing, It managed to find some paths. Can it work backwards too somehow?
Search from name to health for example?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 471

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

PostPosted: Fri Jan 22, 2021 3:15 am    Post subject: Reply with quote

if you know the address of both health and the name, then use the pointerscanner. (that one scans from the final address to the base

tell it the address is (name), the base address must be in specific range and enter the base address of the structure health is in (You do need to find the base of the structure , or just enter the range (health address - 2000) and (health address )

_________________
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
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