-
Posts
10 -
Joined
-
Last visited
-
Feedback
100%
Profile Information
-
Gender
Female
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
ohdonpiano's Achievements
Newbie (1/10)
1
Reputation
-
D Bolter left Positive feedback for ohdonpiano
-
Sold all
-
20m sold.. 310m remains for sale
-
numberxxx left Positive feedback for ohdonpiano
-
add me on discord DON#8597
-
Selling 330m osrs gp. Need through paypal, I will go first if you are trusted/have positive rating.
-
PC High lvl main acc ~ Quest Cape, 2050 total, and much more
ohdonpiano replied to ohdonpiano's topic in Price Check
Do you know anywhere else I should advertise it? -
Simultaneous intro and script submission -- CS student, adept understanding of programming logic, but with little Java knowledge/experience I made this Master Farmer thieving script and want to see what criticism it receives.. NPC masterFarmer = getNpcs().closest("Master Farmer"); int lastCount = getInventory().getEmptySlotCount(); int randReturn = random(40, 138); int randSleep = random(450, 850); int corblimeySleep = random(1800, 2000); RS2Object bankBooth = getObjects().closest("Bank booth"); InteractionEvent useBank = new InteractionEvent(bankBooth, "Bank"); // log(randReturn); if(myPlayer().getHealthPercent() < 40){ getInventory().interact("Eat", "Swordfish"); log("Hungry, eating now"); if(!getInventory().contains("Swordfish")) { if (bankBooth.exists()) { execute(useBank); sleep(randSleep); log("Sleeping for: " + randSleep); useBank.setOperateCamera(false); useBank.setWalkTo(true); log("The Bank is open"); if (getBank().depositAll()) { // we will deposit all .. log("We deposit all"); if (getBank().withdraw("Swordfish", 7)) { new ConditionalSleep(2000, 1000) { //sleep until the inv is empty @Override public boolean condition() throws InterruptedException { return !getInventory().isFull(); } }.sleep(); } } } } } if (!getInventory().isFull() && getInventory().contains("Swordfish")) { InteractionEvent pickEvent = new InteractionEvent(masterFarmer, "Pickpocket"); pickEvent.setOperateCamera(false); pickEvent.setWalkTo(true); if (masterFarmer.exists()) { log("Master Farmer found"); execute(pickEvent); log("Picking pocket"); if(myPlayer().isHitBarVisible()){ sleep(2000); log("Cor Blimey!!"); } new ConditionalSleep(100,25) { @Override public boolean condition() throws InterruptedException { return getInventory().getEmptySlotCount() < lastCount; } }.sleep(); } else{ log("Can not find"); } } else { log("Inventory is full"); if(bankBooth.exists()){ execute(useBank); sleep(randSleep); log("Sleeping for: " + randSleep); useBank.setOperateCamera(false); useBank.setWalkTo(true); log("The Bank is open"); if (getBank().depositAll()) { // we will deposit all .. log("We deposit all"); if (getBank().withdraw("Swordfish", 5)) { new ConditionalSleep(2000, 1000) { @Override public boolean condition() throws InterruptedException { return !getInventory().isFull(); } }.sleep(); } } } else { log("The bank is closed"); if (getBank().open()) { //open the bank log("We opened the bank"); new ConditionalSleep(3000, 1500) { @Override public boolean condition() throws InterruptedException { return getBank().isOpen(); } }.sleep(); } } } return randReturn;}