Jump to content

Autotouch Tutorial


MiloIce
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
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
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
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
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
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
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

    • Gwen’s Getaway v1.5.0 +2 Jailed Cheats [ Unlimited Moves ]
      Modded/Hacked App: Gwen’s Getaway By Ubisoft
      Bundle ID: com.ubisoft.gwens.getaway.cozy.cabin.renovation.puzzle
      iTunes Store Link: https://apps.apple.com/us/app/gwens-getaway/id6450510272?uo=4


      Hack Features:
      - Unlimited Moves -> Will not decrease.
      - Unlimited In-Game Boosters -> Will not decrease.


      Jailbreak required hack(s): [Mod Menu Hack] Gwen’s Getaway v1.4.0 +3 Cheats [ Auto Win ] - 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/
      • 4 replies
    • Gwen’s Getaway v1.5.0 +3 Cheats [ Auto Win ]
      Modded/Hacked App: Gwen’s Getaway By Ubisoft
      Bundle ID: com.ubisoft.gwens.getaway.cozy.cabin.renovation.puzzle
      iTunes Store Link: https://apps.apple.com/us/app/gwens-getaway/id6450510272?uo=4


      Hack Features:
      - Unlimited Moves -> Will not decrease.
      - Unlimited In-Game Boosters -> Will not decrease.
      - Auto Win


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Gwen’s Getaway v1.4.0 +2 Jailed Cheats [ Unlimited Moves ] - 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/
      • 3 replies
    • Polygon Arena: Online Shooter v0.600 +2 Jailed Cheats [ Unlimited Ammo ]
      Modded/Hacked App: Polygon Arena: Online Shooter By SIRIUS GAMES YAZILIM ANONIM SIRKETI
      Bundle ID: com.polygon.arena
      iTunes Store Link: https://apps.apple.com/ph/app/polygon-arena-online-shooter/id6451040780?uo=4


      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - No Camera Shake


      Jailbreak required hack(s): [Mod Menu Hack] Polygon Arena: Online Shooter v0.365 +5 Cheats [ Damage & Defence ] - Free Jailbroken Cydia Cheats - iOSGods
      VIP version: [No Jailbreak Required] Polygon Arena v0.365 [+5] - No JB - ViP Non-Jailbroken Hacks & 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/
      • 12 replies
    • Polygon Arena: Online Shooter v0.600 +5 Cheats [ Damage & Defence ]
      Modded/Hacked App: Polygon Arena: Online Shooter By SIRIUS GAMES YAZILIM ANONIM SIRKETI
      Bundle ID: com.polygon.arena
      iTunes Store Link: https://apps.apple.com/ph/app/polygon-arena-online-shooter/id6451040780?uo=4


      Hack Features:
      - Unlimited Ammo -> Will not decrease.
      - No Camera Shake
      - Damage Multiplier
      - Defence Multiplier
      - Speed Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Polygon Arena: Online Shooter v0.365 +2 Jailed Cheats [ Unlimited Ammo ] - 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
    • Spell Masters v1.3.2 +1 Jailed Cheat [ God Mode ]
      Modded/Hacked App: Spell Masters By Wild Spark Oy
      Bundle ID: com.wildsparkgames.ricochet
      iTunes Store Link: https://apps.apple.com/us/app/spell-masters/id6448452145?uo=4


      Hack Features:
      - God Mode


      Jailbreak required hack(s): [Mod Menu Hack] Spell Masters v1.0.2 +1 Cheat [ Defence Multiplier ] - 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/
      • 10 replies
    • Spell Masters v1.3.2 +1 Cheat [ Defence Multiplier ]
      Modded/Hacked App: Spell Masters By Wild Spark Oy
      Bundle ID: com.wildsparkgames.ricochet
      iTunes Store Link: https://apps.apple.com/us/app/spell-masters/id6448452145?uo=4


      Hack Features:
      - Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Spell Masters v1.0.2 +1 Jailed Cheat [ God Mode ] - 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/
      • 28 replies
    • Little Piggy Defense v1.05.30 +1 Jailed Cheat [ God Mode ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - God Mode


      Jailbreak required hack(s): [Mod Menu Hack] Little Piggy Defense v1.00.11 +3 Cheats [ Damage & Defence ] - 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/
      • 40 replies
    • Little Piggy Defense v1.05.30 +3 Cheats [ Damage & Defence ]
      Modded/Hacked App: Little Piggy Defense By Game Duo Co.,Ltd.
      Bundle ID: net.gameduo.tbd
      iTunes Store Link: https://apps.apple.com/us/app/little-piggy-defense/id6467606457?uo=4


      Hack Features:
      - Damage Multiplier
      - Defence Multiplier
      - Tower Defence Multiplier


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Little Piggy Defense v1.00.11 +1 Jailed Cheat [ God Mode ] - 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/
      • 68 replies
    • Cookie Clickers v1.63.3 +7 Jailed Cheats [ MEGA HACK ]
      Modded/Hacked App: Cookie Clickers By Tiny Games srl
      Bundle ID: it.junglestudios.cookieclicker
      iTunes Store Link: https://apps.apple.com/us/app/cookie-clickers/id703439482?uo=4


      Hack Features:
      - Cookie Multiplier
      - Unlimited Golden Cookies
      - Unlimited Skip Ad Tokens
      - Unlimited Time Warps
      - Unlimited Chest Keys
      - Free Card Upgrades
      - Free CPS Item Upgrades


      Jailbreak required hack(s): [Mod Menu Hack] Cookie Clickers v1.61.1 +7 Cheats [ MEGA HACK ] - 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
    • Cookie Clickers v1.63.3 +7 Cheats [ MEGA HACK ]
      Modded/Hacked App: Cookie Clickers By Tiny Games srl
      Bundle ID: it.junglestudios.cookieclicker
      iTunes Store Link: https://apps.apple.com/us/app/cookie-clickers/id703439482?uo=4


      Hack Features:
      - Cookie Multiplier
      - Unlimited Golden Cookies
      - Unlimited Skip Ad Tokens
      - Unlimited Time Warps
      - Unlimited Chest Keys
      - Free Card Upgrades
      - Free CPS Item Upgrades


      Non-Jailbroken & No Jailbreak required hack(s): [Non-Jailbroken Hack] Cookie Clickers v1.61.1 +7 Jailed Cheats [ MEGA HACK ] - 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/
      • 23 replies
    • The Oregon Trail: Boom Town v1.36.9 +1++ Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: The Oregon Trail: Boom Town By Tilting Point LLC
      Bundle ID: com.tiltingpoint.oregon.trail.settlers
      iTunes Store Link: https://apps.apple.com/us/app/the-oregon-trail-boom-town/id1598307047
       

      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button to load up SRDebugger.


      Jailbreak required hack(s): https://iosgods.com/topic/171468-the-oregon-trail-boom-town-v12111-1-cheats-debug-menu/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 41 replies
    • The Oregon Trail: Boom Town v1.36.9 +1++ Cheats [ Debug Menu ]
      Modded/Hacked App: The Oregon Trail: Boom Town By Tilting Point LLC
      Bundle ID: com.tiltingpoint.oregon.trail.settlers
      iTunes Store Link: https://apps.apple.com/us/app/the-oregon-trail-boom-town/id1598307047
       

      Hack Features:
      - Debug Menu -> Head over to Settings and toggle the Sound button to load up SRDebugger.


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
      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
×
  • 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