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 org.parabot.lord.lordwoodcutting.strategies; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.SleepCondition; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.parabot.lord.lordwoodcutting.data.Variables; | |
import org.rev317.min.api.methods.Inventory; | |
import org.rev317.min.api.methods.Players; | |
import org.rev317.min.api.methods.SceneObjects; | |
import org.rev317.min.api.wrappers.SceneObject; |
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 org.parabot.lord.lordwoodcutting.strategies; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.scripts.framework.SleepCondition; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.parabot.lord.lordwoodcutting.data.Variables; | |
import org.rev317.min.api.methods.Inventory; | |
import org.rev317.min.api.methods.Players; | |
import org.rev317.min.api.methods.SceneObjects; | |
import org.rev317.min.api.wrappers.SceneObject; |
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 org.parabot.lord.lordwoodcutting.data; | |
public class Constants { | |
public final static int NORMAL = 1276; | |
public final static int OAKS = 1226; | |
public final static int WILLIOWS = 298; | |
public final static int YEWS = 298; | |
public final static int MAGIC = 298; | |
public final static int DEPOSIT = 293; |
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 strategy; | |
import data.Constants; | |
import org.dreambot.api.methods.MethodProvider; | |
import org.dreambot.api.methods.container.impl.bank.BankType; | |
import org.dreambot.api.script.AbstractScript; | |
public class RestockingStrategy extends Strategy{ | |
public RestockingStrategy(AbstractScript script) { |
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 strategy; | |
import data.Constants; | |
import org.dreambot.api.methods.MethodProvider; | |
import org.dreambot.api.methods.map.Tile; | |
import org.dreambot.api.script.AbstractScript; | |
import org.dreambot.api.utilities.impl.Condition; | |
/** | |
* Created by George on 07/09/2015. |
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 Main.sysm; | |
import data.NameGenerator; | |
import data.ScriptState; | |
import org.parabot.environment.api.utils.Time; | |
import org.parabot.environment.input.Keyboard; | |
import org.parabot.environment.input.Mouse; | |
import org.parabot.environment.scripts.framework.SleepCondition; | |
import org.parabot.environment.scripts.framework.Strategy; | |
import org.rev317.min.Loader; | |
import org.rev317.min.api.methods.Game; |
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 main; | |
import data.Constants; | |
import data.Variables; | |
import java.awt.BorderLayout; | |
import java.awt.EventQueue; | |
import javax.swing.JFrame; | |
import javax.swing.JPanel; |
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-V2.1.08-B" 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
package Data; | |
import org.parabot.environment.api.utils.Time; | |
import org.rev317.min.api.methods.Menu; | |
/** | |
* Created by Single Core on 25/04/2015. | |
*/ | |
public enum Teleport { | |
/*HOME TELEPORT*/ |
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 class ToMineEss implements Strategy { | |
SceneObject[] Ess = SceneObjects.getNearest(2491); | |
public static Tile[] EssPath = {new Tile(3222, 3426), new Tile(3233, 3412), new Tile(3248, 3400)}; | |
Npc[] Aubury = null; | |
@Override | |
public boolean activate() { | |
Aubury = Npcs.getNearest(953); | |
return Inventory.isEmpty() && Players.getMyPlayer().getAnimation() == -1; | |
} |