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

    • Music Wars Rockstar: Rap Life v1.4.1 Cheats +4
      Modded/Hacked App: Music Wars Rockstar: Rap Life By Music Wars LLC
      Bundle ID: com.mwcompany.MusicWarsRockstar
      iTunes Store Link: https://apps.apple.com/us/app/music-wars-rockstar-rap-life/id1623455289?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:
      - Unlimited money
      - Unlimited creativity
      - Unlimited health
      - Unlimited happiness
      • 365 replies
    • BitLife - Life Simulator Cheats v3.22.5 +2
      Modded/Hacked App: BitLife - Life Simulator by Candywriter, LLC
      Bundle ID: com.wtfapps.apollo16
      iTunes Store Link: https://apps.apple.com/us/app/bitlife-life-simulator/id1374403536?uo=4&at=1010lce4


      Hack Features:
      - Infinite Cash
      - Free Bitizen Purchase (Press Cancle) - Work for All Versions


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/84167-arm64-bitlife-life-simulator-v1412-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/84223-arm64-bitlife-life-simulator-cheats-all-versions-2/
      • 3,935 replies
    • Beach Buggy Racing 2 Cheats v2026.01.15 +2
      Modded/Hacked App: Beach Buggy Racing 2 by Vector Unit Inc
      Bundle ID: com.vectorunit.cobalt
      iTunes Store Link: https://itunes.apple.com/us/app/beach-buggy-racing-2/id1399253988?mt=8&uo=4&at=1010lce4



      Hack Features:
      - Infinite PowerUp Parts
      - Infinite Gems (Spend some/ Get some)
      - Infinite Coins (Use Gems to Convert)



      Hack Download Link: https://iosgods.com/topic/86113-arm64-beach-buggy-racing-2-cheats-v101-3/
      • 451 replies
    • RollerCoaster Tycoon Touch Cheats v3.49.0 +5
      Modded/Hacked App: RollerCoaster Tycoon® Touch™ By Atari, Interactive
      Bundle ID: com.atari.mobile.rctempire
      iTunes Store Link: https://apps.apple.com/us/app/rollercoaster-tycoon-touch/id1164507836?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 Currencies
      - Instant Max Level (Complete some task - Only use when you finished Tutorial and get to Level 8 at least)
      - VIP Member
      - Card only need 1 to be upgraded

       

      Non-Jailbroken Hack: https://iosgods.com/topic/74948-rollercoaster-tycoon-touch-v3413-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/73710-rollercoaster-tycoon-touch-cheats-v3420-5/
      • 1,126 replies
    • EA SPORTS FC™ (FIFA) MOBILE SOCCER Cheats v26.1.03 +2
      Modded/Hacked App: FIFA Soccer By Electronic Arts
      Bundle ID: com.ea.ios.fifamobile
      iTunes Store Link: https://itunes.apple.com/us/app/fifa-soccer/id1094930513

      Hack Features:
      - Keeper on drugs 
      - stupid AI defense (randomly works lol but funny as hell)
      - EASY WINS BECAUSE OF ABOVE 
       


      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/
      • 1,214 replies
    • Mini Brawl Go! – RPG Adventure v1.3.1(88) [ +8 Cheats ] Currency Max
      Modded/Hacked App: Mini Brawl Go! – RPG Adventure By LOVINJOY PTE. LTD.
      Bundle ID: com.lvjgames.minibrawlgogo
      App Store Link: https://apps.apple.com/us/app/mini-brawl-go-rpg-adventure/id6755132667?uo=4

      🤩 Hack Features

      - ADS No  Rewards ree
      - ViP Active
      - FOG Removed
      - Team No Limit Drop All Hero In Battle
      - Gems Max
      - Coins Max
      - Dungeon Tokens Max
      - Resources Max
      • 2 replies
    • Mini Brawl Go! – RPG Adventure v1.3.1(88) [ +8 Jailed ] Currency Max
      Modded/Hacked App: Mini Brawl Go! – RPG Adventure By LOVINJOY PTE. LTD.
      Bundle ID: com.lvjgames.minibrawlgogo
      App Store Link: https://apps.apple.com/us/app/mini-brawl-go-rpg-adventure/id6755132667?uo=4

      🤩 Hack Features

      - ADS No  Rewards ree
      - ViP Active
      - FOG Removed
      - Team No Limit Drop All Hero In Battle
      - Gems Max
      - Coins Max
      - Dungeon Tokens Max
      - Resources Max
      • 0 replies
    • Royal Kingdom v25641 [ +11 Jailed ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4


      Hack Features:

      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only


      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/
      • 113 replies
    • Royal Kingdom v25641 [ +11 Cheats ] Auto Win
      Modded/Hacked App: Royal Kingdom By Dream Games Teknoloji Anonim Sirketi
      Bundle ID: com.dreamgames.royalkingdom
      iTunes Store Link: https://apps.apple.com/us/app/royal-kingdom/id1606549505?uo=4

      Hack Features:
      - Coins [ Win Match ]

      - Potions

      - Lives Free

      - Booster Max

      - ViP Frame Unlock

      - Kingdom Pass Free

      - District unlock [ One Task Only ]

      - Auto Win [ Just One Move ]

      - Colour Spawn [ Blue Green Red Yellow Pink Orange ] Choose One Only
        • Like
      • 89 replies
    • SILT v1.0.7 +1 Jailed Cheat [ Unlocked ]
      Modded/Hacked App: SILT By Snapbreak Games AB
      Bundle ID: com.snapbreak.silt
      App Store Link: https://apps.apple.com/us/app/silt/id6477457763?uo=4

       

      🤩 Hack Features

      -- Full Game Unlocked
      • 11 replies
    • Forward Assault v1.2078 +14 Jailed Cheats [ Mega Hack ]
      Modded/Hacked App: Forward Assault By Blayze Games, L.L.C.
      Bundle ID: com.blayzegames.newfps
      App Store Link: https://apps.apple.com/us/app/forward-assault/id1191037021?uo=4

       


      🤩 Hack Features

      - Unlimited Ammo
      - Rapid Fire
      - No Spread
      - No Recoil
      - No Camera Recoil
      - No Flinch
      - Minimap Hack
      - Fly Mode
      - Move Before Timer
      - Speed Multiplier
      - Field of View Modifier
      - Anti Flash
      - Anti Smoke
      - Unlimited In-Game Money
      • 24 replies
    • Kingdom Rush Battles: TD Game v1.4.2 +4 Jailed Cheats [ No Tower Cost ]
      Modded/Hacked App: Kingdom Rush Battles: TD Game By Ironhide S.A.
      Bundle ID: com.ironhidegames.kingdomrush.mp
      App Store Link: https://apps.apple.com/ph/app/kingdom-rush-battles-td-game/id6746510979?uo=4

       
       

      🤩 Hack Features

      - Dumb Enemy -> Disables your enemy from buying towers.
      - No Tower Build Cost -> Use with Dumb Enemy.
      - No Tower Upgrade Cost -> Use with Dumb Enemy.
      - No Tower Skill Upgrade Cost -> Use with Dumb Enemy.
        • Winner
        • Like
      • 49 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