tinok, I have one more question. Is there's a way to have loop within the loop? Say, if I wanted to loop clicks #1-10 for 20 times and *then* click #11-15, is there's a way to do so? I've tried having 400+ clicknum and assign coordinates for each to simulate the effect, but my phone just can't handle that much script at once it seems . Any help (or walkaround) would be much appreciated!
You can do that by breaking the original for-loop into 2 for-loops. For example:
for j=1,20 do -- loop for 20 times, also don't forget to use different variable names for nested for loops for i=1,10 do -- click #1-#10 -- clik click click end end for i=11,15 do -- click#11-#15 click click click end
Hei. I downloaded the script, I moved it to my AnkuLua folder on my phone but how do I edit the clicks? I don't know how do I get to that pop-up where you can select the number of clicks and the location. With AnkuLua app I can only start and stop the script but how do I edit it?
Hi, I was trying to implement this for pokemon go using bubble strat where I just need a quick burst of taps on the gym screen but using the cintinueClick option taps way too fast for the game to recognise the taps by the looks of it. Is their a way to implement in the script a way to slow down the intervals for continueclick ?
Well after some experimenting and not really knowing how the values worked with continueclick I was able to come up with an acceptable solution of changing it to setContinueClickTiming(1,100) which effectively taps slow enough to register as "fast finger taps" for 10 seconds - just enough time to startthe fight, beat the pokemon and stop by the end of the battle screen to start again (different values made continue click spam for up to a minute or more!!) Ideally I would like to adjust it to not make continue click last so long but still tap at a moderate speed.
v1.1: - Added Random offset - Enter your own # of clicks
v1.0: - First release
How to use: 1. Enter number of clicks location. 2. Enter XY coordinate for each click location, wait time between click locations (in seconds), continuous click or single click, 3. Enjoy
Note: - If continuous is checked, the script will click at the location for 100 times (using continueClick()) - Check Randomize if you want the script to perform random clicks about the original location. Be sure to enter a random offset (in pixel), the new coordinate will be XY ± "your random offset range". - The script will keep clicking until you stop it.
What can you do with this? - Anything that needs to be clicked at a fixed coordinate like farming stuff in RPG games, or watch ad for free gems in some gems...
I spent 5 hours to understand how it works and I was still able to start it, I got an error all the time. can you explain to me what and where exactly I need to change in order for the script to work. Скрипт завершен: Ошибка скрипта: luaj.o: /storage/emulated/0/Download/autoclicker-1.1/autoclicker-1.1/autoclicker.lua:5 `setImmersiveMode(true)` attempt to call a nil value (global 'setImmersiveMode') level = 1, const = 52, proto = 0, upval = 1, vars = 11, code = 223 CALL v0..v1 ; PC 2 CODE 0100401D OP 29 A 0 B 2 C 1 Bx 1025 sBx -130046 stack traceback: /storage/emulated/0/Download/autoclicker-1.1/autoclicker-1.1/autoclicker.lua:5 in main chunk [Java]: in ? at luaj.LuaValue.a(src:2835) at luaj.LuaValue.Z(src:1966) at luaj.LuaValue.a(src:1419) at luaj.LuaClosure.a(src:534) at luaj.LuaClosure.l(src:160) at android.ext.Script.d(src:6056) at android.ext.Script$ScriptThread.run(src:5785)