i found 5 month old lua script automatically farm currency , items in mobile game called soda dungeon, script finicky when found , wouldn't work i'm trying fix little lua experience.
here code ive edited: http://pastebin.com/u9ymej0z
it runs fine until tries start dungeon , error:
runtime error: com.appautomatic.ankulua.f: can't find dungeon_level_up.png stack traceback: [c]: in function 'continueclick' ?: in function <?:291> (tail call):? /storage/extsdcard/soda_dungeon/main.lua: 217: in function 'main' /storage/extsdcard/soda_dungeon/main.lua: 239: in main chunk
any appreciated.
i don't know ankulua quick session our best buddy google gave me this:
http://ankulua.boards.net/thread/13/advanced-methods
http://ankulua.boards.net/thread/6/objects-methods-introduction-sikuli-compatible
they give functions:
continueclick(x, y, xrandom, yrandom, times) continueclick(psmrl, times [,timeout])
they continueclick click on position given x,y or psmrl, resolve in postion well.
you enter string contains image name.
i assume message
can't find dungeon_level_up.png
is rather exception text of find(ps) function inside ankulua problem finding image file. replace image name coordinates , check happening.
i not trust function call in script author of script added comment not know continueclick returns. maybe did not know how use well.
the documentation says:
there no return value.
btw, author of ankulua offered support via mail. why don't ask him? i'm sure he'll of better here.