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 


Keboard Hook.
Goto page 1, 2, 3, 4  Next
 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 4:59 am    Post subject: Keboard Hook. Reply with quote

hey guys,

I need a good TUT (noobie friendly) for Keyboard hooks.
I already dun some but I dont get it work.

I want that if I click F7 it starts for example:
ShowMessage('wuhaha a noob noob got it')

But it have to work if Im ingame too. any idea?
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jul 19, 2007 5:01 am    Post subject: Reply with quote

If odd(GetAsyncKeyState(VK_F7)) Then
begin
ShowMessage ('wuhahaa noob boob got it')


(probably cant be done if your in a full screen game, if thats what you mean)

in which game?


Last edited by Kevin on Thu Jul 19, 2007 5:02 am; edited 1 time in total
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 5:02 am    Post subject: Reply with quote

maplestory
Back to top
View user's profile Send private message
Kevin
Grandmaster Cheater Supreme
Reputation: 0

Joined: 07 Mar 2007
Posts: 1139
Location: Spiderman-World

PostPosted: Thu Jul 19, 2007 5:03 am    Post subject: Reply with quote

hmm, i dont know. i dont play it
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 5:09 am    Post subject: Reply with quote

how to should I use
Code:

If odd(GetAsyncKeyState(VK_F7)) Then
begin
ShowMessage ('wuhahaa noob boob got it');


???

btw. in what is MzBot written? is there a source of it?
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 5:51 am    Post subject: Reply with quote

Lol, your trying to make a bot aren't you? Well, best way is to use MzBot's driver. Or email Zuan for it.
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 6:20 am    Post subject: Reply with quote

nahw I need it for my Smuggle Program Very Happy
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 6:36 am    Post subject: Reply with quote

Oh, well do what Kevinn said...
_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 6:52 am    Post subject: Reply with quote

yea but I dont know how to use this:

Code:
If odd(GetAsyncKeyState(VK_F7)) Then
begin
ShowMessage ('wuhahaa noob boob got it');
Back to top
View user's profile Send private message
Noz3001
I'm a spammer
Reputation: 26

Joined: 29 May 2006
Posts: 6220
Location: /dev/null

PostPosted: Thu Jul 19, 2007 7:32 am    Post subject: Reply with quote

Oh my god... Remids me of a time when me and the_undead were taking the piss out of retards trying to make a keylogger with GetAsyncKeyState.
Back to top
View user's profile Send private message MSN Messenger
Reak
I post too much
Reputation: 0

Joined: 15 May 2007
Posts: 3496

PostPosted: Thu Jul 19, 2007 7:34 am    Post subject: Reply with quote

lol but I dont try to make one xD
Back to top
View user's profile Send private message
malfunction
Grandmaster Cheater Supreme
Reputation: 0

Joined: 30 Jan 2007
Posts: 1015
Location: http://www.behindthecorner.com/

PostPosted: Thu Jul 19, 2007 7:39 am    Post subject: Reply with quote

u use it with timer --> system tab --> drop a timer (looks like a clock) --> events --> ontimer --> double click timer --> code part opens --> put GetAsyncKeyState code there
_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 7:41 am    Post subject: Reply with quote

Oh, so like a certain Hotkey enabled like off, 4 min, 6 min, 8 min? That kind of thing. I give you example.

Code:

if Odd(GetAsyncKeyState(VK_F1)) then
RadioButton1.Checked := True
else
RadioButton1.Checked := False

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
UnLmtD
Grandmaster Cheater
Reputation: 0

Joined: 13 Mar 2007
Posts: 894
Location: Canada

PostPosted: Thu Jul 19, 2007 7:53 am    Post subject: Reply with quote

He asked for Keyboard hooks, and GetAsyncKeyState is not... I don't know in what language you program, but the internet is full of good tutorials.
_________________
Back to top
View user's profile Send private message
oib111
I post too much
Reputation: 0

Joined: 02 Apr 2007
Posts: 2947
Location: you wanna know why?

PostPosted: Thu Jul 19, 2007 8:03 am    Post subject: Reply with quote

I know its not a keyboard hook, i think he got a keyboard hook mixed up.

rEakW0n wrote:

I want that if I click F7 it starts for example:
ShowMessage('wuhaha a noob noob got it')

_________________


8D wrote:

cigs dont make people high, which weed does, which causes them to do bad stuff. like killing
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming All times are GMT - 6 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
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