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 


How to add a filter to search for addresses from instruction

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
24quant42
Newbie cheater
Reputation: 0

Joined: 19 Apr 2023
Posts: 21

PostPosted: Sat Oct 28, 2023 4:39 am    Post subject: How to add a filter to search for addresses from instruction Reply with quote

1) I found the value I needed.
2) I check using “Find out access adress” and receive instructions for my value.
3) After I change the level, the value changes.
4) Using the previous instructions and clicking "Find out" I find approximately 10,000 addresses.
5) The game naturally freezes and crashes after a few seconds.

Is it possible in CE, after clicking on “Find out” according to the instructions, to add some kind of filter so that I find only addresses with values from “90-100”, I think this method would help avoid freezes, speed up the search process and reduce constant use of breakpoints.

How can I do that?

Forgot to add, I'm using DBVM
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 137

Joined: 06 Jul 2014
Posts: 4250

PostPosted: Sat Oct 28, 2023 10:12 am    Post subject: Reply with quote

It won't help. The breakpoint will still trigger regardless of whether or not the condition is true. After the breakpoint triggers, CE checks the condition and automatically resumes without bothering the user if it's false.
I haven't benchmarked anything, but I'm fairly certain that triggering the breakpoint is the more expensive operation for the CPU to perform and CE recording information about the thread state is the easy part.

You can try a code injection instead. e.g. something like this:
Code:
newmem:
  cmp ecx,#90
  jb code
  cmp ecx,#100
  ja code
  nop  // place breakpoint here
code:
  mov [rdx+0C],ecx  // original code

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