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 


Break and Trace condition

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

Joined: 20 Sep 2022
Posts: 7

PostPosted: Thu Jun 15, 2023 4:48 pm    Post subject: Break and Trace condition Reply with quote

is it possible to Stop condition when there's a switch to a specific module?

I'm putting a breakpoint in X.dll module and I want to trace it until it enters Y.dll module while ignoring certain A.dll B.dll modules until it hits that Y.dll

so far I've been just increasing the trace count to ridiculous numbers and I was wondering if there's a better way to go about it
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 150

Joined: 06 Jul 2014
Posts: 4642

PostPosted: Thu Jun 15, 2023 9:10 pm    Post subject: Reply with quote

The stop condition is a Lua expression. Maybe define some global variables in the Lua engine window:
Code:
Y_dll_start = getAddress'Y.dll'
Y_dll_end = Y_dll_start + getModuleSize'Y.dll'

Then use this as the condition:
Code:
RIP >= Y_dll_start and RIP < Y_dll_end

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