Jump to content
Sign in to follow this  

ImageSearch error

Recommended Posts

Hello i have problem with imagesearch

#include <ImageSearch.au3>
global $y = 0, $x = 0
Func checkForImage()
Local $search = _ImageSearch(@ScriptDir & "/img/mm2.png" , 0, $x, $y, 0)
If ($search = 1) Then
MouseMove($x, $y, 10)
   MsgBox(4096, "a", "a")
while 1


>"C:Program FilesAutoIt3SciTE..autoit3.exe" /ErrorStdOut "C:UsersxxxxxrDesktopDON_DESKTOPxxxxxxxxxxxxbot.au3"    
>Exit code: -1073741819    Time: 1.509
It doesn't moves the mouse it just terminates... I have the lastet version of imagesearch plugin and include...
Edited by IamTheKing

Share this post

Link to post
Share on other sites

IamTheKing, as you are referencing powerbot, perhaps you should become familiar with the forum rules (link is at the bottom right of every page) before continuing, especially the part that deals with game automation.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Create New...