|
Post by AnkuLua on Sept 14, 2020 0:03:23 GMT
what i want to check is whether the image of auto play is on or not. about the auto play is a circle icon fixed in middle screen bottom centre. when deactivate(off), it has white text and dark grey background. when activated, the edge of the circle, will become yellow with movements, the white text and dark grey background will have little tint yellow cover it. the problem im facing was the getcolor() from location, the r,g,b value changes (esp when the screen moving in different places) and when I used if statement to compare, most of the time it click on the autoplay when it is not suppose to click on it when already activated. I think the random click on ankulua settings also affected where the colour to get from the location. NOTE: I've read every rgb thread or post here in ankulua forum, so far nothing really works for me. my workaround to that issue is set autoplay as global variable as true when i start the script myself inside the game. so it wont click on the auto play icon, but i would need to manual click on it once when i start the game myself. rest of the game play continues and the autoplay and would not deactivate (the game itself remembers that autoplay already activated so no need to touch again), unless the game crashed. if the script start from startApp(), then the auto play global variable is set to false, so when in game it will click on it then set to true and never to touch again. To me, i think it will be more convenient when we can compare part of the region of the image with colour using similarity or pattern or both in certain situations, rather than keep finding the r,g,b value. is it really that slow when processing image recognition using colour? Please consider add that feature. There should be no problem to detect the grey or not on the same icon with getColor(). It would be easier to detect it's grey or not. Recommend to use following method. r, g, b = getColor(Pattern("target.png"):targetOffset(5, 6)) -- assign the suitable targetOffset color image recognition is at least three times slower than grey one. And it needs three time larger memory to store the image. That tends to induce the Android killing AnkuLua because of low memory.
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Sept 14, 2020 8:07:41 GMT
There should be no problem to detect the grey or not on the same icon with getColor(). It would be easier to detect it's grey or not. Recommend to use following method. r, g, b = getColor(Pattern("target.png"):targetOffset(5, 6)) -- assign the suitable targetOffset color image recognition is at least three times slower than grey one. And it needs three time larger memory to store the image. That tends to induce the Android killing AnkuLua because of low memory.
Thanks, Ankulua.
it's seem working for me when getting colour value from image rather than location. I didn't know I can do that. Learn something valuable today :-)
autoPlay = false
r, g, b = getColor(Pattern("autoPlay_unactivate.png"):targetOffset(20,20):similar(0.5)) colour = r+g+b
if (autoplay == false) then
if (autoPlayRegion:exists('autoPlay_unactivate.png') and (colour >=100 and colour <=110)) then autoPlayRegion:existsClick('autoPlay_unactivate.png') end autoPlay = true end
I find it easy to compare the value of variable colour by summing up r,g,b instead of comparing individual value.
thank you very much for taking the time to help me.
|
|
field
New Member
Posts: 4
|
Post by field on Sept 14, 2020 17:08:15 GMT
I have 88 days left on my Lisc but when i go to start the app and play It says i have no Lisc...... it has been working fine for months and nothing changed..... I dont see where to check or change info...
|
|
|
Post by AnkuLua on Sept 14, 2020 23:23:13 GMT
I have 88 days left on my Lisc but when i go to start the app and play It says i have no Lisc...... it has been working fine for months and nothing changed..... I dont see where to check or change info... You need both AnkuLua Pro2 and the script license to run. You still have Pro2 license. You was out of the script license. Login following site to renew your script license ankulua.com/games/web/login.php?script_name=BlackDesertM_afkbot
|
|
|
Post by wakabaka on Sept 18, 2020 16:18:30 GMT
I upgraded my phone to Android 11 and I found that AnkuLua doesn't work for the version anymore (it keeps crashing when I try to open it).
Are there any plans to make the application compatible with Android 11? If yes, is there an ETA for the fix?
|
|
|
Post by AnkuLua on Sept 19, 2020 2:14:18 GMT
I upgraded my phone to Android 11 and I found that AnkuLua doesn't work for the version anymore (it keeps crashing when I try to open it). Are there any plans to make the application compatible with Android 11? If yes, is there an ETA for the fix? What's your device? Please email the logcat file to ankulua@gmail.com ankulua.boards.net/thread/1319/faq#crashEdit: will release the version for Android 11 in one week.
|
|
|
Post by draper on Sept 22, 2020 3:46:24 GMT
Hi Ankulua,
Just installed the Pro APK on the latest LD player. All else works fine apart from Ankulua Pro, where the screen tears and the visuals go completely spoilt with horizontal colored lines all over this app. When using it with scripts, Ankulua again and again keeps restarting.
Let me know how, I can share a screenshot.
No such issues with Bluestacks, can you check please.
LD Player Version - 4.0.36
|
|
|
Post by AnkuLua on Sept 22, 2020 9:59:04 GMT
Hi Ankulua, Just installed the Pro APK on the latest LD player. All else works fine apart from Ankulua Pro, where the screen tears and the visuals go completely spoilt with horizontal colored lines all over this app. When using it with scripts, Ankulua again and again keeps restarting. Let me know how, I can share a screenshot. No such issues with Bluestacks, can you check please. LD Player Version - 4.0.36 Check if assigning more memory to the emulator solve the problem. Or you can fall back to previous version. We note that new versions of LD player are with some problems.
|
|
ATG
Junior Member
Posts: 79
|
Post by ATG on Sept 22, 2020 23:28:03 GMT
i find v4.0.25 is more stable for running ankulua and the game.
|
|
|
Post by edmarbantogon on Sept 26, 2020 3:27:26 GMT
I need to remove limits
|
|
|
Post by demonic on Sept 26, 2020 3:43:18 GMT
AnkuLua Pro2 shuts down as it begins to load. I have a new subscription (2 weeks into a 2 month subscription)
I have restarted my phone, uninstall then reinstalled AnkuLua Pro2, Downloaded the latest version then uninstalled and reinstalled AnkuLua. Nothing has worked.
I am using a Pixel 3 with the latest Android update.
Please help resolve.
|
|
|
Post by AnkuLua on Sept 27, 2020 5:43:18 GMT
AnkuLua Pro2 shuts down as it begins to load. I have a new subscription (2 weeks into a 2 month subscription) I have restarted my phone, uninstall then reinstalled AnkuLua Pro2, Downloaded the latest version then uninstalled and reinstalled AnkuLua. Nothing has worked. I am using a Pixel 3 with the latest Android update. Please help resolve. Please use the latest version. www.dropbox.com/s/819g4qiobz0y8x7/AnkuLuaPro2.v8.8.1.apk?dl=1
|
|
|
Post by AnkuLua on Sept 27, 2020 5:44:14 GMT
What kind of limits? Some scripts need additional subscription.
|
|
|
Post by stroff on Sept 27, 2020 6:32:01 GMT
For some reason everytime I go to activate it says I'm out of licenses.
|
|
|
Post by AnkuLua on Sept 27, 2020 8:14:42 GMT
For some reason everytime I go to activate it says I'm out of licenses. Which script did you use? Some scripts need script licenses.
|
|