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 


A little more complex searches

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

Joined: 19 Jun 2013
Posts: 4

PostPosted: Wed Jun 19, 2013 6:51 pm    Post subject: A little more complex searches Reply with quote

Hello everyone, I've been using cheat engine for a while now. I'm decent at asm, and a good C/C++ programmer. I'm goofing around a bit and am trying to see If I can perform a little more complex searches then just "look for this", "change", "look for new stuff".

In the memory there is a double somewhere, and same double 0x48 bytes away from the first one. I know the value of the double but I have trouble changing it.

How would you recommend tackling this search? If I just type in the value of the double it comes up with about 200 results. Last time I manually looked at all the results and found the only pair that was 0x48 bytes away form each other.

Can I import this in LUA and filter the pair out?
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Jun 19, 2013 7:08 pm    Post subject: Reply with quote

Use the "grouped" datatype, click "generate goupscan command", then fill the lines to describe your pattern. Given what you described above, you should end with something like "d:123.0 w:64 d:123.0" if your double is worth 123.0.
Back to top
View user's profile Send private message
Hexorg
How do I cheat?
Reputation: 0

Joined: 19 Jun 2013
Posts: 4

PostPosted: Wed Jun 19, 2013 7:24 pm    Post subject: Reply with quote

That's odd.. at 0x272332E0 I have a Double "100.00" and at 0x27233328 I have a Double "50.2", but "d:100 w:72 d:52.2 " finds nothing Sad
Back to top
View user's profile Send private message
Gniarf
Grandmaster Cheater Supreme
Reputation: 43

Joined: 12 Mar 2012
Posts: 1285

PostPosted: Wed Jun 19, 2013 8:15 pm    Post subject: Reply with quote

"Skip nr of bytes" is the number of bytes between the end of the previous entry and the beginning of the next.
You should find your structure with "d:100 w:64 d:52.2"


Last edited by Gniarf on Wed Jun 19, 2013 8:18 pm; edited 1 time in total
Back to top
View user's profile Send private message
Hexorg
How do I cheat?
Reputation: 0

Joined: 19 Jun 2013
Posts: 4

PostPosted: Wed Jun 19, 2013 8:17 pm    Post subject: Reply with quote

oh!! ok thanks!!!
Back to top
View user's profile Send private message
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