Jump to content

Autotouch Tutorial


Go to solution Solved by Mokujin,

13 posts in this topic

Recommended Posts

Posted

Hi guys, I'm looking for someone that could teach me how to use the autotouch and make a custom script myself. Recording and playing is simple but I need to make a better bot by checking the image and pressing on different buttons and sometimes I would need to slide the page downwards to see the item.

 

Anyone could help me out? Because from what I see from the app maker site, there isn't a help to me =(. Please help me out guys!

  • Solution
Posted

I use autotouch for AppTrailers all you really have to do is

1. Record yourself doing the designated action so if i wanted autotouch to close my app i would double tap the home button and open the app switcher then close the app.

2. Stop the recording and review it by playing it once to see if it meets your standards if not tweak the speeds and intervals or just record it again.

 

Thats basically it reply to me if you need more help :D

Posted (edited)

I use autotouch for AppTrailers all you really have to do is

1. Record yourself doing the designated action so if i wanted autotouch to close my app i would double tap the home button and open the app switcher then close the app.

2. Stop the recording and review it by playing it once to see if it meets your standards if not tweak the speeds and intervals or just record it again.

 

Thats basically it reply to me if you need more help :D

hello there! yea i understand about the record and playing, I need to do more in depth editing of the script and add some extended functions into it. Functions likes findimage and and where can i get the directory to the image and all. Because for my game, I need to move around and press buttons and its not always fixed you see. =)

Updated by MiloIce
Posted

hello there! yea i understand about the record and playing, I need to do more in depth editing of the script and add some extended functions into it. Functions likes findimage and and where can i get the directory to the image and all. Because for my game, I need to move around and press buttons and its not always fixed you see. =)

You understand about touchdown , touchup , and usleep yet?

Posted

You understand about touchdown , touchup , and usleep yet?

yes I understand those already. just the more complex ones like how to use Screenshot(filepath) and how to use findimage etc.

Posted

There's a tutorial on their official site btw.

Posted

erm.. I know there are tutorials for the record and play part, I know how those work but its just the screenshot / find images/ find image tap functions that I can't find any tutorial teaching them >_>

Posted

3.2.12. screenshot(filePath)

Take a screenshot and save it to the specified file path.

  • Params
    • filePath: The path that you want the screenshot be saved
  • Return
    • None
  • Examples
screenshot("/var/screenshot1.png");
-- Take a screenshot and save it to the specified path.

____________________________________________________________________________________________

 

 

3.2.19. findImage {imagePath, count, fuzzy, ignoreColors}

Find the regions similar to the specified image on the screen, return the top-left coordinates of the regions as table.

  • Params
    • imagePath: the path of the small image you want to find out from the screen, such as the spirit image in the game. (REQUIRED)
    • count: how many no more than you want to find out, default is 0, means all the fit ones in the screen should be found.count=1 means only the first fit one should be found, count=2 means the first two should be found.It will be faster when you set this parameter to a small value. (OPTIONAL).
    • fuzzy: the degree of fuzzy matching when finding, default is 1, means match exactly, fuzzy=0.5 means match 50%. (OPTIONAL)
    • ignoreColors: array(table in lua) type of colors will be ignored when finding. (OPTIONAL).
  • Return
    • locations: the top-left coordinates of the regions these similar to the specified image. Looks like {{x1, y1}, {x2, y2}, …}.
  • Examples
-- example 1:
local result = findImage {imagePath="/var/spirit.png", count=5};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 2:
local result = findImage {imagePath="/var/spirit.png", fuzzy=0.6};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 3:
local result = findImage {imagePath="/var/spirit.png", ignoreColors={0xffffff, 0x2b2b2b}};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 4:
local result = findImage {imagePath="/var/spirit.png", count=1, fuzzy=0.9, ignoreColors={0x0000ff}};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

____________________________________________________________________________________________

 

 

3.2.20. findImageTap {imagePath, count, fuzzy, ignoreColors}

This function is almost the same as the findImage, the difference is findImageTap finds the regions then taps them orderly with 0.016 second interval, and it doesn’t return anything.

  • Params
    • imagePath: the path of the small image you want to find out from the screen, such as the spirit image in the game. (REQUIRED)
    • count: how many no more than you want to find out, default is 0, means all the fit ones in the screen should be found.count=1 means only the first fit one should be found, count=2 means the first two should be found.It will be faster when you set this parameter to a small value. (OPTIONAL).
    • fuzzy: the degree of fuzzy matching when finding, default is 1, means match exactly, fuzzy=0.5 means match 50%. (OPTIONAL)
    • ignoreColors: array(table in lua) type of colors will be ignored when finding. (OPTIONAL).
  • Return
    • None
  • Examples
