draly
New Member
Posts: 11
|
Post by draly on Jan 18, 2020 12:01:26 GMT
Hello there, i just discovered i'm using version 2.8.8 of this script, whereas latest version from first post seems to be 2.8.3. I can't remember where (or when) i downloaded v2.8.8 as i don't use this script very often, may i downgrade to v2.8.3 ? Or maybe i'm missing something lol !
|
|
|
Post by AnkuLua on Jan 18, 2020 15:14:15 GMT
Hello there, i just discovered i'm using version 2.8.8 of this script, whereas latest version from first post seems to be 2.8.3. I can't remember where (or when) i downloaded v2.8.8 as i don't use this script very often, may i downgrade to v2.8.3 ? Or maybe i'm missing something lol ! The latest version is v2.8.8. It's with the latest version of AnkuLua. You can download the other version and overwrite the original one. But why?
|
|
draly
New Member
Posts: 11
|
Post by draly on Jan 18, 2020 15:35:53 GMT
Hello there, i just discovered i'm using version 2.8.8 of this script, whereas latest version from first post seems to be 2.8.3. I can't remember where (or when) i downloaded v2.8.8 as i don't use this script very often, may i downgrade to v2.8.3 ? Or maybe i'm missing something lol ! The latest version is v2.8.8. It's with the latest version of AnkuLua. You can download the other version and overwrite the original one. But why? Oh, really no reason, it's just that if you refer to the first post of this topic, the most up to date version is 2.8.3, so I was just wondering where i got 2.8.8. I have no intention to use v2.8.3 now that you confirmed latest is 2.8.8, and that it is bundled with ankulua, that explains everything, thank you.
|
|
|
Post by twistedstatic on Feb 6, 2020 20:54:03 GMT
hey im using the snap and play script how can i make this command click 6 times with 2sec delay in between
------ 16 ----- touchList[index] = {target = "donategreen.png", region = Region(895, 1151, 152, 152), id = "donategreen", action='click(matchResult); wait(1)'} index = index + 1
thank you
|
|
|
Post by AnkuLua on Feb 7, 2020 0:08:58 GMT
hey im using the snap and play script how can i make this command click 6 times with 2sec delay in between ------ 16 ----- touchList[index] = {target = "donategreen.png", region = Region(895, 1151, 152, 152), id = "donategreen", action='click(matchResult); wait(1)'} index = index + 1 thank you Change the action to as following ------ 16 ----- touchList[index] = {target = "donategreen.png", region = Region(895, 1151, 152, 152), id = "donategreen", action='for i = 1, 6 do click(matchResult); wait(2) end'} index = index + 1
|
|
boxez
New Member
Posts: 2
|
Post by boxez on Feb 11, 2020 15:00:56 GMT
I want the script to find only the first image after that just tap as recorded position like a normal auto tap.
|
|
|
Post by AnkuLua on Feb 12, 2020 7:12:20 GMT
I want the script to find only the first image after that just tap as recorded position like a normal auto tap. Change the action to action = 'click(Location(100, 100)); wait(1.0); click(Location(200, 200)); wait(1.1); click(Location(300, 300)); wait(3.0); ' Change the location value and wait seconds as you want. You may get those value from record and play script.
|
|
|
Post by shining on Feb 18, 2020 5:18:39 GMT
ankulua , Please help I want if clicking 1 in the game will ask to buy energy I want it to go to 4 to skip and not do 2 and 3, return 1 and when my energy is full over time then auto do it 2 and 3 and 4 will not work
------ 1 ----- touchList[index] = {target = "1.png", region = Region(826, 451, 150, 150), id = "1", action = 'click'} index = index + 1 ------ 2 ----- touchList[index] = {target = "2.png", region = Region(804, 320, 150, 150), id = "2", action = 'click'} index = index + 1 ------ 3 ----- touchList[index] = {target = "3.png", region = Region(-50, 363, 150, 150), id = "3", action = 'click'} index = index + 1 ------ 4 ----- touchList[index] = {target = "4.png", region = Region(545, 385, 150, 150), id = "4", action = 'click'} index = index + 1
|
|
|
Post by AnkuLua on Feb 18, 2020 6:53:22 GMT
ankulua , Please help I want if clicking 1 in the game will ask to buy energy I want it to go to 4 to skip and not do 2 and 3, return 1 and when my energy is full over time then auto do it 2 and 3 and 4 will not work ------ 1 ----- touchList[index] = {target = "1.png", region = Region(826, 451, 150, 150), id = "1", action = 'click'} index = index + 1 ------ 2 ----- touchList[index] = {target = "2.png", region = Region(804, 320, 150, 150), id = "2", action = 'click'} index = index + 1 ------ 3 ----- touchList[index] = {target = "3.png", region = Region(-50, 363, 150, 150), id = "3", action = 'click'} index = index + 1 ------ 4 ----- touchList[index] = {target = "4.png", region = Region(545, 385, 150, 150), id = "4", action = 'click'} index = index + 1 Not really know what you want to do. It would be easier if you can share the pictures and video. Click 4 when find 1 ------ 1 ----- touchList[index] = {target = "1.png", region = Region(826, 451, 150, 150), id = "1", action = 'click(matchResult); existsClick("4.png")'} index = index + 1
|
|
|
Post by shining on Feb 18, 2020 12:03:17 GMT
( target 1 ["start"] and target 4 ["Buy energy"] *Not buy , target 2 and 3 in game ) *command only click
when the energy is not enough, the game will ask you to buy energy.
I want the script run when 1 "start" if there is enough energy to execute commands 2 and 3. *4 will not execute the command. And if 1 "start" but the game requires you to buy energy, the scenario will execute command 4, the until it has enough energy will execute commands 1, 2 and 3. Need u help , thank <3
|
|
|
Post by kurotamashi on May 1, 2020 1:49:04 GMT
is it possible to allow text input? i am new to lua. i looking for someone who can give full tutorial on it. i am software engineer. so i guess learning scripting if taught shouldn't be a hard thing.
|
|
|
Post by AnkuLua on May 1, 2020 10:27:25 GMT
|
|
|
Post by kurotamashi on May 1, 2020 12:20:45 GMT
|
|
|
Post by karachi on May 16, 2020 23:52:53 GMT
Is it possible to change the luar being run when image is detected?
Example: when "main.luar" found image stating the game encountered error, i will run "restart.luar" to restart the game and return to "main.luar" when in main menu.
|
|
|
Post by AnkuLua on May 17, 2020 14:58:11 GMT
Is it possible to change the luar being run when image is detected? Example: when "main.luar" found image stating the game encountered error, i will run "restart.luar" to restart the game and return to "main.luar" when in main menu. Yes. Say the image is called error.png Then change the action to touchList[index] = {target = "error.png", region = Region(642, 302, 352, 352), id = "error", action = 'dofile(luarPath .. "restart.luar"'}
|
|