Jump to content

Harry Potter: Hogwarts Mystery (Autotouch Script)


17 posts in this topic

Recommended Posts

Posted
On 3/16/2020 at 12:30 AM, Sugar daddy uwu x3 said:

I’m so confused, where do I put the script 

U said store but I don’t see anyone button or anything

Sorry about that, I never got a notification that you posted.  You put the script in Autotouch.  Just create a new script, name it and paste this code in their.  The store was for the resolution converter.  You run that conversion script on any local script you've already created.

Here's an updated script for all the new colors they added.  It also adds a check so it doesn't tap on any storyline screens.  Remember to convert it to your resolution.  This script (as is) is for 2732×2048.
 

while true do

  local check1 = getColor(92, 69); --101e26 --1056294
  local check2 = getColor(128, 99); --066270 --418416

  if check1 == 1056294 then
    if check2 == 418416 then

      local blue = findColor(0x46bfff, 1, {190, 630, 2732, 1630});
      local pink = findColor(0xff71d7, 1, {190, 630, 2732, 1630});
      local green = findColor(0x51f17e, 1, {190, 630, 2732, 1630});
      local yellow = findColor(0xffc20d, 1, {190, 630, 2732, 1630});

      if #blue > 0 then
        for i, v in pairs(blue) do
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
        end
      end

      if #pink > 0 then
        for i, v in pairs(pink) do
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
        end
      end

      if #green > 0 then
        for i, v in pairs(green) do
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
        end
      end


      if #yellow > 0 then
        for i, v in pairs(yellow) do
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
          tap(v[1]+5, v[2]+5);
          usleep(300000);
        end
      end

    end
  end

  usleep(100000);

end

 

Posted

Looks like the checks I was running got changed so they made some UI changes.

Update the two check line with this:

 

  if check1 == 16777215 then
    if check2 == 11633442 then

If for any reason the UI on your end is different because of screen formatting then just remove anything to do with the checks.  The only reason they are in there is in case the script found one of those colors during a cutscene, so it wouldn't tap and skip the cutscene.

So you would remove:
 

  local check1 = getColor(92, 69); --101e26 --1056294
  local check2 = getColor(128, 99); --066270 --418416

  if check1 == 16777215 then
    if check2 == 11633442 then

 

As well as the two end's at the bottom:
 

    end
  end

  usleep(100000); <-keep this

end <-keep this

 

  • Like 1
Posted

thank you! I keep getting this error, I tried it with and without the checks and with and without converting

it says

 

Error: js exception:

SyntaxError: Unexpected

