This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package lordbminer; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.rev317.min.api.methods.Bank; | |
import org.rev317.min.api.methods.Inventory; | |
import org.rev317.min.api.methods.SceneObjects; | |
import org.rev317.min.api.wrappers.SceneObject; | |
import org.rev317.min.api.wrappers.Tile; | |
import org.rev317.min.api.wrappers.TilePath; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.rev317.min.api.methods.Bank; | |
import org.rev317.min.api.methods.Inventory; | |
import org.rev317.min.api.methods.SceneObjects; | |
import org.rev317.min.api.wrappers.SceneObject; | |
public class Banking implements Strategy { | |
SceneObject[] BankBooth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.rev317.min.api.methods.Bank; | |
import org.rev317.min.api.methods.Inventory; | |
import org.rev317.min.api.methods.SceneObjects; | |
import org.rev317.min.api.wrappers.SceneObject; | |
public class Banking implements Strategy { | |
SceneObject[] BankBooth; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public boolean activate() { | |
return !Inventory.isFull() && !Bank.isOpen() && Players.getMyPlayer().getAnimation() == -1 && Flax_ID[0].distanceTo() < 5; | |
} | |
@Override | |
public void execute() { | |
System.out.print("Flaxing"); | |
if (Flax_ID.length > 0 && Flax_ID != null | |
&& Flax_ID[0].distanceTo() > 0 && Players.getMyPlayer().getAnimation() == -1); | |
Flax_ID[0].interact(Flax_ID[0].getHash()); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Bank.open(); | |
Time.sleep(new SleepCondition() { | |
@Override | |
public boolean isValid() { | |
return Bank.isOpen(); | |
} | |
}, 3000); | |
System.out.print("Banking"); | |
Menu.sendAction(646, 1521, 3, 21012); | |
Time.sleep(new SleepCondition() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<module type="JAVA_MODULE" version="4"> | |
<component name="NewModuleRootManager" inherit-compiler-output="true"> | |
<exclude-output /> | |
<content url="file://$MODULE_DIR$"> | |
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | |
</content> | |
<orderEntry type="inheritedJdk" /> | |
<orderEntry type="sourceFolder" forTests="false" /> | |
<orderEntry type="library" name="Parabot-317-API-Minified" level="project" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import org.parabot.environment.scripts.Category; | |
import org.parabot.environment.scripts.Script; | |
import org.parabot.environment.scripts.ScriptManifest; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import strategies.BankingFlax; | |
import strategies.PickingFlax; | |
import strategies.ToFlax; | |
import java.awt.*; | |
import java.util.ArrayList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package LordPlank; | |
import LordPlank.strategies.plankbank; | |
import LordPlank.strategies.bankplank; | |
import org.parabot.environment.api.interfaces.Paintable; | |
import org.parabot.environment.scripts.Category; | |
import org.parabot.environment.scripts.Script; | |
import org.parabot.environment.scripts.ScriptManifest; | |
import org.parabot.environment.scripts.framework.Strategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package LordPlank; | |
import LordPlank.strategies.plankbank; | |
import LordPlank.strategies.bankplank; | |
import org.parabot.environment.api.interfaces.Paintable; | |
import org.parabot.environment.scripts.Category; | |
import org.parabot.environment.scripts.Script; | |
import org.parabot.environment.scripts.ScriptManifest; | |
import org.parabot.environment.scripts.framework.Strategy; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package strategies; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.SleepCondition; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.rev317.min.api.methods.*; | |
import org.rev317.min.api.wrappers.Npc; | |
import org.rev317.min.api.wrappers.SceneObject; | |
import org.rev317.min.api.wrappers.Tile; | |
import org.rev317.min.api.wrappers.TilePath; |
OlderNewer