diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesConfig.java b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesConfig.java index 09d5766000..7bd32cc5f5 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesConfig.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesConfig.java @@ -6,7 +6,7 @@ @ConfigGroup(MahoganyHomesConfig.GROUP_NAME) @ConfigInformation("

S-1D Home Raider

\n" + - "

BETA PREVIEW 4

\n" + + "

BETA PREVIEW 5

\n" + "

1. Start anywhere: Just make sure to have teleports, saw and a hammer.

\n" + "

2. Contracts: Select your desired contract BEFORE starting.

\n" + "

3. Supplies: Stock up on the correct planks and Steel bars in the bank, the bot will handle resupplying on its own

\n" + diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesScript.java b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesScript.java index 240a69d380..d5564a0fbc 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesScript.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/mahoganyhomez/MahoganyHomesScript.java @@ -29,7 +29,7 @@ @Slf4j public class MahoganyHomesScript extends Script { - public static String version = "0.0.4"; + public static String version = "0.0.5"; @Inject MahoganyHomesPlugin plugin; @@ -261,7 +261,7 @@ private void finish() { && plugin.getCurrentHome().isInside(Rs2Player.getWorldLocation()) && Hotspot.isEverythingFixed()) { if(plugin.getConfig().usePlankSack() && planksInPlankSack() > 0){ - if (Rs2Inventory.contains(ItemID.PLANK_SACK)) { + if (Rs2Inventory.contains(ItemID.PLANK_SACK) && Rs2Inventory.contains(ItemID.STEEL_BAR)) { Rs2Item plankSack = Rs2Inventory.get(ItemID.PLANK_SACK); if (plankSack != null) { Rs2Inventory.interact(plankSack, "Empty"); @@ -351,7 +351,8 @@ && isMissingItems()) { if (Rs2Bank.walkToBankAndUseBank(Rs2Bank.getNearestBank(currentHome.getLocation()))) { sleep(600, 1200); if(plugin.getConfig().usePlankSack()){ - + if(Rs2Inventory.isFull() && !Rs2Inventory.contains(ItemID.STEEL_BAR)) + Rs2Bank.depositAll(plugin.getConfig().currentTier().getPlankSelection().getPlankId()); Rs2Bank.withdrawX(ItemID.STEEL_BAR, 4-steelBarsInInventory()); sleep(600, 1200); diff --git a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/qualityoflife/QoLPlugin.java b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/qualityoflife/QoLPlugin.java index 6b44a9875a..2f09bb4cff 100644 --- a/runelite-client/src/main/java/net/runelite/client/plugins/microbot/qualityoflife/QoLPlugin.java +++ b/runelite-client/src/main/java/net/runelite/client/plugins/microbot/qualityoflife/QoLPlugin.java @@ -158,7 +158,7 @@ protected void startUp() throws AWTException { } if (config.autoStamina()) { Microbot.useStaminaPotsIfNeeded = true; - Microbot.runEnergyThreshold = config.staminaThreshold() * 1000; + Microbot.runEnergyThreshold = config.staminaThreshold() * 100; } autoRunScript.run(config); specialAttackScript.run(config);