View previous topic :: View next topic |
Author |
Message |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Fri Feb 27, 2009 9:14 pm Post subject: How to bypass MapleStory's "Play" screen? |
|
|
I tried to click the Play Button...
Code: | PostMessage_Trampoline( hWnd, WM_LBUTTONDOWN, 0, MapVirtualKey( 0x1, 0 ) << 16 );
PostMessage_Trampoline( hWnd, WM_LBUTTONUP, 0, MapVirtualKey( 0x1, 0 ) << 16 ); |
I tried to double click the Play Button...
Code: | PostMessage_Trampoline( hWnd, WM_LBUTTONDBLCLK, 0, MapVirtualKey( 0x1, 0 ) << 16 ); |
I tried sending the ESC (Escape) button...
Code: | PostMessage_Trampoline( hWnd, WM_KEYDOWN, 0, MapVirtualKey( 0x1B, 0 ) << 16 ); |
None of these would close the Play Screen for MapleStory,
if you have made your own autologin, etc, how do you do it?
Otherwise, suggestions? _________________
|
|
Back to top |
|
 |
&Vage Grandmaster Cheater Supreme
Reputation: 0
Joined: 25 Jul 2008 Posts: 1053
|
Posted: Fri Feb 27, 2009 9:23 pm Post subject: |
|
|
send WM_DESTROY... |
|
Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Fri Feb 27, 2009 9:28 pm Post subject: |
|
|
_void_ wrote: | send WM_DESTROY... |
great, just curious, does it matter what scancode/VK_KEY I use? _________________
|
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Fri Feb 27, 2009 9:31 pm Post subject: |
|
|
manc wrote: | _void_ wrote: | send WM_DESTROY... |
great, just curious, does it matter what scancode/VK_KEY I use? |
sigh _________________
|
|
Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Fri Feb 27, 2009 9:42 pm Post subject: |
|
|
blankrider wrote: | manc wrote: |
great, just curious, does it matter what scancode/VK_KEY I use? |
sigh |
Sorry dude just trying to learn....
and apparently it doesnt work with single click as scancode so?
what goes where the ??'s are?
Code: | PostMessage_Trampoline( hWnd, WM_DESTROY, 0, MapVirtualKey( 0x??, 0 ) << 16 ); |
_________________
|
|
Back to top |
|
 |
HalfPrime Grandmaster Cheater
Reputation: 0
Joined: 12 Mar 2008 Posts: 532 Location: Right there...On your monitor
|
|
Back to top |
|
 |
Henley Grandmaster Cheater
Reputation: 0
Joined: 03 Oct 2006 Posts: 671
|
Posted: Fri Feb 27, 2009 9:55 pm Post subject: |
|
|
sending ESC key should work..
it' not working because your 3rd param is 0.. |
|
Back to top |
|
 |
HomerSexual Grandmaster Cheater Supreme
Reputation: 5
Joined: 03 Feb 2007 Posts: 1657
|
Posted: Fri Feb 27, 2009 9:55 pm Post subject: |
|
|
_________________
|
|
Back to top |
|
 |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Fri Feb 27, 2009 11:36 pm Post subject: |
|
|
MapVirtualKey is not used for every single windows message. Learn your w/lParams.
Here you go.
Code: | SendMessage(hWnd, WM_CLOSE, 0U, 0U); |
You do not need to bypass PostMessage if you're sending WM_CLOSE to close the ad. |
|
Back to top |
|
 |
iNoobHacker Advanced Cheater
Reputation: 0
Joined: 05 Nov 2006 Posts: 99
|
Posted: Sat Feb 28, 2009 2:32 am Post subject: |
|
|
manc wrote: | _void_ wrote: | send WM_DESTROY... |
great, just curious, does it matter what scancode/VK_KEY I use? |
What the...
manc wrote: | blankrider wrote: | manc wrote: |
great, just curious, does it matter what scancode/VK_KEY I use? |
sigh |
Sorry dude just trying to learn....
and apparently it doesnt work with single click as scancode so?
what goes where the ??'s are?
Code: | PostMessage_Trampoline( hWnd, WM_DESTROY, 0, MapVirtualKey( 0x??, 0 ) << 16 ); |
|
How do you expect to code anything without learning how to code?
I suggest you to stick to pokemon.
If you still want to try to code... http://cplusplus.com/tutorial |
|
Back to top |
|
 |
