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 


Find two values in one table

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

Joined: 07 Jan 2017
Posts: 4

PostPosted: Wed Jan 11, 2017 2:48 am    Post subject: Find two values in one table Reply with quote

Hi, i have a problem with search.

Structure in memory looking like this:
25A152F0 - model (4 byte)
25A152F4 - brand (4 byte
37F04554 - model (4 byte)
37F04558 - brand (4 byte)
38070010 - model (4 byte)
38070014 - brand (4 byte)

I need to find all models by brand. Something like
if $temp_brand_array[address][value] == 'brand' {array_models() = $temp_brand_array[address-3][value]}
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Wed Jan 11, 2017 8:32 am    Post subject: Reply with quote

  1. Search for the brand.
  2. Add the address 4 bytes before it to the table.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
SSRodin
How do I cheat?
Reputation: 0

Joined: 07 Jan 2017
Posts: 4

PostPosted: Wed Jan 11, 2017 12:00 pm    Post subject: Reply with quote

it's hard bcs i have more then 10.000 values, how i can do this automatically?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4697

PostPosted: Wed Jan 11, 2017 12:35 pm    Post subject: Reply with quote

  1. Search for the brand
  2. Add everything to the address list
  3. Highlight all added memory records (shift+click or ctrl+A)
  4. Right click and select "Recalculate new addresses"
  5. Change by offset -4

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
SSRodin
How do I cheat?
Reputation: 0

Joined: 07 Jan 2017
Posts: 4

PostPosted: Wed Jan 11, 2017 3:40 pm    Post subject: Reply with quote

ty, very much!
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