Everything posted by Lewis
-
if player is in closest bank
that free post count though
-
SDN Grinder [Multiple items][Multiple banks]
oh damn that script hid from me, well, no harm in having two i guess xD
-
SDN Grinder [Multiple items][Multiple banks]
Lewis' Item Grinder Description: Script will grind the GUI selected item with pestle and mortar Features Script will walk to the closest bank *List of banks supported below Withdraws 1 pestle and mortar + 27 of the GUI selected item. Avoids spamming actions Info! Make sure bank/inventory contains a pestle and mortar as well as items you want to grind. Script doesn't avoid combat so if you are in/near an aggressive npc area please be cautious! How to get the script: Waiting on SDN upload requests *Banks that are supported: DRAYNOR, AL_KHARID, LUMBRIDGE_UPPER, FALADOR_EAST FALADOR_WEST, GRAND_EXCHANGE, VARROCK_WEST CAMELOT, CATHERBY, EDGEVILLE, YANILLE, GNOME_STRONGHOLD ARDOUGNE_NORTH, ARDOUGNE_SOUTH, CASTLE_WARS DUEL_ARENA, PEST_CONTROL, CANIFIS, TZHAAR *Items currently supported: Chocolate bar, Unicorn horn, Bird nest, Desert goat horn, Blue dragon scale Any suggestions are welcome Edit: Thinking to add selling to GE and rebuying the item. Also debating muling. Please leave some feedback on this idea
-
if player is in closest bank
your code worked great
-
if player is in closest bank
thank you no error, ill let you know how it works
-
if player is in closest bank
done like so: List<Area> closestArea = new ArrayList<Area>(); @[member=Override] public void onStart() { gui = new GUI(); closestArea.add(Banks.AL_KHARID); closestArea.add(Banks.DRAYNOR); closestArea.add(Banks.VARROCK_WEST); closestArea.sort(new Comparator<Area>() { public int compare(Area entry1, Area entry2) { return entry1.getRandomPosition().distance(myPlayer()) entry2.getRandomPosition().distance(myPlayer()); } }); } although on line : return entry1.getRandomPosition().distance(myPlayer()) entry2.getRandomPosition().distance(myPlayer()); it wants me to insert ; to complete the block (if i do insert ; then entry 2 gets full error)
-
if player is in closest bank
List<Area> closestArea = new ArrayList<Area>(); closestArea.add(Banks.AL_KHARID); closestArea.add(Banks.DRAYNOR); closestArea.add(Banks.VARROCK_WEST); closestArea.sort(new Comparator<Area>() { public int compare(Area entry1, Area entry2) { return entry1.getRandomPosition().distance(myPlayer()) entry2.getRandomPosition().distance(myPlayer()); } }); getWalking().webWalk(closestArea.get(0)); if(!closestArea.get(0).contains(myPlayer()) getWalking().webWalk(closestArea.get(0)); just add more closestArea.add(Banks.DRAYNOR); ? or do i need to add, entry 1,2,3,4 etc also?
-
if player is in closest bank
need to figure out how to return true if for example: GE is closest, bank, it walks to ge // i got working then if GE contains myplayer { w.e *GE will be closest bank
-
if player is in closest bank
looking for my script to run to the closest bank, but i dont know how to get if closest bank contains myplayer code is: private final Area[] BANKS = { (Banks.DRAYNOR), (Banks.AL_KHARID), (Banks.LUMBRIDGE_UPPER), (Banks.FALADOR_EAST), (Banks.FALADOR_WEST), (Banks.FALADOR_EAST), (Banks.VARROCK_WEST), (Banks.CAMELOT), (Banks.CATHERBY), (Banks.EDGEVILLE), (Banks.YANILLE), (Banks.GNOME_STRONGHOLD), (Banks.ARDOUGNE_NORTH), (Banks.ARDOUGNE_SOUTH), (Banks.CASTLE_WARS), (Banks.DUEL_ARENA), (Banks.PEST_CONTROL), (Banks.CANIFIS), (Banks.TZHAAR)}; && if (!BANKS.contains(myPlayer())) { walking.webWalk(BANKS); sleep(random(250, 300));
- papa johns pan pizza
-
setting up cli parameters
no need to be a douche about it?
-
setting up cli parameters
feel free to link me the appropriate info. Ive been googling it for the past 3 hours
-
setting up cli parameters
im sure this a help section for a reason lol
-
setting up cli parameters
i want to withdraw using parameters lol, i know how to withdraw normally lol such as bank.withdrawAll(PARAMETER_1); bank.withdrawAll(PARAMETER_2);
-
setting up cli parameters
i thought the thread being in script help would be pretty self explanatory also, what would i add to say, banking method such as: withdraw parameter 1
-
setting up cli parameters
Hey, im looking to add cli parameters to my script. im looking for it to withdraw items that are on the cli parameters such as: test:log,apple,mind rune
-
Limiting a script to a user
private scripts
- Limiting a script to a user
-
Limiting a script to a user
how would you limit a script to only be able to used by the osbot user "Lewis", so anyone without the osbot username "Lewis" would not have permission to run the script
-
need help again..
like so: (feel free to correct me) final String BANK_BOOTH = "Banker"; NPC bankbooth = npcs.closest(BANK_BOOTH); if (!bank.isOpen()) { bankbooth.interact("Bank"); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return bank.isOpen(); } }.sleep(); } else if (bank.isOpen()) { if (!getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) { getBank().enableMode(BankMode.WITHDRAW_NOTE); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE); } }.sleep(); } else if (bank.contains("Shortbow") && getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) { bank.withdraw("Shortbow", AMOUNT); new ConditionalSleep(10000) { @[member='Override'] public boolean condition() throws InterruptedException { return inventory.contains("Shortbow"); } }.sleep(); } }
-
need help again..
if (!getBank().getWithdrawMode().equals(BankMode.WITHDRAW_NOTE)) getBank().enableMode(BankMode.WITHDRAW_NOTE);
-
MIO CHOKE ON WATER
im interested how you done this, please let me know
- status of GE selling slot
-
status of GE selling slot
how would an if statement such as if pending_sale look like
-
status of GE selling slot
Looking to find out how to tell the difference between these 4 GE slot statuses tried widgets but cannot find the correct one, any help is appreciated