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

    • Universe Invader 2: Alien War v1.0.8 [ +12 Cheats ] Currency Max
      Modded/Hacked App: Universe Invader 2: Alien War By GCENTER VIET NAM TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.GCenter.com.universe.invaders.alien.war.attack.V2
      App Store Link: https://apps.apple.com/us/app/universe-invader-2-alien-war/id6739988487?uo=4

       
      🤩 Hack Features

      - Auto Win

      - ViP Point

      - Gems

      - Coins

      - Energy

      - Booster

      - Keys +2

      - Life

      - DMG

      - Zone Unlock [ No Need Star ]

      - Ship & Dron Unlock Cost 0
        • Like
      • 0 replies
    • Universe Invader 2: Alien War v1.0.8 [ +12 Jailed ] Currency Max
      Modded/Hacked App: Universe Invader 2: Alien War By GCENTER VIET NAM TECHNOLOGY JOINT STOCK COMPANY
      Bundle ID: com.GCenter.com.universe.invaders.alien.war.attack.V2
      App Store Link: https://apps.apple.com/us/app/universe-invader-2-alien-war/id6739988487?uo=4


      🤩 Hack Features

      - Auto Win

      - ViP Point

      - Gems

      - Coins

      - Energy

      - Booster

      - Keys +2

      - Life

      - DMG

      - Zone Unlock [ No Need Star ]

      - Ship & Dron Unlock Cost 0
        • Like
      • 0 replies
    • Solo Leveling:Arise v1.2.77 Jailed Cheats +2
      Modded/Hacked App: Solo Leveling:Arise By Netmarble Corporation
      Bundle ID: com.netmarble.sololv
      iTunes Store Link: https://apps.apple.com/us/app/solo-leveling-arise/id1662742277?uo=4


      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Sideloadly / Cydia Impactor or alternatives.
      - A Computer Running Windows/macOS/Linux with iTunes installed.


      Hack Features:
      - Immunte to Physical Damage
      - Multiply Attack



      iOS Hack Download IPA Link: https://iosgods.com/topic/184739-solo-levelingarise-v1265-jailed-cheats-2/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 395 replies
    • Agar.io v2.30.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/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,262 replies
    • [ Arknights China ] 明日方舟 Cheats v2.6.01 +8
      Modded/Hacked App: 明日方舟 By Shanghai Hypergryph Network Technology Co., Ltd.
      Bundle ID: com.hypergryph.arknights
      iTunes Store Link: https://apps.apple.com/cn/app/%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F/id1454663939?uo=4


      Hack Features:
      - God Mode
      - Frozen Enemies
      - One Hit Kill
      - Instant - Win
      - No Deploy Cost
      - Multiply Damage
      - Multiply Defense
      - Multiply Character Speed


      iOS Hack Download Link: https://iosgods.com/topic/149509-arknights-china-%E6%98%8E%E6%97%A5%E6%96%B9%E8%88%9F-cheats-v1560-8/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 310 replies
    • PewDiePie's Tuber Simulator Cheats v2.55.0 +3
      Modded/Hacked App: PewDiePie's Tuber Simulator By Outerminds Inc.
      Bundle ID: com.outerminds.tubular
      iTunes Store Link: https://apps.apple.com/us/app/pewdiepies-tuber-simulator/id1093190533?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 Subscriber
      - Infinite Views
      - Infinite Bux

      NOTE: Please complete tutorial first before enabling the hacks otherwise it won't work

      NOTe 2: Please make a youtube video to get some views first (without hack) then before enable infinite views

       

      Non-Jailbroken Hack: https://iosgods.com/topic/86411-pewdiepies-tuber-simulator-v2450-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/86366-pewdiepies-tuber-simulator-cheats-v2460-3/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,155 replies
    • Battle Legion - Mass Battler Cheats v4.3.8 +4
      Modded/Hacked App: Battle Legion - Mass Battler By GODSPEED GAMING SOLUTIONS PRIVATE LIMITED
      Bundle ID: com.traplight.battleslides
      iTunes Store Link: https://apps.apple.com/us/app/battle-legion-mass-battler/id1435133042?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

      - Multiply Attack
      - Multiply Defense
      - Instant Win
      - Enemies Don't Move
      - Enemies Don't Attack

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/129669-battle-legion-mass-battler-cheats-v424-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 575 replies
    • Honkai Impact 3 (SEA) Cheats v8.3.0 +2 [ Multiply Attack & Defense ]
      Modded/Hacked App: Honkai Impact 3 By COGNOSPHERE PTE. LTD.
      Bundle ID: com.miHoYo.bh3oversea
      iTunes Store Link: https://apps.apple.com/ph/app/honkai-impact-3/id1299582178?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

      - Multiply Attack
      - Multiply Defense

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/134285-honkai-impact-3-sea-cheats-v810-2-multiply-attack-defense/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 496 replies
    • SnapEdit - Remove Objects AI Modded v5.9.4 +1
      Modded/Hacked App: SnapEdit - Remove Objects AI By SilverAI Joint Stock Company
      Bundle ID: com.sfun.snapedit
      App Store Link: https://apps.apple.com/us/app/snapedit-remove-objects-ai/id1611282499?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

      - PREMIUM

       

      Free Non-Jailbroken Hack: https://iosgods.com/topic/197205-snapedit-remove-objects-ai-v594-jailed-mod-1/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/175364-snapedit-remove-objects-ai-modded-v594-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 97 replies
    • Subnautica v1.21.82617 +100++ Jailed Cheats [ Developer Menu ]
      Modded/Hacked App: Subnautica By Unknown Worlds Entertainment, Inc.
      Bundle ID: com.UnknownWorlds.Subnautica
      App Store Link: https://apps.apple.com/us/app/subnautica/id6478639011?uo=4

       
       

      🤩 Hack Features

      - Developer Menu -> Pause the game and you will see a Developer Menu button.

      For all developer commands, go here.
        • Thanks
        • Like
      • 5 replies
    • Subnautica v1.21.82617 +100++ Cheats [ Developer Menu ]
      Modded/Hacked App: Subnautica By Unknown Worlds Entertainment, Inc.
      Bundle ID: com.UnknownWorlds.Subnautica
      App Store Link: https://apps.apple.com/us/app/subnautica/id6478639011?uo=4

       


      🤩 Hack Features

      - Developer Menu -> Pause the game and you will see a Developer Menu button.

      For all developer commands, go here..
        • Winner
        • Like
      • 4 replies
    • Dawn of Ages: Medieval Games v2.0.8 +5 Jailed Cheats [ Damage & Defence ]
      Modded/Hacked App: Dawn of Ages: total war battle By BoomBit, Inc.
      Bundle ID: com.stratospheregames.dawnofages
      App Store Link: https://apps.apple.com/us/app/dawn-of-ages-total-war-battle/id6477473268?uo=4

       


      🤩 Hack Features

      - Damage Multiplier
      - Defence Multiplier
      - God Mode
      - Dumb Enemy
      - Premium Enabled
        • Agree
        • Winner
        • Like
      • 12 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