|
Post by lionheart2525a on Jun 8, 2020 0:09:59 GMT
|
|
|
Post by AnkuLua on Jun 8, 2020 0:30:09 GMT
remove the common on lines 10 and 12
|
|
|
Post by lionheart2525a on Jun 8, 2020 1:03:42 GMT
The comma at the end of 10 and 12?
|
|
|
Post by AnkuLua on Jun 8, 2020 1:48:00 GMT
Yes. And space is not allowed in variable.
menu _region should be menu_region recruitreg _region should be recruitreg _region
|
|
|
Post by lionheart2525a on Jun 8, 2020 11:14:29 GMT
Thanks, you help is appreciated! So i get no errors in editor. scripterror
|
|
|
Post by lionheart2525a on Jun 8, 2020 14:06:48 GMT
Sorry for so many problems but any idea why i can't see ui for snapandplay all the time? example
|
|
|
Post by AnkuLua on Jun 8, 2020 14:25:12 GMT
Sorry for so many problems but any idea why i can't see ui for snapandplay all the time? exampleDid you use the script directly from AnkuLua without any modification? What's your device and Android version?
|
|
|
Post by lionheart2525a on Jun 8, 2020 15:16:46 GMT
yes no modifications ld player device samsung sm-g960n android 7.1.2
|
|
|
Post by AnkuLua on Jun 9, 2020 0:10:46 GMT
yes no modifications ld player device samsung sm-g960n android 7.1.2 Never reported before. Please try uninstall and install AnkuLua again. Then reboot the emulator. If still with problem, please share the video.
|
|
|
Post by lionheart2525a on Jun 9, 2020 0:45:41 GMT
Thanks, you help is appreciated! So i get no errors in editor. scripterrorAny idea why this doesn't work?
|
|
|
Post by Unknown on Jun 9, 2020 3:00:39 GMT
Change exist to exists
|
|
|
Post by lionheart2525a on Jun 9, 2020 14:49:31 GMT
|
|
|
Post by Unknown on Jun 9, 2020 17:37:36 GMT
Capitalize the p in pattern
|
|
|
Post by lionheart2525a on Jun 9, 2020 19:14:42 GMT
Capitalize the p in pattern Thanks cleared up that problem but still gives error...Maybe i am just to old to to learn this lol......I will try to explain what i am doing to see if someone can perhaps point me in the right direction... So I have a region listed in script I am looking for one or both of the .png also listed and in folder labeled images. If they are found i want to click .png. Here is there error i get link. Here is the script: -- Ankulua TIMEOUT = 3 SIMILAR = 0.8 WIDTH = 800 HEIGHT = 600 --Sets root folder structure(so that it runs from whatever folder your script is ran from. --Sets a custom path for my images folder, make sure your imagename.png is in yoyr images folder -- Ankulua settings -- --------------------------------------- Settings:setCompareDimension(true, WIDTH) Settings:setScriptDimension(true, WIDTH) Settings:set("AutoWaitTimeout", TIMEOUT) Settings:set("MinSimilarity", SIMILAR) --image to search local imagetosearch = "collect.png" local imagetosearch1 = "idle.png" --region to search for images local imagetosearchregion = Region(18, 130, 267, 183) if exists(Pattern(imagetosearch):similar(0.80)) then while true do end end print("found image")
|
|
|
Post by Unknown on Jun 9, 2020 21:28:21 GMT
Is the "collect.png" the same name(capitalization) as the.png file name in folder?
|
|