ShadowGod, on 11 July 2011 - 02:12 AM, said:
UPDATED Fixed Some Bank Bugs 
ShadowGod, on 04 July 2011 - 08:20 PM, said:
July 4, 2011 : Release July 6, 2011 : GUI with the choice to select ores. Fixed walking bugs. Fixed bank bugs. July 7, 2011 : GUI Has Been Edited. Choice Of Whether to Bank or PowerMine. AntiBan.
if (txt.contains("You do not have")) {
log("no Pickaxe ... logging out and stopping script");
game.logout(true);
stopScript();
}
if i were to type "You do not have" at a mine and people were to use your script they will all log out of the game and i will win ores
Edited by ShadowGod, 30 October 2011 - 04:38 PM.
private boolean needToBank(){
if (inventory.isFull()) {
return true;
} else
return false;
}
Not really that code, but you could just do:return inventory.isFull();
private void walkOreTile() {
if (getMyPlayer().getLocation() != oreTile) {
if (walking.walkTileMM(oreTile))
;
}
}
This doesn't really make sense to have that last if statement.public boolean walk(RSTile[] path) {
RSTilePath paths = walking.newTilePath(path);
if (calc.distanceTo(walking.getDestination()) < random(5, 7) ) {
paths.traverse();
}
return true;
}
This will ALWAYS return true. Really no reason for it to return any value.public boolean dropOres() {
status = "dropping ores";
inventory.dropAllExcept(pickID);
return true;
}
Same deal here.