Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 16:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



why mousclick misses?

Discussion on why mousclick misses? within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 278
Received Thanks: 67
why mousclick misses?

so i made a code that should click on to pixel it finds but since the pixel is moving it miss clicks it.
how can i reduce the delay between geting pixel and clicking on it?

here is the part of the code: mouseclick on to pixel needs to be instant i have try-d mouseclick("",$boxpixel1[0], $boxpixel1[1],1,0) but still misses.


Code:
$boxpixel1 = PixelSearch(0,0,1366,768, 0xFCFFCD)
		If not @error Then
			_MouseClickFast2($boxpixel1[0], $boxpixel1[1],$User32)
			sleep(GUICtrlRead($timing2))
                EndIf
sander2828 is offline  
Old 07/31/2013, 22:31   #2
 
c0w's Avatar
 
elite*gold: 3653
The Black Market: 378/0/0
Join Date: Aug 2008
Posts: 30,854
Received Thanks: 529
i guess "_mouseclickfast2" is a function of a UDF? for realy fast mouseclicks i simply use
"Mouseclick("left", X, Y,1, 0)" 1 means one click 0 means the speed of the mousemovement.

i dont know what you need your script for but usually imagesearch is more reliable, how fast do those pixels appear?
c0w is offline  
Thanks
1 User
Old 08/01/2013, 01:17   #3
 
CantShutMyMouth's Avatar
 
elite*gold: 0
Join Date: Apr 2012
Posts: 380
Received Thanks: 163
PHP Code:
$boxpixel1 PixelSearch(0,0,1366,7680xFCFFCD)
        If 
not @error Then
            MouseClick
("right",$boxpixel1[0], $boxpixel1[1],0)
            
sleep(GUICtrlRead($timing2))
                EndIf 
This can't miss.
CantShutMyMouth is offline  
Thanks
1 User
Old 08/01/2013, 09:51   #4
 
FacePalmMan's Avatar
 
elite*gold: 0
Join Date: Jan 2013
Posts: 426
Received Thanks: 129
find a pixel, wait for it to move ,let autoit calculate where the pixel would be next and let autoit click there.
FacePalmMan is offline  
Thanks
1 User
Old 08/01/2013, 16:58   #5
 
elite*gold: 0
Join Date: Feb 2011
Posts: 278
Received Thanks: 67
Quote:
Originally Posted by CantShutMyMouth View Post
PHP Code:
$boxpixel1 PixelSearch(0,0,1366,7680xFCFFCD)
        If 
not @error Then
            MouseClick
("right",$boxpixel1[0], $boxpixel1[1],0)
            
sleep(GUICtrlRead($timing2))
                EndIf 
This can't miss.
tested still misses srry man

Quote:
Originally Posted by c0w View Post
i guess "_mouseclickfast2" is a function of a UDF? for realy fast mouseclicks i simply use
"Mouseclick("left", X, Y,1, 0)" 1 means one click 0 means the speed of the mousemovement.

i dont know what you need your script for but usually imagesearch is more reliable, how fast do those pixels appear?
it's not about appearing it's about them moving fast

Quote:
Originally Posted by FacePalmMan View Post
find a pixel, wait for it to move ,let autoit calculate where the pixel would be next and let autoit click there.
maby you can add me to skype margus.nightcore
sander2828 is offline  
Reply


Similar Threads Similar Threads
Anyone misses the 2.7 AION ?? I Would like to create a server!! (07/2013)
06/04/2017 - Aion Private Server - 33 Replies
Hi Everyone, I was thinking as an ancient Aion player that Aion was a really great game, but the last modifications are just huge cr*p! The thing is, I have work few months ago on a 2.7 server low rates which is almost complete. The problem is I don't wanna open a server for nothing you can imagine, it costs quite a lot and as well I don't want to do this alone. So I was wondering if you could tell me what you guys think of this idea? Do you think people would come? Are you interested?...
Dragonica.eu [f1-f2-mousclick left-right] bot!
07/16/2012 - Dragonica Hacks, Bots, Cheats & Exploits - 17 Replies
Hallihalloo, Wie der Treathname schon sagt besitze ich einen bot! :eek: Wer Ihn haben will, schreibt mir was nettes auf die Pinnwand und ich werde euch privat die Auflösung geben,
[FRAGE]AutoIt Mousclick Dauer
11/21/2010 - AutoIt - 3 Replies
Wie kann ich einstellen das er z.B. für 10 Sekunden eine Maustaste gedrückt hält?



All times are GMT +1. The time now is 16:09.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.