Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > AutoIt
You last visited: Today at 04:25

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

Advertisement



Image Search verfolgen und Reagieren

Discussion on Image Search verfolgen und Reagieren within the AutoIt forum part of the Coders Den category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2011
Posts: 11
Received Thanks: 0
Image Search verfolgen und Reagieren

Also der Cursor soll dem Image Folgen und auf Hotkeys agieren Funktionen beenden und starten dabei die mitte des Bildes auf dem Bildschirm verfolgen und das möglichst schnell bei mir findet er nur leider nix und springt nichma dorthin
und es soll Folgen,
Ich hab auch sonst nix gefunden...


Edit:
Dauerhaft verfolgen bis ne andere Funktion oder stop kommt

Code:
#include <ImageSearch.au3>

HotKeySet( "{SPACE}", "starting")
HotKeySet( "{NUMPAD1}", "turning")
HotKeySet( "{NUMPAD2}", "starting")
HotKeySet( "{NUMPAD3}", "endall")


While 1
   sleep(1)
   WEnd
   
   
   Func starting()
$x1=0
$y1=0


$result = _ImageSearch("kreis.png",1,$x1,$y1,0)
if $result=1 Then
	MouseMove($x1,$y1,0)
	  EndIf
 EndFunc
   
   
   
   Func Turning()
	  "starting" stop
	  MouseClick()
   EndFunc
   
   
   
   Func endall()
	  goto While 1
		 EndFunc

Das Verfolgen sollte eigentlich funktionieren tut es aber nicht die anderen sind erstmal nur als lückenfüller falls einer versteht wie ich das mit den Numpads meine würde gerne wissen wie ich es umsetzen kann jedoch die image verfolgung hat vorrang

wäre echt nett wenn hier jemand helfen könnte
musari is offline  
Reply


Similar Threads Similar Threads
Problem with Image Search?
11/20/2010 - Mabinogi - 8 Replies
Ive made a script that is looking pretty perfect but it refuses to go to the images. All pictures are taken correctly and I do run it as administrator. Ive looked over the script and I didn't see any errors. Please help.
[UDF] Autoit Image Search
10/01/2010 - AutoIt - 8 Replies
We dont like racist forum fuc|< you.
Image Search Problem
06/23/2010 - AutoIt - 9 Replies
Heyy ich bin gerade dabei einen Bot zu Schreiben, leider habe ich ein Problem mit Image Search ... irgendwie checke ich das nicht so :( Ich habe vor dass wenn man Start klickt dass der Bot nach einem Bild sucht und dann mit der Maus dorthin geht und ein Linksklick macht. Hier mal der Source Code von mein Bot: #include <GUIConstants.au3> Global $INTERVALL
how to use image search area!! help.
12/13/2009 - Mabinogi - 8 Replies
Func _ImageSearchArea($findImage,$resultPosition,$x1,$y 1,$right,$bottom,ByRef $x, ByRef $y, $tolerance) Someone explain each variable to me please. Especially the 2 coordinate variables that determines which area it searches in specifically.
[Request] image search
11/27/2009 - Mabinogi - 7 Replies
is the any other image search beside auto it and ahk cause neither work



All times are GMT +1. The time now is 04:25.


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.