| View previous topic :: View next topic |
| Author |
Message |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Sun Feb 17, 2008 10:36 am Post subject: [Release] my first auto clicker :D |
|
|
finally i succed to make it click faster...
it's my first auto clicker so be nice
it was made in C#
great thanks to samurai that helped me with mouse events =]
first attachment is source code
sencond attachment auto clicker
i fixed the code btw
Have fun :>
_________________
Stylo
Last edited by Stylo on Sun Feb 17, 2008 11:05 am; edited 1 time in total |
|
| Back to top |
|
 |
Symbol I'm a spammer
Reputation: 0
Joined: 18 Apr 2007 Posts: 5094 Location: Israel.
|
Posted: Sun Feb 17, 2008 10:43 am Post subject: |
|
|
You used samuri's keyboard hook.
|
|
| Back to top |
|
 |
AlienX-P Advanced Cheater
Reputation: 0
Joined: 31 Jan 2008 Posts: 52
|
Posted: Sun Feb 17, 2008 10:43 am Post subject: |
|
|
| Gj, anyway, try to use hotkeys, sucks when trying to stop..
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Sun Feb 17, 2008 10:44 am Post subject: |
|
|
oh it's becuase of the "using keyboardhook" i guess ignore it i wanted to make a hotkey but i messed with that and i gave up his help was with mouse events
_________________
Stylo |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Feb 17, 2008 10:57 am Post subject: |
|
|
I've made the Keyboard hook a bit easier to use.
Try it out now--as a previous poster said, it is a bit hard to get to the stop button.
| Symbol wrote: | You used samuri's keyboard hook.  |
There's nothing wrong with that--that's what it's for.
_________________
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Sun Feb 17, 2008 11:41 am Post subject: |
|
|
samurai i need a little help with your KeyboardHook
i added it as a class to my project and i copied the KeyHandler method to my Project (the Form.cs page)
now i have no idea what do i need to do next.. :\
i define F10 as Hotkey that turns off the auto clicker..
_________________
Stylo |
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Sun Feb 17, 2008 12:18 pm Post subject: |
|
|
1) Did you change the namespace of the keyboard hook?
2) Look at my example KeyHandler code, and see if you can't figure out how to make F10 do what you want to do. =p
3) Follow the steps that it gives you in the post.
I think the 4th step was something like, call Hook.CreateHook(blahblah).
You should do that on your Form_Load event, and kill it (Hook.DestroyHook()) on the Form_Closing. See if you can't figure out how to do that.
_________________
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
|
| Back to top |
|
 |
hcavolsdsadgadsg I'm a spammer
Reputation: 26
Joined: 11 Jun 2007 Posts: 5801
|
Posted: Sun Feb 17, 2008 2:17 pm Post subject: |
|
|
| Probably holding it down too long.
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
Posted: Sun Feb 17, 2008 2:21 pm Post subject: |
|
|
no i hit it pretty fast :\ ..
_________________
Stylo |
|
| Back to top |
|
 |
HolyBlah Master Cheater
Reputation: 2
Joined: 24 Aug 2007 Posts: 446
|
Posted: Mon Feb 18, 2008 8:50 am Post subject: |
|
|
You need to wait until F10 is up:
| Code: | if (vk == TestKeybdHook.Hook.VK.VK_F10)
{
while(vk == TestKeybdHook.Hook.VK.VK_F10);
{ }
MessageBox.Show("blah");
} | Or something like that.
|
|
| Back to top |
|
 |
Stylo Grandmaster Cheater Supreme
Reputation: 3
Joined: 16 May 2007 Posts: 1073 Location: Israel
|
|
| Back to top |
|
 |
samuri25404 Grandmaster Cheater
Reputation: 7
Joined: 04 May 2007 Posts: 955 Location: Why do you care?
|
Posted: Mon Feb 18, 2008 7:35 pm Post subject: |
|
|
I'm thinking that it calls the Keyboard hook, not only with the WM_KEYDOWN event, but also with the WM_KEYUP event.
I'm still thinking about how to solve that;
Give me some time.
_________________
|
|
| Back to top |
|
 |
|