OptimusJH Posted November 9, 2014 Share Posted November 9, 2014 (edited) #include <MsgBoxConstants.au3> #include <WindowsConstants.au3> #include <ImageSearch.au3> Global $x = 0 Global $y = 0 Func Room() Local $Room = _ImageSearcharea("room.bmp",1,708,56,768,96, $x, $y, 20) If $Room = 1 Then Call ("Room2") Else Sleep(300) Send("{ENTER}") Sleep(300) Call ("Room") Endif Endfunc Func Room2 Local $Room2 = _ImageSearcharea("room2.bmp",1,708,56,768,96, $x, $y, 20) If $Room2 = 1 Then Call ("Room") Else Sleep(300) Send("{Ctrl}") Sleep(300) Call ("Room2") Endif Endfunc ---------------------------------------------- This is my imagesearch script. But If I run program about 1 hours, It notice recursion level error after 1hours. Please Help Me.. I make code for game which my friend made. The Game's Purpose is completence and accuracy of imagesearch. The game is made for imagesearch test. We apply this system for CCTV. Edited November 9, 2014 by OptimusJH Link to comment Share on other sites More sharing options...
Developers Jos Posted November 9, 2014 Developers Share Posted November 9, 2014 Ok... as you wish. You have 2 days to read the forum rules. During this period you will not be able to post in our forums. Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Developers Jos Posted November 9, 2014 Developers Share Posted November 9, 2014 (edited) I see you are even back with a new account as you were working on this before in >this thread. So this means to me you were warned before and elected to ignore us, so ban is changed to permanent. Jos Edited November 9, 2014 by Jos SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Recommended Posts