| View previous topic :: View next topic |
| Author |
Message |
ApacheChief How do I cheat?
Reputation: 0
Joined: 02 May 2007 Posts: 5
|
Posted: Wed May 02, 2007 8:44 pm Post subject: Finding child windows? |
|
|
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 |
|
 |
setekh Cheater
Reputation: 0
Joined: 16 Feb 2006 Posts: 43
|
Posted: Wed May 02, 2007 11:53 pm Post subject: |
|
|
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 |
|
 |
ApacheChief How do I cheat?
Reputation: 0
Joined: 02 May 2007 Posts: 5
|
Posted: Thu May 03, 2007 3:59 pm Post subject: |
|
|
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 |
|
 |
Labyrnth Moderator
Reputation: 10
Joined: 28 Nov 2006 Posts: 6300
|
Posted: Thu May 03, 2007 5:06 pm Post subject: |
|
|
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 |
|
 |
ApacheChief How do I cheat?
Reputation: 0
Joined: 02 May 2007 Posts: 5
|
Posted: Thu May 03, 2007 6:06 pm Post subject: |
|
|
| 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 |
|
 |
ApacheChief How do I cheat?
Reputation: 0
Joined: 02 May 2007 Posts: 5
|
Posted: Thu May 03, 2007 8:35 pm Post subject: |
|
|
| x0r wrote: | | BP on CreateWindowEx. | I did CreateWindowExA and nothing came up. |
|
| Back to top |
|
 |
setekh Cheater
Reputation: 0
Joined: 16 Feb 2006 Posts: 43
|
Posted: Thu May 03, 2007 8:52 pm Post subject: |
|
|
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 |
|
 |
ApacheChief How do I cheat?
Reputation: 0
Joined: 02 May 2007 Posts: 5
|
Posted: Fri May 04, 2007 12:00 am Post subject: |
|
|
| 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  |
|
| Back to top |
|
 |
me Grandmaster Cheater
Reputation: 2
Joined: 24 Jun 2004 Posts: 733 Location: location location
|
Posted: Fri May 04, 2007 11:28 am Post subject: |
|
|
is disect windows any good for this _________________
|
|
| Back to top |
|
 |
|