Reak I post too much
Reputation: 0
Joined: 15 May 2007 Posts: 3496
|
Posted: Sat Feb 28, 2009 8:37 am Post subject: |
|
|
Hook CreateWindowEx and return zero if the class-name is StartUpDlgClass. |
|
Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Sat Feb 28, 2009 12:35 pm Post subject: |
|
|
._Henley wrote: | sending ESC key should work..
it' not working because your 3rd param is 0.. |
Again, probably going to get destroyed for asking, but what should it be?
That is the wParam - all msdn has to say about it is that it Quote: | [in] Specifies additional message-specific information. |
So I'm not exactly sure..
blankrider wrote: |
I will be generous though and post the link
http://msdn.microsoft.com/en-us/library/ms632620(VS.85).aspx
Parameters
wParam
This parameter is not used.
lParam
This parameter is not used.
__________________________________________________
A quick look into another message is found here
http://msdn.microsoft.com/en-us/library/ms645606(VS.85).aspx
Do you know what you did wrong? I wont help you on this and i hope no one else does. Lets just say your wParam and lParam are wrong. |
So the w/lparam's are unnecessary when just sending WM_DESTROY..got it
And the second part, I suppose you're trying to hint at the same thing, unnecessary parameters being used.
talker0 wrote: |
Here you go.
Code: | SendMessage(hWnd, WM_CLOSE, 0U, 0U); |
You do not need to bypass PostMessage if you're sending WM_CLOSE to close the ad. |
I tried WM_DESTROY and WM_CLOSE with both trampolined and regular PostMessage and SendMessage, with no results. Thanks for the insight I will look deeper into this though...
I tried WindowDestroy() which calls WM_DESTROY and no results either..
iNoobHacker wrote: |
How do you expect to code anything without learning how to code?
I suggest you to stick to pokemon.
If you still want to try to code... http://cplusplus.com/tutorial |
Really dude..no need to cap on me I just made some conceptual mistakes in my mind..chill.
Reak wrote: | Hook CreateWindowEx and return zero if the class-name is StartUpDlgClass. |
I'll try to do this a bit later...thanks. _________________
|
|
Back to top |
|
 |
talkerzero Grandmaster Cheater
Reputation: 1
Joined: 24 Jul 2008 Posts: 560 Location: California
|
Posted: Sat Feb 28, 2009 1:14 pm Post subject: |
|
|
When sending WM_CLOSE/WM_DESTROY, are you setting wParam/lParam as anything other than 0? |
|
Back to top |
|
 |
manc Grandmaster Cheater
Reputation: 1
Joined: 16 Jun 2006 Posts: 551
|
Posted: Sat Feb 28, 2009 2:04 pm Post subject: |
|
|
talker0 wrote: | When sending WM_CLOSE/WM_DESTROY, are you setting wParam/lParam as anything other than 0? |
no, heres what i tried
Code: |
PostMessage( hWnd, WM_DESTROY, 0, 0 );
PostMessage( hWnd, WM_CLOSE, 0, 0 );
DestroyWindow( hWnd ); |
_________________
|
|
Back to top |
|
 |
`unknown Grandmaster Cheater
Reputation: 0
Joined: 20 Nov 2006 Posts: 658 Location: You lost the game.
|
Posted: Sat Feb 28, 2009 2:05 pm Post subject: |
|
|
manc wrote: | talker0 wrote: | When sending WM_CLOSE/WM_DESTROY, are you setting wParam/lParam as anything other than 0? |
no, heres what i did
PostMessage( hWnd, WM_DESTROY, 0, 0 );
PostMessage( hWnd, WM_CLOSE, 0, 0 );
DestroyWindow( hWnd ); |
Show us where you set hWnd, you probably have the wrong window handle. |
|
Back to top |
|
 |
|