Which mode did you use?
root? daemon? or accessibility?
Try others.
I do use BlueStacks lated version in HyperV, rooted.
I will checkout the issue in Accessibility mode seen this will be the default on future devices.
However, in my previous post I had issues with the fact there is no killApp() function in accessibility.
The solution for this, correctly suggested is to use some keyevents and the right swipe, but
the swipe is device depended, so a my script will fail if I do not define all devices inside the code.
Rule of thumb here is that any function defined in Ankulua should work device independed and correctly.
Now something as simple as a swipe that should be hairfine correctly, based on the screenresolution
seems to swipe pretty rough with random results.
And now I should try this using different modes?
Honestly I think those functions should operate properly in ANY mode.
Swiping is a very important function and should be pixel fine.
I try to make a mini script to show the issue
Because same time I can show you something pretty strange. When I launch the game,
after a few time I need to kill it and restart because INSIDE the game, it seems also that
the screen begins to distord into that bad way, you can't recognise anymore the images.
In that case, I need to relaunch the game and all is back, sharp. So it is game related,
not related to the emulator. And this is on multiple PC with the emulator and other emulators.
So that is why I used as workaround the killapp, launch..... or my script fails to detect anything
So maybe that is the reason the swipe does not function properly as well...
I have this issue increasing memory in the emulator, changing OpenGL to DirectX, using hardware accelleration,
software accelleration, no accelleration,....
I could try to make better a better workaround if there was some thing as:
1) refresh/clean cache screen-function
2) clean cache app
3) clean data app
I make a test case with minimal script, so if You want You can check the issue.
I am a paying user and I do like to pay somehow for the future development of Ankalua, which is pretty awesome.
This is really a great job and nice piece of software.
I would like to see ALL functions run in Accessibility, so root and daemon mode can be ditched all together to make
development easier.
I also don't see that LABELS do work in the LUA code. I can not perform goto ::label::
I do not like goto statements however in lua there is no 'continue' in a loop, so at moments you need to use the goto
function or code becomes complicated with another while (true) ..end loop using break to mimic it... So labels should
also work in ankalua.
Secondly, I suggest to include a price friendly license for developers to be able to run 2 running versions of Ankalua,
if you register of course as developer, because you have the computer+emulator to use in 'development state' and
the testing device (mobile device) to use in 'staging state' and ok, to run in production you need a third one.
So you need 2-3 versions to run with one license (or based on your registered email). I can understand endusers of the
script need their single license, but for developers it should be great to have a developers license and additional access
to a developers section in the boards so we can communicate in a more private matter, as to help each other. Of course developers
should proof they do code as well with some little snippets. And I suggest to register the dev details in another site, not public on
this board seen some do write bots and some games do not like it and do forbid it in the terms. Maybe that is also reason some
do not provide a demo in the competition for free licenses !
Development licenses should not be the income model, but the enduser license to run the scripts. Having more developers to write bots
will increase automatically the income seen to run the bot you need a license.
I code for about a year now lua (I am a senior coder since 30 yrs in other languages) using ankalua and no doubt,
this piece of software is just great. You should have more then a board seen this piece of software is a jewel to test apps or write bots.
Like a website, where the API is published, developers can register for their special license, maybe a section to share code, library code (function/classes)
and a section to promote robust written bots with their license fee and the license fee for ankalua in some store... etc.