Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -708,7 +708,7 @@ default boolean useSafety() {
section = safetySection
)
default boolean missingRunes() {
return true;
return false;
}
// Missing arrows
@ConfigItem(
Expand All @@ -719,7 +719,7 @@ default boolean missingRunes() {
section = safetySection
)
default boolean missingArrows() {
return true;
return false;
}
// Missing food
@ConfigItem(
Expand All @@ -730,7 +730,7 @@ default boolean missingArrows() {
section = safetySection
)
default boolean missingFood() {
return true;
return false;
}

// Low health
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
)
@Slf4j
public class AIOFighterPlugin extends Plugin {
public static final String version = "2.0.8";
public static final String version = "2.0.9";
public static boolean needShopping = false;
private static final String SET = "Set";
private static final String CENTER_TILE = ColorUtil.wrapWithColorTag("Center Tile", JagexColors.MENU_TARGET);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -153,13 +153,13 @@ public boolean needBanking() {
setupName = config.currentInventorySetup().getName();
}
} else {
if (config.inventorySetup() != null) {
if (config.inventorySetup() != null && config.useInventorySetup()) {
setupName = config.inventorySetup().getName();
}
}

if (setupName == null) {
Microbot.log("Invalid inventory setup name, skipping banking.");
if (setupName == null || !config.useInventorySetup()) {
Microbot.log("Inventory setup is disabled, skipping banking.");
return false;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
import net.runelite.client.plugins.microbot.util.player.Rs2Player;

import java.util.concurrent.TimeUnit;
import java.util.logging.Level;

import static net.runelite.client.plugins.microbot.Microbot.log;

Expand Down Expand Up @@ -56,7 +57,7 @@ public boolean run(AIOFighterConfig config) {
}

public void stopAndLog(String reason) {
log(reason);
log(reason, Level.WARNING);
if(Rs2Bank.walkToBank()){
Rs2Player.logout();
Plugin PlayerAssistPlugin = Microbot.getPlugin(AIOFighterPlugin.class.getName());
Expand Down