-- example 1:
          findImageTap {imagePath="/var/spirit.png", count=5};

          -- example 2:
          findImageTap {imagePath="/var/spirit.png", fuzzy=0.6};

          -- example 3:
          findImageTap {imagePath="/var/spirit.png", ignoreColors={0xffffff, 0x2b2b2b}};

          -- example 4:
          findImageTap {imagePath="/var/spirit.png", count=1, fuzzy=0.9, ignoreColors={0x0000ff}};
Posted

3.2.12. screenshot(filePath)

Take a screenshot and save it to the specified file path.

  • Params
    • filePath: The path that you want the screenshot be saved
  • Return
    • None
  • Examples
screenshot("/var/screenshot1.png");
-- Take a screenshot and save it to the specified path.

____________________________________________________________________________________________

 

 

3.2.19. findImage {imagePath, count, fuzzy, ignoreColors}

Find the regions similar to the specified image on the screen, return the top-left coordinates of the regions as table.

  • Params
    • imagePath: the path of the small image you want to find out from the screen, such as the spirit image in the game. (REQUIRED)
    • count: how many no more than you want to find out, default is 0, means all the fit ones in the screen should be found.count=1 means only the first fit one should be found, count=2 means the first two should be found.It will be faster when you set this parameter to a small value. (OPTIONAL).
    • fuzzy: the degree of fuzzy matching when finding, default is 1, means match exactly, fuzzy=0.5 means match 50%. (OPTIONAL)
    • ignoreColors: array(table in lua) type of colors will be ignored when finding. (OPTIONAL).
  • Return
    • locations: the top-left coordinates of the regions these similar to the specified image. Looks like {{x1, y1}, {x2, y2}, …}.
  • Examples
-- example 1:
local result = findImage {imagePath="/var/spirit.png", count=5};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 2:
local result = findImage {imagePath="/var/spirit.png", fuzzy=0.6};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 3:
local result = findImage {imagePath="/var/spirit.png", ignoreColors={0xffffff, 0x2b2b2b}};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

-- example 4:
local result = findImage {imagePath="/var/spirit.png", count=1, fuzzy=0.9, ignoreColors={0x0000ff}};
for i, v in pairs(result) do
    log("x:" .. v[1] .. "y:" .. v[2]);
end

____________________________________________________________________________________________

 

 

3.2.20. findImageTap {imagePath, count, fuzzy, ignoreColors}

This function is almost the same as the findImage, the difference is findImageTap finds the regions then taps them orderly with 0.016 second interval, and it doesn’t return anything.

  • Params
    • imagePath: the path of the small image you want to find out from the screen, such as the spirit image in the game. (REQUIRED)
    • count: how many no more than you want to find out, default is 0, means all the fit ones in the screen should be found.count=1 means only the first fit one should be found, count=2 means the first two should be found.It will be faster when you set this parameter to a small value. (OPTIONAL).
    • fuzzy: the degree of fuzzy matching when finding, default is 1, means match exactly, fuzzy=0.5 means match 50%. (OPTIONAL)
    • ignoreColors: array(table in lua) type of colors will be ignored when finding. (OPTIONAL).
  • Return
    • None
  • Examples
-- example 1:
          findImageTap {imagePath="/var/spirit.png", count=5};

          -- example 2:
          findImageTap {imagePath="/var/spirit.png", fuzzy=0.6};

          -- example 3:
          findImageTap {imagePath="/var/spirit.png", ignoreColors={0xffffff, 0x2b2b2b}};

          -- example 4:
          findImageTap {imagePath="/var/spirit.png", count=1, fuzzy=0.9, ignoreColors={0x0000ff}};

