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

    • Claw Master – Roguelike Hero v1.0.7 [ +15 Cheats  ] Currency Max
      Modded/Hacked App: Claw Master – Roguelike Hero By AI GAMES FZ LLC
      Bundle ID: hero.claw.master
      App Store Link: https://apps.apple.com/us/app/claw-master-roguelike-hero/id6755685940?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Hero Cards / Easy To Unlock Just 1 Earn
      - Unlimited Dungeon Ticket
      - Unlimited Tower Ticket
      - Unlimited Relics Keys
      - Unlimited Battle Red Star
      - Unlimited Battle Yellow Stars
      - Unlimited Luck Balls
      - Unlimited Reroll Dice
      - Unlimited Resurrection Stone
      - Unlimited Shuffle Coins
      - DMG
      • 0 replies
    • Claw Master – Roguelike Hero v1.0.7 [ +15 Jailed ] Currency Max
      Modded/Hacked App: Claw Master – Roguelike Hero By AI GAMES FZ LLC
      Bundle ID: hero.claw.master
      App Store Link: https://apps.apple.com/us/app/claw-master-roguelike-hero/id6755685940?uo=4

      🤩 Hack Features

      - Auto ADS OFF
      - Unlimited Gems
      - Unlimited Coins
      - Unlimited Energy
      - Unlimited Hero Cards / Easy To Unlock Just 1 Earn
      - Unlimited Dungeon Ticket
      - Unlimited Tower Ticket
      - Unlimited Relics Keys
      - Unlimited Battle Red Star
      - Unlimited Battle Yellow Stars
      - Unlimited Luck Balls
      - Unlimited Reroll Dice
      - Unlimited Resurrection Stone
      - Unlimited Shuffle Coins
      - DMG
      • 0 replies
    • Travel Town - Merge Adventure v2.12.1402 Jailed Cheats +1
      Modded/Hacked App: Travel Town - Merge Adventure By Magmatic Games Ltd
      Bundle ID: io.randomco.travel
      iTunes Store Link: https://apps.apple.com/us/app/travel-town-merge-adventure/id1521236603?uo=4


      Hack Features:
      - Infinite Currencies


      iOS Hack Download Link: https://iosgods.com/topic/148953-travel-town-merge-adventure-v212287-jailed-cheats-1/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 886 replies
    • Subway Surfers v3.57.1 +8 Mods [ Unlimited Currencies ]
      Mod APK Game Name: Subway Surfers by SYBO Games
      Rooted Device: Not Required.
      Google Play Store Link: https://play.google.com/store/apps/details?id=com.kiloo.subwaysurf

       

      🤩 Hack Features

      - Currency Modifier -> Earn some.
      - Unlimited Currencies -> Will increase instead of decrease.
      - Freeze Currencies
      - Free In-App Purchases
      - All Characters Unlocked
      - All Boards Unlocked
      - God Mode
      - No Stumble

      Will add more soon.
        • Thanks
      • 1 reply
    • Dragonbound Knight v1.0 [ +2 Jailed ] Currency Max
      Modded/Hacked App: Dragonbound Knight By Kuo Hsiung Chiu
      Bundle ID: com.kunio.dragonboundknight
      App Store Link: https://apps.apple.com/us/app/dragonbound-knight/id6757808912?uo=4

      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      • 0 replies
    • Dragonbound Knight v1.0 [ +2 Cheats ] Currency Max
      Modded/Hacked App: Dragonbound Knight By Kuo Hsiung Chiu
      Bundle ID: com.kunio.dragonboundknight
      App Store Link: https://apps.apple.com/us/app/dragonbound-knight/id6757808912?uo=4
      🤩 Hack Features

      - Unlimited Gems
      - Unlimited Coins
      • 1 reply
    • Glow Tales: Merge & Makeover v1.2.0 +100 Jailed Cheats [ Debug Menu ]
      Modded/Hacked App: Glow Tales: Merge & Makeover By Paxie Games Oyun ve Yazilim Anonim Sirketi
      Bundle ID: com.paxiegames.glowtales
      App Store Link: https://apps.apple.com/us/app/glow-tales-merge-makeover/id6754087834?uo=4

       


      🤩 Hack Features

      - Debug Menu -> Head into Settings and toggle the Inbox button.
        • Informative
        • Like
      • 9 replies
    • Pickaxe King Island v402 +4 Jailed Cheats [ Unlimited Everything ]
      Modded/Hacked App: Pickaxe King Island By ROGUE UNION GAMES
      Bundle ID: com.rogueuniongames.pickaxekingisland
      App Store Link: https://apps.apple.com/us/app/pickaxe-king-island/id6738040300?uo=4

       


      🤩 Hack Features

      - God Mode
      - One-Hit Kill
      - Unlimited Everything -> Will increase instead of decrease.
      - Free Shopping
        • Thanks
        • Like
      • 19 replies
    • Subway Surfers City v1.29.2 +10 Jailed Cheats [ Unlimited Currencies ]
      Modded/Hacked App: Subway Surfers City By Sybo Games ApS
      Bundle ID: com.sybogames.subway.surfers.game
      iTunes Store Link: https://apps.apple.com/ca/app/subway-surfers-city/id6504188939?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 Coins -> Earn or spend some.
      - Unlimited Keys -> Earn or spend some.
      - Unlimited Revives - Earn or spend some.
      - Unlimited Tokens -> Earn or spend some.
      - All Boards Unlocked
      - All Surfers Unlocked
      - Max Level -> Earn some XP.
      - God Mode
      - Unlimited Score
      - Unlimited Jumps


      Jailbreak required hack(s): [Mod Menu Hack] Subway Surfers City v1.13.2 +7 Cheats [ Unlimited Currencies ] - Free Jailbroken Cydia Cheats - iOSGods
      Modded Android APK(s): https://iosgods.com/forum/68-android-section/
      For more fun, check out the Club(s): https://iosgods.com/clubs/
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 240 replies
    • Darkest Hero! v0.1.1 [ +4 Cheats ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Haha
        • Thanks
        • Winner
        • Like
      • 26 replies
    • Darkest Hero! v0.1.1 [ +4 Jailed ] Currency Max
      Modded/Hacked App: Darkest Hero! By MINIDRAGON LTD
      Bundle ID: com.minidragon.randomdungeon
      App Store Link: https://apps.apple.com/us/app/darkest-hero/id6746927122?uo=4

      🤩 Hack Features

      - Unlimited Gems / Earn
      - Unlimited Red Crystal / Earn
      - Unlimited Gold / Earn
      - Unlimited Keys / Earn
        • Informative
        • Agree
        • Winner
        • Like
      • 22 replies
    • Fairyland - Merge & Match v2.2.1 [ +4 Cheats ] Auto Win
      Modded/Hacked App: Fairyland - Merge & Match By 程程 姚
      Bundle ID: com.mergematch.fairyland
      App Store Link: https://apps.apple.com/us/app/fairyland-merge-match/id6740663230?uo=4
       

      🤩 Hack Features

      - Auto Win
      - Gems
      - Coins
      - Moves 99
        • Informative
        • Agree
        • Thanks
        • Like
      • 19 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