Jump to content

Harry Potter: Hogwarts Mystery (Autotouch Script)


ISOHaven

17 posts in this topic

Recommended Posts

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

 

Link to comment
Share on other sites

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
Link to comment
Share on other sites

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.

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

    • Rage Swarm v1.7.01 Cheats +4
      Modded/Hacked App: Rage Swarm By Voodoo
      Bundle ID: com.feelnside.rageswarm
      iTunes Store Link: https://apps.apple.com/vn/app/rage-swarm/id1669867448?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:
      - Stupid enemies
      - No ads after round
      - 200 designs
      - No reload
      • 31 replies
    • Rage Swarm v1.7.01 Cheats +5
      Modded/Hacked App: Rage Swarm By Voodoo
      Bundle ID: com.feelnside.rageswarm
      iTunes Store Link: https://apps.apple.com/vn/app/rage-swarm/id1669867448?uo=4

       


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Stupid enemies
      - No ads after round
      - Unlimit currents (Increases when use, disable if game cash)
      - 200 designs
      - No reload
      • 58 replies
    • Abyss - Roguelike ARPG v2.0.2 Cheats +4
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?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:
      - Stupid enemies
      - AOE atk
      - Always combo
      - Fast atk
      • 39 replies
    • Abyss - Roguelike ARPG v2.0.2 Cheats +6 [semi-autoupdate]
      Modded/Hacked App: Abyss - Roguelike ARPG By Pyro Entertainment Limited
      Bundle ID: com.titans.abyss
      iTunes Store Link: https://apps.apple.com/us/app/abyss-roguelike-arpg/id6443793989?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Enermies no atk
      - Stupid enemies
      - Speed move
      - AOE atk
      - Always combo
      - Fast atk
      • 84 replies
    • Ninja Survivors Online v1670 Cheats +7
      Modded/Hacked App: Ninja Survivors Online By Puzzle Monsters Inc.
      Bundle ID: com.puzzlemonsters.ninjasurvivors
      iTunes Store Link: https://apps.apple.com/us/app/ninja-survivors-online/id6444254297?uo=4


      Mod Requirements:
      - Jailbroken iPhone/iPad/iPod Touch.
      - iGameGod / Filza / iMazing or any other file managers for iOS.
      - Cydia Substrate, Substitute or libhooker depending on your jailbreak.
      - PreferenceLoader (from Cydia, Sileo or Zebra).


      Hack Features:
      - Fast move
      - No skills cooldown
      - Exp x100
      - Fast atk
      - Auto pick items
      • 106 replies
    • DRAGON BALL LEGENDS v5.4.0 - [ Enemies Don't Attack & More ]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Enemies Don't Attack
      - No Ki Cost
      - Unlimited Ki
      - Tutorial Bypassed - No Need To Play Tutorial
      - No Character Swap CoolDown
      - No Vanish CoolDown
      - Auto Complete All Challenges - Currency/Chrono Crystals Hack! 
      - Always Critical
      - All Cards Give DragonBall 
      • 2,476 replies
    • DRAGON BALL LEGENDS v5.4.0 +3 Jailed Cheats [No Ki Cost + More]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - No Ki Cost
      - No Character Swap Cooldown
      - No Vanish Cooldown
      - Tutorial Bypassed
      • 4,817 replies
    • DRAGON BALL LEGENDS v5.4.0 +7 FREE Cheats
      Modded/Hacked App: DRAGON BALL LEGENDS by BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://apps.apple.com/us/app/dragon-ball-legends/id1358222641


      Hack Features:
      - No Swap Cooldown
      - No Vanish Cooldown
      - No KI Cost
      -  Auto Complete all Challenges
      - Always Critical
      - Tutorial Bypassed
      - Enemies don't Attack


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/70408-ios-13-support-dragon-ball-legends-v2110-3-jailed-cheats-no-ki-cost-more/
      Japanese Version: https://iosgods.com/topic/75598-dbl-%E3%83%89%E3%83%A9%E3%82%B4%E3%83%B3%E3%83%9C%E3%83%BC%E3%83%AB-%E3%83%AC%E3%82%B8%E3%82%A7%E3%83%B3%E3%82%BA-by-bandai-namco-entertainment-inc-v2100-instant-win-more/?
      For more fun, check out the Club(s): https://iosgods.com/clubs/
      • 2,977 replies
    • Bullet Force v1.100.5 +3 Jailed Cheats [Radar Hack]
      Modded/Hacked App: Bullet Force by Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.iosfps
      iTunes Store Link: https://itunes.apple.com/us/app/bullet-force/id1009134067

      Mod Requirements:
      - Non-Jailbroken/Jailed or Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Radar Hack - Shows all enemies on the radar.
      - Instant Reload
      - Anti-Flash - Flashbangs have no effect.
      • 511 replies
    • [ DBL ]ドラゴンボール レジェンズ v5.4.0 - [ Instant - Win & More ]
      Modded/Hacked App: ドラゴンボール レジェンズ By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0333
      iTunes Store Link: https://itunes.apple.com/jp/app/ドラゴンボール-レジェンズ/id1358232022


      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 - 20 
      - x Player Defense - x1 - 20 
      - One Hit Kill
      - God Mode 
      - 1 Enemy Per Quest
      - Instant - Win - Enable It When You In Battle
      - No Swap CoolDown
      - No Vanish CoolDown
      - No KI Cost
      - Auto Complete All Challenges-> Currency/Chrono Crystals Hack!
      - Always Critical
      - Tutorial Bypass
      - All Cards Give DragonBalls

      All functions are unlinked and only for player, you!
      • 1,573 replies
    • [ Dragon Ball Legends Japan ] ドラゴンボール レジェンズ  v5.4.0 - [ Enemies Don't Attack & More]
      Modded/Hacked App: ドラゴンボール レジェンズ By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0333
      iTunes Store Link: https://itunes.apple.com/jp/app/ドラゴンボール-レジェンズ/id1358232022?mt=8


      Mod Requirements:
      - Jailbroken or Non-Jailbroken iPhone/iPad/iPod Touch.
      - Cydia Impactor.
      - A Computer Running Windows/Mac/Linux.


      Hack Features:
      - Enemies Don't Attack
      - No Ki Cost
      - Unlimited Ki
      - No Character Swap CoolDown
      - No Vanish CoolDown
      - Auto Complete All Challenges - Currency/Chrono Crystals Hack! 
      - Always Critical
      - All Cards Give DragonBall 

       This hack only works on x64 or ARM64 iDevices: iPhone 5s, 6, 6 Plus, 6s, 6s Plus, 7, 7 Plus, 8, 8 Plus, X, SE, iPod Touch 6G, iPad Air, Air 2, Pro & iPad Mini 2, 3, 4 and later.
      • 2,919 replies
    • DRAGON BALL LEGENDS v5.4.0 - [ Instant - Win & More ]
      Modded/Hacked App: DRAGON BALL LEGENDS By BANDAI NAMCO Entertainment Inc.
      Bundle ID: jp.co.bandainamcoent.BNEI0334
      iTunes Store Link: https://itunes.apple.com/us/app/dragon-ball-legends/id1358222641


      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 - 20 
      - x Player Defense - x1 - 20 
      - One Hit Kill
      - God Mode 
      - 1 Enemy Per Quest
      - Instant - Win - Turn On When You In Battle
      - No Swap CoolDown
      - No Vanish CoolDown
      - No KI Cost
      - Auto Complete All Challenges-> Currency/Chrono Crystals Hack!
      - Always Critical
      - Tutorial Bypass
      - All Cards Give DragonBalls

      All features are unlinked and only for player, you!
      • 4,625 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