|
Post by Phenomenal on Feb 5, 2016 2:59:10 GMT
My standard capture is going to be a 1920
|
|
|
Post by Phenomenal on Feb 6, 2016 3:03:39 GMT
Also my width res is 1080, not a multiple of 320 will this be an issue for sharing scripts to this phone It depends. Normally, it should not be an issue. What am I doing wrong I'm just following the example with a different application
|
|
|
Post by AnkuLua on Feb 6, 2016 3:39:18 GMT
Please post your script with text. Hard to see what's wrong in your pictures.
|
|
|
Post by zioncore on Feb 8, 2016 8:34:36 GMT
When i download the zip file for Seven knights on my phone it says its a BIN file not a ZIP file. why is this?
|
|
|
Post by zioncore on Feb 8, 2016 8:40:27 GMT
When i download the zip file for Seven knights on my phone it says its a BIN file not a ZIP file. why is this? I figured out a solution. downloaded it on my pc and emailed it to myself.
|
|
|
Post by AnkuLua on Feb 9, 2016 0:29:27 GMT
When i download the zip file for Seven knights on my phone it says its a BIN file not a ZIP file. why is this? You can rename it to zip. Then unzip with winzip.
|
|
|
Post by AnkuLua on Apr 6, 2016 0:48:57 GMT
Is there any way to use a continueClick() sequence with an image. Something such as continueClick("image.png") returns invalid. I'm trying to get insanely fast clicks for a game called Kept Man Life. My thought was to allow it to click a specific image from the game. Using something like click("1.png") works alone, setting multiple of them works very slowly, I am looking for something quick such as your Tap Titans Script. Use continueClick("image.png", times). Such as continueClick("image.png",100) -- continue click on image.png for 100 times
|
|
|
Post by newbguy on Apr 26, 2016 14:40:34 GMT
Sorry if this seems to be a very stupid question, but when using images, does the app identify it as it is or anything similar to it? Let's say that the image that i'm using is a transparent circle, then the background image comes in to play as well, will it stop working if the background image changes? TIA!
|
|
|
Post by AnkuLua on Apr 26, 2016 14:59:09 GMT
Sorry if this seems to be a very stupid question, but when using images, does the app identify it as it is or anything similar to it? Let's say that the image that i'm using is a transparent circle, then the background image comes in to play as well, will it stop working if the background image changes? TIA! Using similar to set the similarity click(Pattern("target.png"):similar(0.9)) -- similarity is 0.9 click(Pattern("target.png"):similar(0.5)) -- similarity is 0.5, easier to find the match
If the target image is big enough, you can just crop part of the image without background.
|
|
|
Post by tribalwind on May 10, 2016 21:00:17 GMT
edit :hello, im new to lua, i need some help please, i try to make a script who scan for monster and click them to attack on a 2d rpg,
i use this :
a = 1 while (a == 1) do click("target.png") wait (2000) end
when i launch the script he find 1 target and kill him (1 time) but no repeat or rescan to find others target i dont know what is wrong ?
|
|
|
Post by AnkuLua on May 10, 2016 23:55:57 GMT
wait(2000) is too long, 2000 seconds. try this
while (true) do existsClick("target.png") end
|
|
|
Post by tribalwind on May 11, 2016 13:14:37 GMT
wait(2000) is too long, 2000 seconds. try this while (true) do existsClick("target.png") end Thanks you. Its not easy. And please how can i use the "if statement" to click a target if in a region or else anywhere ? Like : Chara = Region(480,272,200,200) if find("target.png",Chara) == true Click(Chara) else existsClick("target.png") end I have no idea about the right synthax, i hope you understand what i mean ,my english is primitive sorry. Thanks .
|
|
|
Post by AnkuLua on May 11, 2016 13:41:54 GMT
wait(2000) is too long, 2000 seconds. try this while (true) do existsClick("target.png") end Thanks you. Its not easy. And please how can i use the "if statement" to click a target if in a region or else anywhere ? Like : Chara = Region(480,272,200,200) if find("target.png",Chara) == true Click(Chara) else existsClick("target.png") end I have no idea about the right synthax, i hope you understand what i mean ,my english is primitive sorry. Thanks . Chara = Region(480,272,200,200) if (Chara:find("target.png")) then Click(Chara) else existsClick("target.png") end
Anyway, the behavior is strange. Make sure that you want to click on region Chara, not other target.
|
|
|
Post by tribalwind on May 12, 2016 7:03:34 GMT
thanks, well i try to scan 4 tiles around the player (up,down,left,right) before scanning the rest of the screen, because if there is monsters who blocking those tiles, player cant move to attack random target. i used this :
chara = Region(410,200,200,200) mr = "mummy.png" ml = "mummy1.png"
while (true) do
if (chara:exists(ml,1)) or (chara:exists(mr,1)) then chara:highlight() click(chara:exists(ml,1)) click(chara:exists(mr,1)) else
existsClick(ml)
existsClick(mr) end end end
please i got a last question , everytime i check for two sprite, left sprite or right sprite, cause monster can be faced left or right , i just wonder if i can check for two sprites with one exists or ExistsClick ?
thanks you.
|
|
|
Post by AnkuLua on May 12, 2016 9:59:25 GMT
You need different images, one for left and the other for right. Then use existsClick for each image.
|
|