>>>DOWNLOAD<<<
Requires 28 thieving.
60k gp an hour.
5k exp an hour.
Start here, beside the north chest.
import java.awt.Color;
import java.awt.Font;
import java.awt.Graphics2D;
import org.osbot.rs07.api.map.Position;
import org.osbot.rs07.api.ui.Skill;
import org.osbot.rs07.api.ui.Tab;
import org.osbot.rs07.script.Script;
import org.osbot.rs07.script.ScriptManifest;
@ScriptManifest(name = "Chest Thief", author = "Reminiscence", version = 1.0, info = "Steals nature runes.", logo = "")
public class chestThief extends Script {
String state;
long startTime;
@Override
public void onStart() {
experienceTracker.start(Skill.THIEVING);
state = "initializing";
startTime = System.currentTimeMillis();
}
public void AntiBan() throws InterruptedException {
switch (random(1, 50)) {
case 1:
camera.movePitch(100 + (random(1, 70)));
break;
case 2:
camera.movePitch(100 + (random(1, 70)));
break;
case 3:
tabs.open(Tab.SKILLS);
mouse.getMouse().move(random(682, 730), random(304, 322));
sleep(random(200, 450));
break;
case 4:
tabs.open(Tab.ATTACK);
break;
case 5:
tabs.open(Tab.QUEST);
break;
case 6:
camera.movePitch(50 + random(1, 70));
break;
case 7:
camera.moveYaw(150 + (random(30, 70)));
break;
case 8:
tabs.open(Tab.SKILLS);
mouse.getMouse().move(random(682, 730), random(304, 322));
sleep(random(200, 450));
break;
case 9:
tabs.open(Tab.SKILLS);
mouse.getMouse().move(random(682, 730), random(304, 322));
sleep(random(200, 450));
break;
case 10:
mouse.moveOutsideScreen();
sleep(random(5000, 10000));
break;
}
sleep(random(700, 1800));
tabs.open(Tab.INVENTORY);
}
@Override
public void onExit() {
log("exp gained: "+ experienceTracker.getGainedXP(Skill.THIEVING));
}
@Override
public int onLoop() throws InterruptedException {
AntiBan();
if (players.myPlayer().getX() != 2672 || players.myPlayer().getY() != 3301){
state = "Walking to spot";
walking.webWalk(new Position(2672, 3301, 1), new Position(2672, 3301, 1));
}
if (objects.closest("Chest") != null && !inventory.isFull()) {
state = "checking for traps";
objects.closest("Chest").interact("Search for traps");
sleep(random(13000, 15500));
state = "Sleeping";
}
return 600;
}
public String format(long time) {
StringBuilder string = new StringBuilder();
long totalSeconds = time / 1000L;
long totalMinutes = totalSeconds / 60L;
long totalHours = totalMinutes / 60L;
int seconds = (int)totalSeconds % 60;
int minutes = (int)totalMinutes % 60;
int hours = (int)totalHours % 24;
if (hours > 0) {
string.append(hours + "h ");
}
if (minutes > 0) {
string.append(minutes + "m ");
}
string.append(seconds +"s");
return string.toString();
}
@Override
public void onPaint(Graphics2D g) {
final Font font1 = new Font("Arial", 0, 12);
final Color color1 = new Color(255, 255, 255, 255);
g.setFont(font1);
g.setColor(color1);
g.drawString("State: " + state, 8, 260);
g.drawString("EXP Gained: " + experienceTracker.getGainedXP(Skill.THIEVING), 8, 275);
g.drawString("EXP/Hour: " + experienceTracker.getGainedXPPerHour(Skill.THIEVING), 8, 290);
g.drawString("Levels gained: " + experienceTracker.getGainedLevels(Skill.THIEVING), 8, 305);
g.drawString("EXP to lvl: " + skills.experienceToLevel(Skill.THIEVING) , 8, 320);
g.drawString("Runtime: " + format((System.currentTimeMillis()-startTime)), 8, 335);
}
}