Jump to content

Autotouch Tutorial


Go to solution Solved by Mokujin,

13 posts in this topic

Recommended Posts

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!

Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/
Share on other sites

  • Solution

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

Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/#findComment-200595
Share on other sites

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
Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/#findComment-200618
Share on other sites

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?

Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/#findComment-200647
Share on other sites

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}};
Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/#findComment-201100
Share on other sites

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.. >_>

Link to comment
https://iosgods.com/topic/7544-autotouch-tutorial/#findComment-201106
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below. For more information, please read our Posting Guidelines.
Reply to this topic... Posting Guidelines

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Our picks

    • Immortal Rising Cheats v2.4.9 +4
      Modded/Hacked App: Immortal Rising By MOBIRIX
      Bundle ID: com.badbeans.DarkIdle
      iTunes Store Link: https://apps.apple.com/us/app/immortal-rising/id1588863558?uo=4


      Hack Features:
      - God Mode
      - One Hit Kill
      - PREMIUM
      - Freeze Currencies*

      *Abuse = Ban


      iOS Hack Download Link: https://iosgods.com/topic/178921-immortal-rising-cheats-v222-4/
      • 163 replies
    • Travel Town - Merge Adventure Cheats v2.12.852 +1
      Modded/Hacked App: Travel Town By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/148953-travel-town-v231-jailed-cheats-1/

      iOS Hack Download Link: https://iosgods.com/topic/148951-travel-town-cheats-all-versions-1/
      • 120 replies
    • BitLife - Life Simulator Cheats v3.17.1 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,344 replies
    • Otherworld Three Kingdoms Cheats v1.0.22 +4
      Modded/Hacked App: Otherworld Three Kingdoms By SuperPlanet corp.
      Bundle ID: com.superplanet.samworld
      iTunes Store Link: https://apps.apple.com/us/app/otherworld-three-kingdoms/id6496345383?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Instant Skills


      iOS Hack Download Link: https://iosgods.com/topic/183743-otherworld-three-kingdoms-cheats-v103-3/
      • 98 replies
    • Delusion: Tactical Idle RPG Cheats v2.3.1 +3
      Modded/Hacked App: Delusion: Tactical Idle RPG By SuperPlanet corp.
      Bundle ID: com.superplanet.delusion
      iTunes Store Link: https://apps.apple.com/us/app/delusion-tactical-idle-rpg/id6496342351?uo=4


      Hack Features:
      - Multiply Attack
      - God Mode
      - Freeze Currencies

      NOTE: Do not abuse or buy ViP just for this cheats


      iOS Hack Download Link: https://iosgods.com/topic/183614-delusion-tactical-idle-rpg-cheats-v1027-3/
      • 58 replies
    • The Seven Deadly Sins: Idle Cheats v1.8.1 +4
      Modded/Hacked App: The Seven Deadly Sins: Idle By Netmarble Corporation
      Bundle ID: com.netmarble.nanarise
      iTunes Store Link: https://apps.apple.com/us/app/the-seven-deadly-sins-idle/id6469305531?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Modify Range


      iOS Hack Download Link: https://iosgods.com/topic/185131-the-seven-deadly-sins-idle-cheats-v101-3/
      • 86 replies
    • Hill Climb Racing 2 v1.64.2 Cheats +3
      Modded/Hacked App: Hill Climb Racing 2 By Fingersoft
      Bundle ID: com.fingersoft.hillclimbracing2
      iTunes Store Link: https://apps.apple.com/us/app/hill-climb-racing-2/id1146465836?uo=4


      Hack Features:
      - Freeze Coins
      - Freeze Gems
      - Freeze Scraps


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/108295-hill-climb-racing-2-v1611-jailed-cheats-2/


      iOS Hack Download Link: https://iosgods.com/topic/108298-hill-climb-racing-2-v1612-cheats-3/
      • 2,153 replies
    • Monster Super League By Four Thirty Three v3.8.7 - [ x Player Damage & More ]
      Modded/Hacked App: Monster Super League By Four Thirty Three
      Bundle ID: com.ftt.msleague
      iTunes Store Link: https://itunes.apple.com/us/app/monster-super-league/id1092463295


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iFile / Filza / iFunBox / iTools or any other file managers for iOS.
      - Cydia Substrate (from Cydia).
      - PreferenceLoader (from Cydia).


      Hack Features:
      - x Player Damage - x1 - 100
      - x Player Defense - x1 - 100
      - Inf.Skills

      All features are unlinked and only for you player, you!
      • 1,262 replies
    • MARVEL Puzzle Quest: Hero RPG v317.0.696394 +2 Jailed Cheats [ One-Hit Kill ]
      Modded/Hacked App: MARVEL Puzzle Quest: Hero RPG By D3PA
      Bundle ID: com.d3p.yorkMPQ
      iTunes Store Link: https://apps.apple.com/us/app/marvel-puzzle-quest-hero-rpg/id618349779


      Hack Features:
      - God Mode -> Linked. Wait until it's the enemies turn then enable this feature.
      - One-Hit Kill -> Linked. Wait until it's your turn then enable this feature.


      Jailbreak required hack(s): [Mod Menu Hack] MARVEL Puzzle Quest: Hero RPG v264.0.617994 +2 Cheats [ One-Hit Kill ] - 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/
      • 91 replies
    • MARVEL Puzzle Quest: Hero RPG v317.0.696394 +2 Cheats [ One-Hit Kill ]
      Modded/Hacked App: MARVEL Puzzle Quest: Hero RPG By D3PA
      Bundle ID: com.d3p.yorkMPQ
      iTunes Store Link: https://apps.apple.com/us/app/marvel-puzzle-quest-hero-rpg/id618349779


      Hack Features:
      - God Mode -> Linked. Wait until it's the enemies turn then enable this feature. This feature will auto update itself once a new version of the app is released!
      - One-Hit Kill -> Linked. Wait until it's your turn then enable this feature. This feature will auto update itself once a new version of the app is released!


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] MARVEL Puzzle Quest: Hero RPG v264.0.617994 +1 Jailed Cheat [ One-Hit Kill ] - 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/
      • 52 replies
    • MeChat v4.29.1 +1 Jailed Cheat [ Unlimited Gems ]
      Modded/Hacked App: MeChat By PlayMe Studio
      Bundle ID: world.playme.mechat
      iTunes Store Link: https://apps.apple.com/us/app/mechat/id1536157979
       

      Hack Features:
      - Unlimited Gems -> Will increase instead of decrease.
      - Unlimited Gems -> Earn some then uninstall this hack. DO NOT SPEND ANY GEMS WHILST THIS FEATURE IS ENABLED! [ VIP ]


      Free Jailbreak required hack(s): [Mod Menu Hack] [Free] MeChat - Love Secrets v3.3.2 +1 Cheat [ Unlimited Gems ] - Free Jailbroken Cydia Cheats - iOSGods
      ViP Jailbreak required hack(s): [Mod Menu Hack] MeChat - Love Secrets v3.3.2 +1 Cheat [ Unlimited Gems ] - ViP 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
      • 707 replies
    • Good Pizza, Great Pizza v5.20.0 +2 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Good Pizza, Great Pizza By TAPBLAZE, LLC
      Bundle ID: com.tapblaze.pizzabusiness
      iTunes Store Link: https://apps.apple.com/us/app/good-pizza-great-pizza/id911121200?uo=4


      Hack Features:
      - Unlimited Cash
      - Unlimited Diamonds


      Jailbreak required hack(s): [Mod Menu Hack] Good Pizza, Great Pizza v5.5.6 +2 Cheats [ Unlimited Currencies ] - 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/
      • 212 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