| View previous topic :: View next topic |
| Author |
Message |
newgirlorder Expert Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 183
|
Posted: Fri Aug 01, 2008 4:50 pm Post subject: [VB6] Mouse Hook Help |
|
|
Hey all,
I'm having trouble getting past gameguard's api hooks and hooking to maplestory. My autoclicker works great but i guess i need something like hookhop but for vb6. Anybody have any source code or something that could help me out. I know this is a lot to ask since hardly anybody can bypass gameguard but any help would be great.
_________________
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Sat Aug 02, 2008 2:34 pm Post subject: |
|
|
| use hook hop and call PostMessageX.
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Sat Aug 02, 2008 2:41 pm Post subject: |
|
|
| dnsi0 wrote: | | use hook hop and call PostMessageX. |
Just in case the OP doesn't know how:
| Code: |
DWORD PMA = (DWORD)GetProcAddress(LoadLibrary("USER32.DLL"), "PostMessageA")+5;
_declspec(naked) BOOL PostMessageX(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) {
_asm {
mov edi, edi
push ebp
mov ebp, esp
jmp[PMA]
}
}
|
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
newgirlorder Expert Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 183
|
Posted: Tue Aug 05, 2008 12:28 pm Post subject: |
|
|
| oib111 wrote: | | dnsi0 wrote: | | use hook hop and call PostMessageX. |
Just in case the OP doesn't know how:
| Code: |
DWORD PMA = (DWORD)GetProcAddress(LoadLibrary("USER32.DLL"), "PostMessageA")+5;
_declspec(naked) BOOL PostMessageX(HWND hWnd, UINT Msg, WPARAM wParam, LPARAM lParam) {
_asm {
mov edi, edi
push ebp
mov ebp, esp
jmp[PMA]
}
}
|
|
Sadly i'm dealing with VB6... so that won't work.
_________________
|
|
| Back to top |
|
 |
oib111 I post too much
Reputation: 0
Joined: 02 Apr 2007 Posts: 2947 Location: you wanna know why?
|
Posted: Tue Aug 05, 2008 1:07 pm Post subject: |
|
|
You could always use hookhop.dll or w/e its called.
_________________
| 8D wrote: |
cigs dont make people high, which weed does, which causes them to do bad stuff. like killing |
|
|
| Back to top |
|
 |
Fuzz Grandmaster Cheater
Reputation: 0
Joined: 12 Nov 2006 Posts: 531
|
Posted: Tue Aug 05, 2008 1:50 pm Post subject: |
|
|
| Just include hookhop.dll, through some sort of loadlibrary, (for VB6), or include it with your project, and then call postmessageX
|
|
| Back to top |
|
 |
newgirlorder Expert Cheater
Reputation: 0
Joined: 15 Jan 2008 Posts: 183
|
Posted: Sat Aug 30, 2008 12:48 pm Post subject: |
|
|
i know about hookhop and pmx.dll
but i have no idea how to call those functions through vb.. i don't even think it's possible.
thanks though
_________________
|
|
| Back to top |
|
 |
dnsi0 I post too much
Reputation: 0
Joined: 04 Jan 2007 Posts: 2674
|
Posted: Sat Aug 30, 2008 1:03 pm Post subject: |
|
|
LOL... T.T
Public Declare Function PostMessage Lib "PMX.dll" Alias "PostMessageX" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, ByVal lParam As Long) As Long
Edit Learn More VB Before Making A Trainer... You should know this stuff before you start making trainers.
|
|
| Back to top |
|
 |
|