keyword ‘true’. Expected ‘(‘ to

start a while loop condition.

Posted
On 5/2/2021 at 3:34 PM, ooo000111aaa said:

thank you! I keep getting this error, I tried it with and without the checks and with and without converting

it says

 

Error: js exception:

SyntaxError: Unexpected

keyword ‘true’. Expected ‘(‘ to

start a while loop condition.

Rename the script file to .lua

Newer versions of Autotouch automatically create a .js file.  Very annoying!

On 10/29/2021 at 3:53 AM, glitchyantigravity said:

Hey there! Any chance of this being convertable to any sort of android app?

Sorry, I don't have any Android devices.  I don't know what auto type apps they have for touching.  If they are LUA based then this script should work but I'm guessing the formatting would be different.  You'd have to find all the correct locations.

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

    • Harry Potter: Puzzles & Spells v93.1.300 +1 Jailed Cheat [ Unlimited Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Moves


      Jailbreak required hack(s): [Mod Menu Hack] Harry Potter: Puzzles & Spells v85.0.271 +1 Cheat [ Unlimited Moves ] - 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/
      • 58 replies
    • Harry Potter: Puzzles & Spells v93.1.300 +1 Cheat [ Unlimited Moves ]
      Modded/Hacked App: Harry Potter: Puzzles & Spells By Zynga Inc.
      Bundle ID: com.zynga.pottermatch
      iTunes Store Link: https://apps.apple.com/us/app/harry-potter-puzzles-spells/id1434505322?uo=4


      Hack Features:
      - Freeze Move


      Non-Jailbroken & No Jailbreak required hack(s): [IPA Mod Menu] Harry Potter: Puzzles & Spells v85.0.271 +1 Jailed Cheat [ 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/
      • 33 replies
    • Genshin Impact Cheats v5.6.0 +3
      Modded/Hacked App: Genshin Impact by miHoYo Limited
      Bundle ID: com.miHoYo.GenshinImpact
      iTunes Store Link: https://apps.apple.com/us/app/genshin-impact/id1517783697?uo=4&at=1010lce4


      Hack Features:
      - Instant Skill
      - Instant Special Skill (Elemental Burst)
      - Infinite Stamina
        + Infinite Sprint Time
        + Infinite Swim Time
        + Infinite Fly Time


      iOS Hack Download Link: https://iosgods.com/topic/134035-genshin-impact-cheat-v101-3-instant-skill-more/
      • 3,627 replies
    • FarmVille 2: Country Escape Cheats v27.7 +1
      Modded/Hacked App: FarmVille 2: Country Escape by Zynga Inc.
      Bundle ID: com.zynga.FarmVille2CountryEscape
      iTunes Store Link: https://apps.apple.com/us/app/farmville-2-country-escape/id824318267?uo=4&at=1010lce4


      Hack Features:
      - Freeze Key


      iOS Hack Download Link: https://iosgods.com/topic/101607-arm64-farmville-2-country-escape-cheats-v1263984-1/
      • 1,986 replies
    • Dead Trigger 2 Cheats v2.4.0 +10 [ God Mode & More ]
      Modded/Hacked App: DEAD TRIGGER 2: Zombie Games By Deca Games EOOD
      Bundle ID: com.madfingergames.deadtrigger2
      iTunes Store Link: https://apps.apple.com/us/app/dead-trigger-2-zombie-games/id720063540?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Infinite Ammo
      - No Reload
      - God Mode
      - Infinite Consumable
      - One Hit Kill
      - Drop Hacks
      - Instant Win
      - Better Aim
      - Aimbot
      - Kill All Zombies with 1 Tap

       

      Non-Jailbroken Hack: https://iosgods.com/topic/73791-dead-trigger-2-v230-jailed-cheats-10

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/78126-dead-trigger-2-cheats-v230-10-god-mode-more/
      • 2,836 replies
    • Soul Idle : Two Sides of Girls Cheats v1.1.16 +3
      Modded/Hacked App: Soul Idle : Two Sides of Girls By Pole Position Games Inc.
      Bundle ID: com.poleposition.iOSGirls
      iTunes Store Link: https://apps.apple.com/us/app/soul-idle-two-sides-of-girls/id6504546717?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - Dumb Enemies


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/186233-soul-idle-two-sides-of-girls-cheats-v102-3/
      • 45 replies
    • Idle Lumber Empire - Wood Game Cheats v1.11.6 +2
      Modded/Hacked App: Lumber Empire: Idle Tycoon By ADQUANTUM LTD
      Bundle ID: com.lumber.inc
      iTunes Store Link: https://apps.apple.com/us/app/lumber-empire-idle-tycoon/id1552153525?uo=4


      Hack Features:
      - Freeze Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/150641-lumber-empire-idle-tycoon-v135-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/150640-lumber-empire-idle-tycoon-cheats-v135-1/
      • 638 replies
    • AdVenture Communist v6.46.0 +2 Cheats
      Modded/Hacked App: AdVenture Communist By Hyper Hippo Publishing Ltd.
      Bundle ID: com.kongregate.mobile.adventurecommunist
      iTunes Store Link: https://apps.apple.com/us/app/adventure-communist/id1225683141?uo=4

       

      📌 Mod Requirements

      - Jailbroken iPhone or iPad.
      - iGameGod / Filza / iMazing.
      - Cydia Substrate, ElleKit, Substitute or libhooker depending on your jailbreak (from Sileo, Cydia or Zebra).

       

      🤩 Hack Features

      - Freeze Currencies
      - Unlimited Cards [Get Some]

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/149902-adventure-communist-v6430-2-cheats/
      • 129 replies
    • Agar.io v2.29.2 Jailed Cheats +1
      Modded/Hacked App: Agar.io by Miniclip SA
      Bundle ID: com.miniclip.agar.io
      iTunes Store Link: https://itunes.apple.com/us/app/agar-io/id995999703?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Normal Mode Zoom Hack - Tested with value 0.08 - More Zoom = More Small Value
      - BR Mode Zoom Hack - Tested with value 0.08 - More Zoom = More Small Value


      Hack Download Link: https://iosgods.com/topic/82572-arm64-agario-v230-jailed-cheats-1/
      • 1,253 replies
    • Groove Journey v4.1.0 Jailed Mod +1
      Modded/Hacked App: Groove Journey By Somtochukwu Mbala
      Bundle ID: com.kaipha.groovejourney
      iTunes Store Link: https://apps.apple.com/us/app/groove-journey/id6736345547?uo=4


      Hack Features:
      - PREMIUM


      iOS Hack Download IPA Link: https://iosgods.com/topic/190862-groove-journey-v311-jailed-mod-1/
      • 41 replies
    • Fishdom v8.9.2 Jailed Cheats +3
      Modded/Hacked App: Fishdom By PLR Worldwide Sales Limited
      Bundle ID: com.playrix.fishdom-freeplay
      iTunes Store Link: https://apps.apple.com/us/app/fishdom/id664575829?uo=4


      Hack Features:
      - Infinite Moves
      - Infinite Boosters
      - Infinite Lives

      NOTE: Play until you reached level 31 on non-hacked version before using this hack - Make sure you connected with GameCenter and Facebook to save your progress


      iOS Hack Download Link: https://iosgods.com/topic/116586-arm64-fishdom-v683-jailed-cheats-3/
      • 745 replies
    • DomiNation Asia By NEXON Company v12.1470.1471 - [ Currencies Freeze & More ]
      Modded/Hacked App: ドミネーションズ -文明創造- (DomiNations) By NEXON Company
      Bundle ID: com.nexon.dominations.asia
      iTunes Store Link: https://itunes.apple.com/jp/app/ドミネーションズ-文明創造-dominations/id1012778321


      Hack Features:
      - Unlimited Crowns/Food/Oil/Gold -> Resources will add instead of subtracting. Works with Crowns. Read note inside the feature for more information! This does not work for speeding up buildings.
      - All Achievements Unlocked 
      - Freeze Crowns/Food/Oil/Gold -> Freezes Resources so they do not decrease when used! This does not work for speeding up buildings.
      - No Citizen Cost 
      - 0 Cost to Speed Up Training Troops
      - 0 Cost to Speed Up Tactics
      - 0 Food Cost to Train Troops
      - 0 Food Cost to Upgrade Troops
      - No Timer to Upgrade Troops
      - 0 Food Cost to Train Spells
      - 0 General Train Cost
      - No General Train CoolDown
      - 0 Food Cost to Build Wonder
      - 0 Food Cost to Research Troops
      - 0 Food Cost to Upgrade Tactics
      - No Timer to Library Research
      - No Timer to Upgrade Spells
      - 0 Cost to Upgrade Buildings
      - 0 Workers Required to Upgrade
      - 0 Crown Cost For Peace

      This hack works on the latest x64 or ARM64 & ARM64e iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, Xr, Xs, Xs Max, 11, 11 Pro, 11 Pro Max, 12, 12 Pro, 12 Pro Max, 12 Mini, 13, 13 Pro, 13 Pro Max, 13 Mini, 14, 14 Plus, 14 Pro, 14 Pro Max, SE, iPod Touch 6G, 7G, iPad Air, Air 2, iPad Pro & iPad Mini 2, 3, 4, 5, 6 and later.


      Global hack(s): https://iosgods.com/topic/50401-ultrahack-dominations-v6660661-40-cheats-iosgods-exclusive/?tab=comments#comment-1582742
        • Like
      • 1,093 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