- Thread Author
- #1
So... I decided to join this community and actually write my own "Flax & Tanning" Script.
And im obviously using a brand new account and training in BURTHORPE.
I managed to write the function to move from the bank -> Spinner and back.. been writing for around 30-45 minutes. Then all of the sudden... Banned for MACROING MAJOR??? on bloody darkscape?
Its sad... I just paid 10 dollars to support this site thinking its the real deal... please stop fooling your members.
anyone that reads the below code, will realize that its not even complete yet... but somehow on a brand new level 3 account i get banned for macroing major.
and please, dont bother with the non-sense of my whatever is flagged..
And im obviously using a brand new account and training in BURTHORPE.
I managed to write the function to move from the bank -> Spinner and back.. been writing for around 30-45 minutes. Then all of the sudden... Banned for MACROING MAJOR??? on bloody darkscape?
Its sad... I just paid 10 dollars to support this site thinking its the real deal... please stop fooling your members.
anyone that reads the below code, will realize that its not even complete yet... but somehow on a brand new level 3 account i get banned for macroing major.
and please, dont bother with the non-sense of my whatever is flagged..
Code:
private final Area BURTHORPE_BANK_AREA = new Area.Rectangular(new Coordinate(2885, 3541, 0), new Coordinate(2892, 3531, 0)),
BURTHORPE_SPINNING_AREA = new Area.Rectangular(new Coordinate(2890, 3496, 0), new Coordinate(2880, 3493, 0)),
BURTHORPE_FLAX_AREA = new Area.Rectangular(new Coordinate(2882, 3460, 0), new Coordinate(2889, 3467, 0));
@Override
public void onStart(String... args) {
System.out.println("New Script");
setLoopDelay(500);
getEventDispatcher().addListener(this);
}
@Override
public void onLoop() {
LocatableEntity closestBank = Banks.getLoaded().nearest();
GameObject closestSpinner = GameObjects.getLoaded(66850).nearest();
// Interface - 1370, 38
if(Interfaces.getAt(1370, 38) == null && !Bank.isOpen() && Inventory.getItems("Flax").size() != 0 && closestSpinner.distanceTo(Players.getLocal()) > 10){
RegionPath.buildTo(BURTHORPE_SPINNING_AREA).step();
}else{
if(!closestSpinner.isVisible()){
Camera.turnTo(closestSpinner);
}else{
closestSpinner.click();
}
}
// Need to add a handler for the Bowstring
if (Inventory.getItems("Flax").size() == 0 && closestBank.distanceTo(Players.getLocal()) > 10) {
RegionPath.buildTo(BURTHORPE_BANK_AREA).step();
}else {
if (!Bank.isOpen()) {
Bank.open();
} else {
if (!Inventory.isEmpty() && Inventory.getItems("Flax").size() != 28){
Bank.depositInventory();
}else {
if (Bank.withdraw("Flax", 28)) {
Bank.close();
}
}
}
}
}