coldzero24
Members-
Posts
4 -
Joined
-
Last visited
coldzero24's Achievements
-
Here's a script that works for me. It's my first script but it should work. Make a new class called main in your project and paste this: import org.dreambot.api.methods.container.impl.Inventory; import org.dreambot.api.methods.container.impl.bank.BankLocation; import org.dreambot.api.methods.grandexchange.GrandExchange; import org.dreambot.api.methods.interactive.Players; import org.dreambot.api.methods.map.Area; import org.dreambot.api.methods.skills.Skill; import org.dreambot.api.methods.skills.SkillTracker; import org.dreambot.api.methods.walking.impl.Walking; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.script.impl.TaskScript; import org.dreambot.api.methods.grandexchange.GrandExchange; import org.dreambot.api.wrappers.interactive.Locatable; import java.awt.*; // Every script needs a ScriptManifest so it can be seen in the script manager @ScriptManifest(category = Category.QUEST, name = "Walk to GE", description = "Walks to the grand exchange", author = "coldzero24", version = 0.1) public class Main extends TaskScript { @Override public void onStart() { addNodes(new GrandExchangeTask()); } @Override public void onPaint(Graphics g) { } } Next, make a new class called GrandExchangeTask and copy this code into it: import org.dreambot.api.methods.interactive.Players; import org.dreambot.api.methods.map.Area; import org.dreambot.api.methods.walking.impl.Walking; import org.dreambot.api.script.TaskNode; import java.awt.*; public class GrandExchangeTask extends TaskNode { private boolean shouldWalk = true; private final Area GE = new Area(3162, 3487, 3167, 3485); @Override public boolean accept() { while(shouldWalk){ if(!GE.contains(Players.getLocal())){ if(Walking.shouldWalk()){ Walking.walk(GE.getRandomTile()); } }else{ shouldWalk = false; } } return true; } @Override public int execute() { return 0; } } Most of the imports are probably not necessary but I was testing around other things and too lazy to delete so yeah.
-
nano ⛏ [$7.99] [AIO] Nano Miner v2 - Full-blown and reliable AIO mining script
coldzero24 replied to Neffarion's topic in Premium
Hello, is there a way to mine gems with this script?