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 


Compare structure instances?

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

Joined: 02 Aug 2016
Posts: 76

PostPosted: Sat Oct 28, 2017 4:55 pm    Post subject: Compare structure instances? Reply with quote

Let's say I have a way to find all the structures for all vehicles in a game.
And I want to find out what its values represent (given there are many results)
How do I solve the problem of finding out what values in the struct are bigger/smaller than in a different instance of the struct? Going back to my example, I know that car x goes faster than y. And I want to find all i for x[i] > y[i]

_________________
Er, hi
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 120

Joined: 09 Jun 2013
Posts: 3260

PostPosted: Sat Oct 28, 2017 7:30 pm    Post subject: Reply with quote

Tools > Dissect data/structure (Ctrl+Alt+D)
Back to top
View user's profile Send private message
Prehistoricman
Advanced Cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 76

PostPosted: Sat Oct 28, 2017 9:03 pm    Post subject: Reply with quote

Yes, I'm aware of that. I'm also aware you can add extra columns with extra addressed, and the lines light up different colours when they have different values.

What I'd like to do is more like a scan. A comparison! Looking through them manually isn't an option in my case. The game I'm working on at the moment has structs over 6KB and I can't look through all that manually.

_________________
Er, hi
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 120

Joined: 09 Jun 2013
Posts: 3260

PostPosted: Sat Oct 28, 2017 11:10 pm    Post subject: Reply with quote

Do a search? Ctrl+F
Back to top
View user's profile Send private message
Prehistoricman
Advanced Cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 76

PostPosted: Sun Oct 29, 2017 10:16 am    Post subject: Reply with quote

Okay... now what do I do?


Screenshot_442.png
 Description:
 Filesize:  4.66 KB
 Viewed:  795 Time(s)

Screenshot_442.png



_________________
Er, hi
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 120

Joined: 09 Jun 2013
Posts: 3260

PostPosted: Sun Oct 29, 2017 11:45 am    Post subject: Reply with quote

Type the value for which you wanted to "scan" and then click "Find".
Back to top
View user's profile Send private message
Prehistoricman
Advanced Cheater
Reputation: 0

Joined: 02 Aug 2016
Posts: 76

PostPosted: Sun Oct 29, 2017 8:49 pm    Post subject: Reply with quote

Right but I don't know what I'm searching for. Also what if the value I'm searching for is 1 pointer level deep?
Also this isn't comparing structures.

_________________
Er, hi
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