IamTheKing Posted June 18, 2014 Share Posted June 18, 2014 (edited) Hello i have problem with imagesearch #include <ImageSearch.au3> checkForImage() 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) Else MsgBox(4096, "a", "a") EndIf EndFunc while 1 sleep(200) WEnd >"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 June 18, 2014 by IamTheKing Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted June 18, 2014 Moderators Share Posted June 18, 2014 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. "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now