|
You last visited: Today at 16:08
Advertisement
why mousclick misses?
Discussion on why mousclick misses? within the AutoIt forum part of the Coders Den category.
07/31/2013, 22:26
|
#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
|
|
|
07/31/2013, 22:31
|
#2
|
elite*gold: 3653
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?
|
|
|
08/01/2013, 01:17
|
#3
|
elite*gold: 0
Join Date: Apr 2012
Posts: 380
Received Thanks: 163
|
PHP Code:
$boxpixel1 = PixelSearch(0,0,1366,768, 0xFCFFCD) If not @error Then MouseClick("right",$boxpixel1[0], $boxpixel1[1],0) sleep(GUICtrlRead($timing2)) EndIf
This can't miss.
|
|
|
08/01/2013, 09:51
|
#4
|
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.
|
|
|
08/01/2013, 16:58
|
#5
|
elite*gold: 0
Join Date: Feb 2011
Posts: 278
Received Thanks: 67
|
Quote:
Originally Posted by CantShutMyMouth
PHP Code:
$boxpixel1 = PixelSearch(0,0,1366,768, 0xFCFFCD)
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
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
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
|
|
|
 |
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.
|
|