|
Post by zenkrye on Feb 11, 2022 21:46:03 GMT
Is it possible to nest the images 'snap and play' is tyring to look for to speed some instances up?
Exapmle: Searching for Image A, B & C. If Image A found then search for Image D, E, & F If Image B Found then search for Image G, H & I etc.
Thanks in advance for any advice.
|
|
|
Post by superchicken on Apr 21, 2022 7:28:12 GMT
My emulator runs to loop 3, the script cant loop , Ankulua is still running but not swipe
while (true) do ------ 1 ----- for i = 1, 32 do swipe(Location(974, 676), Location(986, 287)) wait(2) end ------ 33 ----- click(Location(824, 66)) wait(5) end
|
|
|
Post by AnkuLua on Apr 21, 2022 7:41:52 GMT
My emulator runs to loop 3, the script cant loop , Ankulua is still running but not swipe while (true) do ------ 1 ----- for i = 1, 32 do swipe(Location(974, 676), Location(986, 287)) wait(2) end ------ 33 ----- click(Location(824, 66)) wait(5) end Make sure the loop is executed. You can add highlight or print to debug. make sure the swipe locations are correct. Highlight the locations. Region(974, 676, 5, 5):highlight(2) Region(986, 287, 5, 5):highlight(2) swipe longer to make it like drag and drop swipe(Location(974, 676), Location(986, 287), 5)
|
|
thann
New Member
Posts: 8
|
Post by thann on May 16, 2022 13:31:16 GMT
Could it possibly to modify to
if find A and B then click C
Thanks
|
|
|
Post by AnkuLua on May 16, 2022 14:50:26 GMT
Could it possibly to modify to if find A and B then click C Thanks In A.png, modify the action to action = 'if(exists("B.png", 0)) then existsClick("C.png", 0) end'
|
|
thann
New Member
Posts: 8
|
Post by thann on May 16, 2022 15:58:46 GMT
Could it possibly to modify to if find A and B then click C Thanks In A.png, modify the action to action = 'if(exists("B.png", 0)) then existsClick("C.png", 0) end' Thank you very much.
|
|
thann
New Member
Posts: 8
|
Post by thann on May 16, 2022 17:14:35 GMT
|
|
|
Post by AnkuLua on May 16, 2022 23:14:21 GMT
If the aspect ratio is the same on both devices, then just copy the luar and corresponding image directory to the new device. Otherwise, there is no direct way to do it.
|
|