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 


Finding child windows?

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

Joined: 02 May 2007
Posts: 5

PostPosted: Wed May 02, 2007 8:44 pm    Post subject: Finding child windows? Reply with quote

Inside Magic The Gathering Online there are child windows that pop up upon receiving PMs. How do I find out when a PM is received and call the function to close that PM?

I tried for a while opening/closing the window and finding changed values, but after 5 minutes I still had a few hundred addresses to look at.
Back to top
View user's profile Send private message
setekh
Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 43

PostPosted: Wed May 02, 2007 11:53 pm    Post subject: Reply with quote

Better try with OllyDbg or other debugger, i have never played or seen the game so i can not give you more detail instructions , but for sure it would call either an std. API to show the wnd or some procedure that you can trace. Like if it's a std. win32 app. it would call MessageBox,MessageBoxA or MessageBoxExA.. but if it's a game it would probably use it's own routine so you should look for it, check the procedures names it may lead to some clues... Install debug symbols as well...
I guess someone more familiar with the game would help you...
Back to top
View user's profile Send private message
ApacheChief
How do I cheat?
Reputation: 0

Joined: 02 May 2007
Posts: 5

PostPosted: Thu May 03, 2007 3:59 pm    Post subject: Reply with quote

Thanks for the reply.

I'll google "installing debug symbols" for Olly.

Also, if the game updates, will my memory values change?
Back to top
View user's profile Send private message
Labyrnth
Moderator
Reputation: 10

Joined: 28 Nov 2006
Posts: 6300

PostPosted: Thu May 03, 2007 5:06 pm    Post subject: Reply with quote

You can possibly find this in Ce as well.

Use the API calls

WindowMessageBoxA <-- try putting that in the goto address option in the memory view.
Set a break point on it and see if it pops for one of those message boxes.
Back to top
View user's profile Send private message
ApacheChief
How do I cheat?
Reputation: 0

Joined: 02 May 2007
Posts: 5

PostPosted: Thu May 03, 2007 6:06 pm    Post subject: Reply with quote

Labyrnth wrote:
You can possibly find this in Ce as well.

Use the API calls

WindowMessageBoxA <-- try putting that in the goto address option in the memory view.
Set a break point on it and see if it pops for one of those message boxes.
Well, it's definitely not a WindowsMessageBoxA call. How would I put a breakpoint on an imported function in CE?
Back to top
View user's profile Send private message
ApacheChief
How do I cheat?
Reputation: 0

Joined: 02 May 2007
Posts: 5

PostPosted: Thu May 03, 2007 8:35 pm    Post subject: Reply with quote

x0r wrote:
BP on CreateWindowEx.
I did CreateWindowExA and nothing came up.
Back to top
View user's profile Send private message
setekh
Cheater
Reputation: 0

Joined: 16 Feb 2006
Posts: 43

PostPosted: Thu May 03, 2007 8:52 pm    Post subject: Reply with quote

The game is using maby some kind of engine and it has own window procedures .. so probably you should step and search for the text of the window ...
I'll try to find the game and see today ...
Back to top
View user's profile Send private message
ApacheChief
How do I cheat?
Reputation: 0

Joined: 02 May 2007
Posts: 5

PostPosted: Fri May 04, 2007 12:00 am    Post subject: Reply with quote

x0r wrote:
setekh is right, find the dialog title in the hex dump and set a BP on access then open the window. You should find the drawing sequence for windows by doing this.
Alright, I'll try that if I have any problems I'll let you guys know.

Thanks Very Happy
Back to top
View user's profile Send private message
me
Grandmaster Cheater
Reputation: 2

Joined: 24 Jun 2004
Posts: 733
Location: location location

PostPosted: Fri May 04, 2007 11:28 am    Post subject: Reply with quote

is disect windows any good for this
_________________
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