Jump to content

 Something great is coming! 🚀

Stay tuned for the big reveal happening here on iOSGods on the 17th of December!

The countdown has finished!

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

    • Cat Crunch - Match 3 Games v2.64 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster.
      • 5 replies
    • Cat Crunch - Match 3 Games v2.64 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Cat Crunch - Match 3 Games By Y factory
      Bundle ID: com.yfactorysoft.CatCrunch
      App Store Link: https://apps.apple.com/us/app/cat-crunch-match-3-games/id6471232053?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Stars
      - Unlimited Booster
      • 3 replies
    • Goblin Miner: Idle Merger v3.8.2 [ +5 Cheats ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 11 replies
    • Goblin Miner: Idle Merger v3.8.2 [ +5 Jailed ] Coins Unlimited
      Modded/Hacked App: Goblin Miner: Idle Merger By ProGamesLab LTD
      Bundle ID: com.goblins.idle.merge.game
      App Store Link: https://apps.apple.com/us/app/goblin-miner-idle-merger/id6751527945?uo=4

      🤩 Hack Features

      - Unlimited Coins / Mine Upgrade
      - Unlimited Goblin Drop / No Limite
      - Goblin LvL Higher / Easy To Skip Time Mine / First Drop Goblin Then Chose Higher LvL
      - Unlimited Magic Dust
      - Ruby Pass
      • 12 replies
    • Deep Rock Galactic: Survivor v1.0.8 [ +3 Cheats ] Full Unlock
      Modded/Hacked App: Deep Rock Galactic: Survivor By Ghost Ship Publishing ApS
      Bundle ID: com.ghostshippublishing.deeprockgalacticsurvivor
      App Store Link: https://apps.apple.com/kr/app/deep-rock-galactic-survivor/id6742194903?uo=4

      🤩 Hack Features

      - Full Game Unlocked / Not Tested
      - Currency / NO Need
      - Resources / NO Need 
      • 7 replies
    • Portal Survivor v0.9.0 [ +3 Cheats ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
      • 2 replies
    • Portal Survivor v0.9.0 [ +3 Jailed ] Currency Max
      Modded/Hacked App: Portal Survivor By ESC Games Yazilim Anonim Sirketi
      Bundle ID: com.escape.portalsurvivor
      App Store Link: https://apps.apple.com/ph/app/portal-survivor/id6754314383?uo=4

      🤩 Hack Features

      - Unlimited Coins
      - Unlimited Energy
      - Unlimited HP
      • 5 replies
    • Miner Fighters ! v2.5.9 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
      • 6 replies
    • Miner Fighters ! v2.5.9 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Miner Fighters ! By UNICO STUDIO LLC
      Bundle ID: com.unicostudio.minerfighters
      App Store Link: https://apps.apple.com/us/app/miner-fighters/id6752961543?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Red Gems
      - Unlimited Green Gems
      - Hero Cost Up / Earn Green Gems
      - Gold / No Need IN Battle For Trop
      - Trop Unlocked / IN Battle Only 
      - Trower HP
      - HP
      - ATK
      - DEF
      - Luck
      - Miner Gold
      • 4 replies
    • Tower Defense Rumble v0.7282 [ +10 Cheats ] Easy Win
      Modded/Hacked App: Tower Defense Rumble By DU-EON YOO
      Bundle ID: com.i.dfr
      App Store Link: https://apps.apple.com/ph/app/tower-defense-rumble/id6738600584?uo=4

      🤩 Hack Features

      - Always Last Wave / Easy Win
      Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      Base Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      - ATK Speed
      • 2 replies
    • Tower Defense Rumble v0.7282 [ +10 Jailed ] Easy Win
      Modded/Hacked App: Tower Defense Rumble By DU-EON YOO
      Bundle ID: com.i.dfr
      App Store Link: https://apps.apple.com/ph/app/tower-defense-rumble/id6738600584?uo=4

      🤩 Hack Features

      - Always Last Wave / Easy Win
      Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      Base Tower Status
      - ATK Max
      - HP Max
      - Range Max
      - ATK CD
      - ATK Speed
      • 5 replies
    • Dice Lords v1.2.1 [ +5 Cheats ] Currency Max
      Modded/Hacked App: Dice Lords By Voodoo
      Bundle ID: com.oxvgames.dicelords
      App Store Link: https://apps.apple.com/us/app/dice-lords/id6743435206?uo=4

      🤩 Hack Features

      - ADS NO / Rewards Free
      - Unlimited Gems Green
      - Unlimited Gems Red
      - Unlimited Coins
      - DMG / Roll Dice
      • 7 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