AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Autoclicker macros

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Saturn.32
Guest





PostPosted: Wed Aug 20, 2008 11:48 pm    Post subject: Autoclicker macros Reply with quote

I've been making autoclicker macros for a while, but for some reason I can't get them to get between 11-14 clicks per second, no matter what sleep times I use, or the way I write them. These are two examples of how I've been writing them.

Code:

$*LButton::

{

Loop
{
setmousedelay, 50
MouseClick, left,,, 1, 0
GetKeyState, state, LBUTTON, P
if state = U
{
Break
}

}


}
Return



Code:


$*~LButton::   
{
Loop
{
   SendInput {LButton Down}
   Sleep 50
   SendInput {LButton Up}
   Sleep 50
   GetKeyState, LButtonState, LButton, P
   If LButtonState = U
Break
}
}
Return


50 is an example sleep time.

Anyway not matter what I do the clicks per second seems to jump from 10 clicks to 15 clicks persecond, but no where in between. Is this an AHK flaw or am I not doing something right?
Back to top
SpiderGames



Joined: 09 Jun 2008
Posts: 464
Location: Canada

PostPosted: Thu Aug 21, 2008 2:56 am    Post subject: Reply with quote

Code:

$*LButton::
Loop,
{
MouseClick, Left,
Sleep, 90
GetKeyState, LButtonState, LButton, P
   If LButtonState = U
Break
}

_________________

Xfire: SpiderGames77
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Saturn.32
Guest





PostPosted: Thu Aug 21, 2008 8:24 pm    Post subject: Reply with quote

Messing around with the sleeps on that auto clicker, I still get pretty much the same result except glitchy Crying or Very sad Thx for trying though. This is the site I'm using to count clicks per second. I got alot of 8-9-10's with sleeps as low as 8.

http://www.urban75.com/Mag/java7.html

goal is 120-140 clicks in 10 seconds. Razz
Back to top
aetratus



Joined: 22 Aug 2008
Posts: 1

PostPosted: Fri Aug 22, 2008 5:11 am    Post subject: Reply with quote

Saturn.32 wrote:
Messing around with the sleeps on that auto clicker, I still get pretty much the same result except glitchy Crying or Very sad Thx for trying though. This is the site I'm using to count clicks per second. I got alot of 8-9-10's with sleeps as low as 8.

http://www.urban75.com/Mag/java7.html

goal is 120-140 clicks in 10 seconds. Razz

Code:

#IfWinActive World Mouseclicking Competition! ; i have firefox configured to only display window titles, remove or alter this directive as needed

LButton::
MouseClick, left,,, 1, 100, D
Loop
{
MouseClick, left,,, 1, 100, U
If !GetKeyState("LButton", "P")
break
MouseClick, left,,, 1, 100, D
}
return

That gets me 158 or 159 in 10 seconds, a bit over 15 clicks per second. The paramter value 100 is the sleep before exiting the event (D or U)..and 100 is the max there. Hmm...tried it with a 0 delay per event and get the same results. Probably the java applet itself is the bottleneck there.

EDIT:
Code:

SendMode Input

LButton::

Loop
{
MouseClick, left,,, 1, 0, D
MouseClick, left,,, 1, 0, U
Sleep, 2
If !GetKeyState("LButton", "P")
break
}
return

That gets me 640 and probably the upper limit, since shrinking the sleep to 1 or 0 to detect LButton not pushed makes it very unreliable.
Back to top
View user's profile Send private message
Saturn.32
Guest





PostPosted: Fri Aug 22, 2008 4:29 pm    Post subject: Reply with quote

Well whats happening at one and 1-0, the site gets laggy because it clicks so many times. If you wait a bit, it will show you a number above a thousand. Shocked
Back to top
SATURN.32
Guest





PostPosted: Fri Aug 22, 2008 4:43 pm    Post subject: Reply with quote

But why is it only 0-100? If it was 0-200 it would be perfect!!! Razz
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group