Quote:
Originally Posted by Boosniffaren
Okay, thanks buddy for explaining it to me. I do not know where they get their images from, but I suspect it's not alot of pictures, since i've seen many of them again allready, doing the levels about 300+ times.
Any idea on how I would go on about doing this? I'm a beginner at programming, and started with autoIT this week :P I'll give you an example of where I want this "imagesearch" thing to happen if need be.
|
To quote myself, here is the link to the current code I want to take imagesearch into consideration aswell.
Local $i = 0
Do
$i = $i + 1
;Click on the first level
MouseClick ("left", 2582, 313)
MouseClick ("left", 3149, 327)
MouseClick ("left", 2587, 737)
MouseClick ("left", 3150, 752)
;Click the play button
MouseClick ("left", 2507, 322)
MouseClick ("left", 3079, 338)
MouseClick ("left", 2506, 745)
MouseClick ("left", 3073, 761)
;Wait for the game to finish
Sleep (138000)
;Return to lobby
MouseClick ("left", 2662, 469)
MouseClick ("left", 3225, 472)
MouseClick ("left", 2666, 866)
MouseClick ("left", 3229, 867)
Until $i = 3
----------------End of loop-------------------------------------------
After the ;Wait for the game to finish line of code, a captcha can randomly
appear, as such I would want to implement some sort of "If" captcha appears then " do this and this". Then, return to lobby as normal.
If there's any better way to paste in code in the future, please do tell me how