Hi there bro, I know these are provided.. I'm not a it smart guy... I don't know how to get IOS image paths therefore i can't do the image path thing.. for the screenshot, I tried to run on the script but nothing seems to be done and theres no screenshots in my photo album as well =(. I just dont know how to fit them in as codes.. >_>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Our picks

    • Disney Speedstorm v1.12.0 +1 Jailed Cheat [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Jailbreak required hack(s): [Mod Menu Hack] Disney Speedstorm v1.5.0 +2 Cheats [ Unlimited Nitro ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 79 replies
    • Disney Speedstorm v1.12.0 +1 Cheat [ Unlimited Nitro ]
      Modded/Hacked App: Disney Speedstorm By Gameloft
      Bundle ID: com.gameloft.disneyspeedstorm
      iTunes Store Link: https://apps.apple.com/us/app/disney-speedstorm/id6449708682?uo=4


      Hack Features:
      - Unlimited Nitro -> Will not decrease.
      - Instant Nitro Max


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Disney Speedstorm v1.5.0 +2 Jailed Cheats [ Unlimited Nitro ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 72 replies
    • Mystery Matters v2.9.1 +6 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

      Hack Features:
      - Freeze Coins
      - Freeze Stars
      - Freeze Lives
      - Freeze Moves

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 44 replies
    • Mystery Matters v2.9.1 +6 Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Mystery Matters By Playrix
      Bundle ID: com.playrix.mystery-matters
      iTunes Store Link: https://apps.apple.com/us/app/mystery-matters/id6450447751
       

      Hack Features:
      - Freeze Coins
      - Freeze Stars
      - Freeze Lives
      - Freeze Moves

      VIP
      Note - These features will get you banned from teams/clans.
      - Unlimited Coins -> Earn or spend some.
      - Unlimited Stars -> Earn some.
      • 46 replies
    • Smashero.io - Hack N Slash RPG v1.16.2 +2 Jailed Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Jailbreak required hack(s): [Mod Menu Hack] Smashero.io - Hack N Slash RPG v3.3 +2 Cheats [ God / O-HK ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 28 replies
    • Smashero.io - Hack N Slash RPG v1.16.2 +2 Cheats [ God / O-HK ]
      Modded/Hacked App: Smashero.io - Hack N Slash RPG By CANNON CRACKER, Inc.
      Bundle ID: com.cc.Smashero
      iTunes Store Link: https://apps.apple.com/us/app/smashero-io-hack-n-slash-rpg/id6505129091?uo=4


      Hack Features:
      - God Mode
      - One-Hit Kill


      Non-Jailbroken & No Jailbreak required hack(s): [No Jailbreak Required] Smashero.io - Hack N Slash RPG v3.3 +2 Jailed Cheats [ God / O-HK ] - Free Non-Jailbroken IPA Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 56 replies
    • Goal Battle - Soccer Games v4.527 +2 Jailed Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
      • 2 replies
    • Goal Battle - Soccer Games v4.527 +2 Cheats [ Dumb Opponents ]
      Modded/Hacked App: Goal Battle - Soccer Games By Mage Oyun Teknolojileri Anonim Sirketi
      Bundle ID: com.mage.goalbattle
      App Store Link: https://apps.apple.com/us/app/goal-battle-soccer-games/id6477293095?uo=4

       
       

      🤩 Hack Features

      - Dumb Opponents
      - All Avatars Unlocked
      • 5 replies
    • Episode: Reality Stars v1.19 +2++ Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
      • 84 replies
    • Episode: Reality Stars v1.19 +2++ Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Episode: Reality Stars By Episode Interactive, LLC
      Bundle ID: com.sodeepilabs.glamsquad
      App Store Link: https://apps.apple.com/ph/app/episode-reality-stars/id1604253094?uo=4


      Hack Features:
      - Unlimited Currencies -> Head into Settings and toggle the License button. Press on Hero to add 99K currencies.
      - Time Cheat Menu -> Head into Settings and toggle the Terms of Service button. Toggle to your liking.
      • 30 replies
    • Cooking World: Cooking Games v1.6.2 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4
       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature

      - Lives [ Linked With Exp ]
      • 10 replies
    • Cooking World: Cooking Games v1.6.2 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Cooking World: Cooking Games By MagicSeven Co., Ltd
      Bundle ID: com.cooking.world.chef.craze.restaurant.fever
      iTunes Store Link: https://apps.apple.com/us/app/cooking-world-cooking-games/id6469040590?uo=4

       

      🤩 Hack Features

      - Gems [ Earn Some ]
      - Coins [ Earn Some ]
      - Exp [ Earn Some + Rewards ] Breakable Feature 

      - Lives [ Linked With Exp ]
      • 11 replies
×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines