Jump to content

3 posts in this topic

Recommended Posts

Posted

hey guys,

im really noob with .lua, until few days ago i was only using "record" option to make a script.

So here is the code im working on, its for bleach brave souls

Quote

-- create room
if getColor(700, 600) == 9748479
and getColor(700, 700) == 7841022 then
tap(813, 703);
usleep(10000);
end

-- share with guild
if getColor(750, 30) == 16437203
and getColor(760, 30) == 12409698 then
tap(773, 93);
usleep(300000);
tap(502, 1282);
usleep(10000);
end

-- confirmation
if getColor(478, 1020) == 736224
and getColor(480, 1020) == 5015543 then
tap(474, 1361);
usleep(10000);
end

-- start with 2/4
if getColor(534, 762) == 15094282
and getColor(460, 1100) == 16578190 then
usleep(300000);
tap(61, 1640);
usleep(500000);
tap(480, 1400);
usleep(10000);
end

-- start with 3/4
if getColor(530, 1332) == 15364405
and getColor(307, 1532) == 15321944 then
usleep(300000);
tap(61, 1640);
usleep(500000);
tap(480, 1400);
usleep(10000);
end

-- start with 4/4
if getColor(377, 1763) == 15162392
and getColor(376, 1763) == 15094539 then
usleep(300000);
tap(61, 1640);
usleep(500000);
tap(480, 1400);
usleep(10000);
end

-- 5sec special loop
if getColor(600, 1900) == 15262696
and getColor(538, 1900) == 15259376 then
tap(574, 1920);
usleep(1000000);
tap(761, 1);
usleep(500000);
tap(761, 1);
usleep(500000);
tap(761, 1);
usleep(500000);
tap(761, 1);
usleep(500000);
tap(761, 1);
usleep(500000);
tap(761, 1);
usleep(500000);
end

-- skip tap
if getColor(105, 1208) == 16119285
and getColor(109, 1208) == 14408667 then
usleep(1000000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
tap(165, 204);
usleep(200000);
end 

-- reward
if getColor(152, 1020) == 1065185
and getColor(157, 1020) == 12441342 then
tap(160, 1049);
usleep(10000);
end

-- retry
if getColor(155, 1798) == 2125794
and getColor(153, 1792) == 2322661 then
tap(171, 244);
usleep(10000);
end

 

In Bleach, sometime host and client get stuck while changing quest area, the host start loading, but the client didnt get it.... and it stay in that state untildeath occurs.
i know if i put in the script an alert message, for 3sec, it does unstuck the situation.... 

after some digging i thought that i could do something like

-- unstuck the loading screen of the death
function Antistuck()
    if (getColor(700, 600) == 9748479) then
        usleep(10000000);
        return true;
    end
    return false;
end

while true do
    if (Antistuck()) 
    and getColor(700, 700) == 7841022 then
        alert("Unstucking")
        usleep(3300000);
        tap(711, 1020);
        usleep(10000);
    end
end

but it doesnt work inside my main script, my script just run once....

i would need to write something like , i just have no idea how to process

if "loading screen appear for more than 10sec" then
alert"blablabla"
usleep 3.3sec
dismiss the alert...

if anybody could help me that would be very nice... as i bearly understand what im doing... its not easy to fix xD

Thanks!

Posted (edited)

ok i just learn how to make bloc,

its not perfect because its delaying the whole script with every loading screen, but that will make my life easier ^^

if getColor(80, 1848) == 197379
and getColor(83, 1851) == 15395562 then
usleep(5000000);
	if getColor(80, 1848) == 197379
	and getColor(83, 1851) == 15395562 then
	alert("Unstucking")
	usleep(3300000);
	tap(711, 1020);
	usleep(10000);
	end
end

 

Edit : so i end to insert another bloc, like this, but now the springboard of my ipad air 2 is crashing from time to time....

if getColor(80, 1848) == 197379
and getColor(83, 1851) == 15395562
and getColor(535, 734) == 0 then
usleep(1000000);
    if getColor(535, 734) == 0 then
    usleep(3000000);
        if getColor(535, 734) == 0 then
        alert("Unstucking")
        usleep(3300000);
        tap(711, 1020);
        usleep(10000);
        end
    end
end

 

Updated by Anonymonk
Posted

ok, seems to work fine now


-- antistuck
if getColor(600, 600) == 0
and getColor(86, 1735) == 16777215 then
usleep(3000000);
	if getColor(600, 600) == 0 then
		repeat 
		usleep(2900000);
		alert("Unstucking")
		usleep(6000000);
		tap(711, 1020);
		until getColor(600, 600) ~= 0
	usleep(300000);
	end
end

 

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

    • Cats And The Forest v2.0.02 [ +3 Cheats ] Gold Unlimited
      Modded/Hacked App: Cats And The Forest By Super Carrot
      Bundle ID: com.SuperCarrot.CatsAndTheForest
      App Store Link: https://apps.apple.com/ph/app/cats-and-the-forest/id6746228951?uo=4

      🤩 Hack Features

      - Unlimited Gold / Enemy & Boss Drop
      • 7 replies
    • ResQRush v3.3.1 [+2 Jailed Cheats]
      Modded/Hacked App: ResQRush By WGAME TECHNOLOGY LIMITED
      Bundle ID: com.wgame.resqrush
      App Store Link: https://apps.apple.com/us/app/resqrush/id6746140478?uo=4



      🤩 Hack Features

      - Never Die
      - One Hit Kill
       
      • 1 reply
    • Dice Dreams™ V1.98.0 [ +9 Cheats ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:
      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works


      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/
        • Agree
        • Haha
        • Like
      • 118 replies
    • Dice Dreams™ V1.98.0 [ +9 Jailed ] Currency Max
      Modded/Hacked App: Dice Dreams™ By SuperPlay LTD
      Bundle ID: com.superplaystudios.dicedreams
      iTunes Store Link: https://apps.apple.com/us/app/dice-dreams/id1484468651?uo=4


      Hack Features:

      - Coins Max [ Disable Coins When Use Bet Multiplier ]

      - Rolls Unlimited 

      - Crowns [ Only For Card Upgrade ]

      - Shield [ Get Unlimited Rolls ]

      - Bet Multiplier [ Coins + Rewards ]

      - All Task Score + Rewards [ Linked Bet Multiplier ]

      - Next Kingdom [ Build One ]

      - Build Cost [ 0 ]

      - Premium Dreams Pass

      Warning:- Don't Blame Me Banned  Some Time Freeze Reopen Then Works

       
      Jailbreak required hack(s): https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Agree
      • 111 replies
    • Super Hero Ready! v1.0 [ +7 Cheats ] Currency Max
      Modded/Hacked App: Super Hero Ready! By Mohammad Ali Khademi
      Bundle ID: com.RonixGames.Super.Hero.Ready
      App Store Link: https://apps.apple.com/us/app/super-hero-ready/id6753682839?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Skill Token
      - Unlimited Fragment
      - Unlimited Gear
      • 4 replies
    • Super Hero Ready! v1.0 [ +7 Jailed ] Currency Max
      Modded/Hacked App: Super Hero Ready! By Mohammad Ali Khademi
      Bundle ID: com.RonixGames.Super.Hero.Ready
      App Store Link: https://apps.apple.com/us/app/super-hero-ready/id6753682839?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Golden Keys
      - Unlimited Silver Keys
      - Unlimited Skill Token
      - Unlimited Fragment
      - Unlimited Gear
      • 2 replies
    • Run! Goddess v1.0.37 [+3 Jailed Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4



      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
      • 182 replies
    • Run! Goddess v1.0.37 [+3 Cheats]
      Modded/Hacked App: Run! Goddess By TOP GAMES INC.
      Bundle ID: com.topgamesinc.rg
      iTunes Store Link: https://apps.apple.com/us/app/run-goddess/id6667111749?uo=4

       

      🤩 Hack Features

      - No Skill Cooldown
      - Slow Enemy
      - Enemy Can't Attack (Enemy Can't Do Damage)
       
      • 113 replies
    • Pal Go: Tower Defense TD v0.4.19 [+7 Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      🚀 Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       


      🍏 For Non-Jailbroken & No Jailbreak required hacks: https://iosgods.com/forum/79-no-jailbreak-section/
      🤖 Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      • 67 replies
    • Pal Go: Tower Defense TD v0.4.19 [+7 Jailed Cheats]
      Modded/Hacked App: Pal Go: Tower Defense TD By Playwind Ltd
      Bundle ID: com.playwindgames.freedefender
      iTunes Store Link: https://apps.apple.com/us/app/pal-go-tower-defense-td/id6479316663?uo=4


       

      Hack Features

      - [VIP] Freeze Currency (Currency will not decrease when used)

      - [VIP] Currency Always Enough (Buy even when you don't have enough currency)

      - [Free] Higher Recruit Energy (Gives 500 Recruit Energy Every Wave)

      - [Free] Always Can Drag Hero

      - [Free] Skip Ads

      - [Free] No Attack Cooldown

      - [Free] Global Speed Multiplier (Enable Inside Battle)

       

      Warning


      Do not use on main account. There is a chance of ban. Not responsible for any bans.

       

      Jailbreak required iOS hacks: https://iosgods.com/forum/5-game-cheats-hack-requests/
      Modded Android APKs: https://iosgods.com/forum/68-android-section/
      • 88 replies
    • Taichi Panda v6.9.1 +4 Jailed Cheats
      Modded/Hacked App: Taichi Panda by Snail Games USA, Inc.
      Bundle ID: com.snailgamesusa.taiji
      iTunes Store Link: https://itunes.apple.com/us/app/taichi-panda/id944892716?mt=8&uo=4&at=1010lce4


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


      Hack Features:
      - No Skill Cooldown
      - Infinite MP
      - Disable Enemy Attacks
        • Like
      • 199 replies
    • Taichi Panda v6.9.1 +4 Cheats
      Modded/Hacked App: Taichi Panda by Snail Games USA, Inc.
      Bundle ID: com.snailgamesusa.taiji
      iTunes Store Link: https://itunes.apple.com/us/app/taichi-panda/id944892716?mt=8&uo=4&at=1010lce4


      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:
      - No Skill Cooldown
      - Infinite MP
      - Disable Enemy Attacks


      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/


      Hack Download Link:

      Hidden Content

      Download Hack








      Installation Instructions:
      STEP 1: Download the .deb Cydia hack file from the link above.
      STEP 2: Copy the file over to your iDevice using any of the file managers mentioned above or skip this step if you're downloading from your iDevice.
      STEP 3: Using iFile or Filza, browse to where you saved the downloaded .deb file and tap on it.
      STEP 4: Once you tap on the file, you will then need to press on 'Installer' or 'Install' from the options on your screen.
      STEP 5: Let iFile / Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
      STEP 6: Now open your iDevice settings and scroll down until you see the settings for this cheat and tap on it. If the hack is a Mod Menu, the cheat features can be toggled in-game.
      STEP 7: Turn on the features you want and play the game. You may need to follow further instructions inside the hack's popup in-game.

       

      NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions topic. If you still haven't found a solution, post your issue down below and we'll do our best to help! If the hack does work for you, post your feedback below and help out other fellow members that are encountering issues.


      Credits:
      - @ZahirSher


      Cheat Video/Screenshots:

      N/A

       
      • 568 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