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

    • Angry Birds 2 Cheats v4.0.2 +1 [ Infinite Currencies ]
      Modded/Hacked App: Angry Birds 2 By Rovio Entertainment Oyj
      Bundle ID: com.rovio.baba
      iTunes Store Link: https://apps.apple.com/us/app/angry-birds-2/id880047117?uo=4


      Hack Features:
      - Infinite Currencies ( Spend some/ Get some )


      Non-Jailbroken & No Jailbreak required hack(s):  https://iosgods.com/topic/70081-angry-birds-2-v2600-jailed-cheats-2/


      Hack Download Link: https://iosgods.com/topic/72039-angry-birds-2-cheats-v2600-1-infinite-currencies/
      • 1,960 replies
    • Alien Invasion: RPG Idle Space Cheats v4.18.00 +2
      Modded/Hacked App: Alien Invasion: RPG Idle Space By MULTICAST GAMES LIMITED
      Bundle ID: com.multicastgames.venomSurvive
      iTunes Store Link: https://apps.apple.com/us/app/alien-invasion-rpg-idle-space/id6443697602?uo=4


      Hack Features:
      - Infinite Currencies


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/167591-alien-invasion-rpg-idle-space-v204-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/167589-alien-invasion-rpg-idle-space-cheats-v204-1/
        • Haha
        • Like
      • 414 replies
    • Airport City Cheats v8.39.01 +1
      Modded/Hacked App: Airport City by Game Insight UAB
      Bundle ID: com.gameinsight.airportcity
      iTunes Store Link: https://apps.apple.com/us/app/airport-city/id495637457?uo=4&at=1010lce4


      Hack Features:
      - Free Store


      Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/topic/126716-arm64-airport-city-v717-jailed-cheats-1/


      iOS Hack Download Link: https://iosgods.com/topic/126714-arm64-airport-city-cheats-v717-1/
        • Agree
        • Winner
        • Like
      • 761 replies
    • Real Boxing 2 Cheats v1.55.2 +3
      Modded/Hacked App: Real Boxing 2 By Vivid Games S.A.
      Bundle ID: com.vividgames.realboxing2
      App Store Link: https://apps.apple.com/us/app/real-boxing-2/id932779605?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

      - God Mode
      - One Hit Kill
      - No Punch Cooldown

       

      Non-Jailbroken Hack: https://iosgods.com/topic/195702-real-boxing-2-v1550-jailed-cheats-3/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/195685-real-boxing-2-cheats-v1550-3/
      • 11 replies
    • Dead Trigger 2 Cheats v2.4.1 +10 [ God Mode & More ]
      Modded/Hacked App: DEAD TRIGGER 2: Zombie Games By Deca Games EOOD
      Bundle ID: com.madfingergames.deadtrigger2
      iTunes Store Link: https://apps.apple.com/us/app/dead-trigger-2-zombie-games/id720063540?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 Ammo
      - No Reload
      - God Mode
      - Infinite Consumable
      - One Hit Kill
      - Drop Hacks
      - Instant Win
      - Better Aim
      - Aimbot
      - Kill All Zombies with 1 Tap

       

      Non-Jailbroken Hack: https://iosgods.com/topic/73791-dead-trigger-2-v230-jailed-cheats-10

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/78126-dead-trigger-2-cheats-v230-10-god-mode-more/
        • Agree
        • Haha
        • Winner
        • Like
      • 2,841 replies
    • Boxing Star: Real Boxing Fight Cheats v7.0.0 +4
      Modded/Hacked App: Boxing Star: Real Boxing Fight By THUMBAGE Co., Ltd
      Bundle ID: com.ftt.boxingstar.gl.ios
      iTunes Store Link: https://apps.apple.com/us/app/boxing-star-real-boxing-fight/id1241887528?uo=4


      Hack Features:
      - Multiply Attack
      - Multiply Defense
      - God Mode
      - One Touch & Win

      Free Non-Jailbroken Hack: https://iosgods.com/topic/92347-boxing-star-real-boxing-fight-v620-jailed-cheats-4/


      Hack Download Link: https://iosgods.com/topic/72805-boxing-star-real-boxing-fight-cheats-v620-4/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 1,685 replies
    • [ Chiikawa Pocket JP ] ちいかわぽけっと v1.2.10 Jailed Cheats +3
      Modded/Hacked App: ちいかわぽけっと By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocket
      iTunes Store Link: https://apps.apple.com/jp/app/%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8/id6596745408?uo=4

       

      📌 Mod Requirements

      - Non-Jailbroken/Jailed or Jailbroken iPhone or iPad.
      - Sideloadly or alternatives.
      - Computer running Windows/macOS/Linux with iTunes installed.

       

      🤩 Hack Features

      - God Mode
      - Multiply Attack
      - Custom Speed (Customize before Login or Clear stage to get apply)

       

      ⬇️ iOS Hack Download IPA Link: https://iosgods.com/topic/194281-chiikawa-pocket-jp-%E3%81%A1%E3%81%84%E3%81%8B%E3%82%8F%E3%81%BD%E3%81%91%E3%81%A3%E3%81%A8-v1111-jailed-cheats-3/
      • 24 replies
    • Chiikawa Pocket Cheats v1.2.10 +3
      Modded/Hacked App: Chiikawa Pocket By Applibot Inc.
      Bundle ID: jp.co.applibot.chiikawapocketgl
      iTunes Store Link: https://apps.apple.com/us/app/chiikawa-pocket/id6740838442?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

      - God Mode
      - Multiply Attack

       

      Non-Jailbroken Hack: https://iosgods.com/topic/193718-chiikawa-pocket-v111-jailed-cheats-2/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/193717-chiikawa-pocket-cheats-v111-2/
      • 45 replies
    • Real Racing 3 Cheats v13.5.1 +4
      Modded/Hacked App: Real Racing 3 By Electronic Arts Inc.
      Bundle ID: com.ea.realracing3.inc
      iTunes Store Link: https://apps.apple.com/us/app/real-racing-3/id556164008?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

      - Free Store
      - Freeze M$
      - Freeze R$
      - Freeze Gold

      Non-Jailbroken Hack: https://iosgods.com/topic/185163-real-racing-3-v1317-jailed-cheats-4/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/147926-real-racing-3-cheats-v1318-4/
        • Agree
        • Haha
        • Like
      • 1,048 replies
    • Dream League Soccer 2025 v12.240 +12 Cheats
      Modded/Hacked App: Dream League Soccer 2024 By First Touch Games Ltd.
      Bundle ID: com.firsttouch.dls7
      iTunes Store Link: https://apps.apple.com/us/app/dream-league-soccer-2024/id1462911602?uo=4


      Hack Features:
      - Stupid AI
      - No Foul
      - No Injuries
      - No Offside
      - Freeze Stamina
      - No Substitutions Limit
      - No Forfeit Penalty
      - Custom Logo Unlocked
      - Custom Kit Unlocked
      - Unlock Customizations
      - Throw In to End Current Half
      - Freeze Match Clock

      Notes: Play offline if you get kicked out of match.


      Non-Jailbroken & No Jailbreak required hack(s): 
       

      iOS Hack Download Link: https://iosgods.com/topic/138633-dream-league-soccer-2024-v11230-12-cheats/
        • Informative
        • Agree
        • Haha
        • Winner
        • Like
      • 2,129 replies
    • Subway Surfers Cheats v3.48.10 +5
      Modded/Hacked App: Subway Surfers By Sybo Games ApS
      Bundle ID: com.kiloo.subwaysurfers
      iTunes Store Link: https://apps.apple.com/us/app/subway-surfers/id512939461?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

      - Free Store (not Free iAP)
      - Free iAP (ViP Only)
      - Unlock Characters Outfit
      - Custom Jump Height
      - No Clip (To end level swipe to left til you get dizzy, swipe again and you will lose)

       

      Non-Jailbroken Hack: https://iosgods.com/topic/119795-subway-surfers-v3425-jailed-cheats-5/

       

      ⬇️ iOS Hack Download Link: https://iosgods.com/topic/119793-subway-surfers-cheats-v3430-5/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 2,334 replies
    • Dice Dreams Cheats v1.93.0 +2
      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:
      - Custom Rolls
      - Unlimited Coins - afford regardless of if you have enough


      iOS Hack Download Link: https://iosgods.com/topic/138011-dice-dreams%E2%84%A2-v1692-2-cheats/
        • Agree
        • Winner
        • Like
      • 636 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