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 


Question related to button click detection in a game.

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Tue Jun 07, 2016 3:51 pm    Post subject: Question related to button click detection in a game. Reply with quote

What is the most efficient or effective way to find the code that activates when clicking a button in game? Such as a button on a menu.
I only know one way to do it: Ultimap. However, it is laggy and inefficient. Any better way? Thanks.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Jun 07, 2016 4:06 pm    Post subject: Reply with quote

There are ways to improve ultimap performance - especially if you are working from a menu (i.e. not in-game). That said, ultimap is the best way.

If the button brings up a new window, that might make it easier to find. You may be able to hold the left-mouse button on the game button and/or just hover your mouse over the button in question in order to find the section of code that you need to be in. Also, depending on what the button does when you press it (e.g. if it changes a value in the game), you may be able to backtrace from that function and find where the button-pressed check occurs etc..
Back to top
View user's profile Send private message
Dr.Disrespect
Grandmaster Cheater
Reputation: 3

Joined: 17 Feb 2016
Posts: 526

PostPosted: Tue Jun 07, 2016 5:21 pm    Post subject: Reply with quote

++METHOS wrote:
There are ways to improve ultimap performance - especially if you are working from a menu (i.e. not in-game). That said, ultimap is the best way.

If the button brings up a new window, that might make it easier to find. You may be able to hold the left-mouse button on the game button and/or just hover your mouse over the button in question in order to find the section of code that you need to be in. Also, depending on what the button does when you press it (e.g. if it changes a value in the game), you may be able to backtrace from that function and find where the button-pressed check occurs etc..


Thanks, ++METHOS. Smile
I will give it a try when I get home, and post a feedback.
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