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 


AutoLoot problem

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
DaNemeziz
Master Cheater
Reputation: 0

Joined: 29 Sep 2007
Posts: 430

PostPosted: Wed Dec 03, 2008 4:02 pm    Post subject: AutoLoot problem Reply with quote

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
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Wed Dec 03, 2008 4:10 pm    Post subject: Reply with quote

Code:
 lParam = MapVirtualKey (key,0) << 16


Make sure you hookhop PostMessage.

_________________
Back to top
View user's profile Send private message Send e-mail
TraxMate
Master Cheater
Reputation: 0

Joined: 01 Mar 2008
Posts: 363

PostPosted: Wed Dec 03, 2008 4:24 pm    Post subject: Reply with quote

Make sure that you use WM_KEYDOWN and not WM_CHAR.
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Wed Dec 03, 2008 10:21 pm    Post subject: Reply with quote

Jumping the first 5 bytes?
_________________
Back to top
View user's profile Send private message Send e-mail
DaNemeziz
Master Cheater
Reputation: 0

Joined: 29 Sep 2007
Posts: 430

PostPosted: Thu Dec 04, 2008 8:40 am    Post subject: Reply with quote

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! Wink
Back to top
View user's profile Send private message
AlbanainRetard
Master Cheater
Reputation: 0

Joined: 02 Nov 2008
Posts: 494
Location: Canada eh?

PostPosted: Thu Dec 04, 2008 6:26 pm    Post subject: Reply with quote

No Problem , My keyboard was acting up T.T, So good luck!
_________________
Back to top
View user's profile Send private message Send e-mail
BirdsEye
Advanced Cheater
Reputation: 0

Joined: 05 Apr 2008
Posts: 94

PostPosted: Mon Dec 08, 2008 8:08 pm    Post subject: Reply with quote

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! Wink


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
View user's profile Send private message
DaNemeziz
Master Cheater
Reputation: 0

Joined: 29 Sep 2007
Posts: 430

PostPosted: Wed Dec 10, 2008 7:32 pm    Post subject: Reply with quote

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! Wink


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
View user's profile Send private message
kitterz
Grandmaster Cheater Supreme
Reputation: 0

Joined: 24 Dec 2007
Posts: 1268

PostPosted: Wed Dec 10, 2008 7:36 pm    Post subject: Reply with quote

It's nice to know you got it working.
_________________
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming 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