| View previous topic :: View next topic |
| Author |
Message |
DaNemeziz Master Cheater
Reputation: 0
Joined: 29 Sep 2007 Posts: 430
|
Posted: Wed Dec 03, 2008 4:02 pm Post subject: AutoLoot problem |
|
|
| Code: | ...
Dim MapleStoryWindow As Integer = FindWindow("MapleStoryClass", vbNullString)
...
PostMessage(MapleStoryWindow, &H102, Keys.Z, 0)
...
|
I'm trying to make an AutoLoot. When I send the "Z" key to the window nothing happens. It can be typed in the chatbox but it can't pick up anything.
Last edited by DaNemeziz on Wed Dec 10, 2008 7:32 pm; edited 1 time in total |
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Wed Dec 03, 2008 4:10 pm Post subject: |
|
|
| Code: | | lParam = MapVirtualKey (key,0) << 16 |
Make sure you hookhop PostMessage.
_________________
|
|
| Back to top |
|
 |
TraxMate Master Cheater
Reputation: 0
Joined: 01 Mar 2008 Posts: 363
|
Posted: Wed Dec 03, 2008 4:24 pm Post subject: |
|
|
| Make sure that you use WM_KEYDOWN and not WM_CHAR.
|
|
| Back to top |
|
 |
AlbanainRetard Master Cheater
Reputation: 0
Joined: 02 Nov 2008 Posts: 494 Location: Canada eh?
|
Posted: Wed Dec 03, 2008 10:21 pm Post subject: |
|
|
Jumping the first 5 bytes?
_________________
|
|
| Back to top |
|
 |
DaNemeziz Master Cheater
Reputation: 0
Joined: 29 Sep 2007 Posts: 430
|
Posted: Thu Dec 04, 2008 8:40 am Post subject: |
|
|
| kitterz wrote: | | Code: | | lParam = MapVirtualKey (key,0) << 16 |
Make sure you hookhop PostMessage. |
Yea, that was it. I didn't know how to make this in VB. Got it now! Thanks!
|
|
| Back to top |
|
 |
AlbanainRetard Master Cheater
Reputation: 0
Joined: 02 Nov 2008 Posts: 494 Location: Canada eh?
|
Posted: Thu Dec 04, 2008 6:26 pm Post subject: |
|
|
No Problem , My keyboard was acting up T.T, So good luck!
_________________
|
|
| Back to top |
|
 |
BirdsEye Advanced Cheater
Reputation: 0
Joined: 05 Apr 2008 Posts: 94
|
Posted: Mon Dec 08, 2008 8:08 pm Post subject: |
|
|
| DaNemeziz wrote: | | kitterz wrote: | | Code: | | lParam = MapVirtualKey (key,0) << 16 |
Make sure you hookhop PostMessage. |
Yea, that was it. I didn't know how to make this in VB. Got it now! Thanks!  |
Didn't I say before:
Call the bypassed function from a DLL.
Check:
Here(Scroll down)
Here(Scroll down)
Just Google it. Just from reading I'm pretty sure its a no brainer.
|
|
| Back to top |
|
 |
DaNemeziz Master Cheater
Reputation: 0
Joined: 29 Sep 2007 Posts: 430
|
Posted: Wed Dec 10, 2008 7:32 pm Post subject: |
|
|
| BirdsEye wrote: | | DaNemeziz wrote: | | kitterz wrote: | | Code: | | lParam = MapVirtualKey (key,0) << 16 |
Make sure you hookhop PostMessage. |
Yea, that was it. I didn't know how to make this in VB. Got it now! Thanks!  |
Didn't I say before:
Call the bypassed function from a DLL.
Check:
Here(Scroll down)
Here(Scroll down)
Just Google it. Just from reading I'm pretty sure its a no brainer. |
I already got it to work. I just forgot the MapVirtualKey part for keys, clicks worked fine.
|
|
| Back to top |
|
 |
kitterz Grandmaster Cheater Supreme
Reputation: 0
Joined: 24 Dec 2007 Posts: 1268
|
Posted: Wed Dec 10, 2008 7:36 pm Post subject: |
|
|
It's nice to know you got it working.
_________________
|
|
| Back to top |
|
 |
|