Jump to content

Malcolm

Global Moderator
  • Posts

    131355
  • Joined

  • Last visited

  • Days Won

    21
  • Feedback

    100%

Everything posted by Malcolm

  1. OH, I did not notice that. Thanks for the heads up.
  2. Banks at Edgeville and uses the Edgeville furnace to make cannonballs. Script will automatically logout if any of the following occurs. Dwarf Cannon quest not completed. Account does not have 35 smithing Ammo mould not in inventory or bank No steel bars in inventory or bank. Down the road depending on interest I will add a feature to buy steel bars if the account runs out and then walk back to Edgeville and continue to make cannonballs NOTE: Please make sure that "All" is selected on the furnace, this script will not check or change that setting. Bug reports: What is the bug? How did the bug happen? What does OSBot logger say? Update Logs: http://i.imgur.com/Sd8qhC4.jpg https://discord.gg/rxPvC8mvex To donate: https://ultimatescripts.xyz/donate/ Now released on SDN!
  3. The account has been provided and this thread can be closed.
  4. I think I remember you mentioning this on another thread. Quite impressive imo.
  5. Well I would assume that account would have been botted on already and an inevitable ban would happen anyways ?
  6. That’s fair ? I was avoiding it but it’s really not a bad task.
  7. Writing a cannonball script to release to the public but I don't have an account to test the script on. If anyone is willing to let me borrow one PM me here or my discord.
  8. I must admit. I probably write some of the messiest code around ? Good thing I still know whats going on within that mess. Mine too man. Thanks ?
  9. 16 non member accounts you mean ? I do what I can.
  10. I know how badly we all want that 99 cabbage cape. That's why I released it open source ? If you all want I can add a feature to passively trains checking WC exp.
  11. No problem man. I just switched the webWalk to just walk to see if that eliminates it walking south of the Monastery. Seems to work so far. If you want to use it and there is an issue I'll fix it up for you.
  12. Be gentle. This is the very very VERY first thing I ever wrote. It's super simple but it works. Makes about 20k an hour. If anyone wants it they can use it. It picks cabbages at the Edgeville Monastery and banks at Edgeville bank. NOTE: There are two walking instances line by line because for what ever reason walk() wanted to walk south of the Monastery towards Barb and go up to Edgeville that way so I just put another location in so it would walk the other way. Updated: On a suggestion I added in a conditional sleep to this. Updated: Added more conditional sleeps were required. Added a new logo for this bad boy package cabbage_picker; import org.osbot.rs07.script.Script; import org.osbot.rs07.script.ScriptManifest; import org.osbot.rs07.utility.ConditionalSleep; import org.osbot.rs07.api.map.Area; import org.osbot.rs07.api.map.constants.Banks; import org.osbot.rs07.api.model.Entity; import org.osbot.rs07.api.ui.Message; @ScriptManifest(author = "Malcolm", info = "Pick Cabbage", name = "Cabbage Picker", version = 0.2, logo = "https://imgur.com/kDRjP7M.png") public class Main extends Script { int cabbagesBefore = 0; private final Area BANKS[] = { Banks.EDGEVILLE }; private Area cabbagePatch = new Area(3057, 3508, 3046, 3501); public void onStart() { log("Cabbage Picker"); } public void onExit() { log("Enjoy your Cabbages!"); } public int onLoop() throws InterruptedException { if (getInventory().isFull()) { if (!Banks.EDGEVILLE.contains(myPlayer())) { getWalking().walk(new Area(3070, 3520, 3066, 3520).getRandomPosition()); getWalking().walk(new Area(3087, 3518, 3078, 3515).getRandomPosition()); walkToClosestBank(); } else if (!getBank().isOpen()) { getBank().open(); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return bank.isOpen(); } }.sleep(); getBank().depositAll(); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getInventory().isEmpty(); } }.sleep(); getBank().close(); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return !bank.isOpen(); } }.sleep(); getWalking().walk(new Area(3087, 3518, 3078, 3515).getRandomPosition()); getWalking().walk(cabbagePatch); } else { getBank().depositAll(); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getInventory().isEmpty(); } }.sleep(); getBank().close(); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return !bank.isOpen(); } }.sleep(); getWalking().walk(new Area(3087, 3518, 3078, 3515).getRandomPosition()); getWalking().walk(cabbagePatch); } } else { if (!cabbagePatch.contains(myPlayer())) { getWalking().walk(cabbagePatch); } else { Entity Cabbage = objects.closest("Cabbage"); cabbagesBefore = (int) getInventory().getAmount("Cabbage"); if (Cabbage != null) { if (!myPlayer().isAnimating()) { if (!myPlayer().isMoving()) { Cabbage.interact("Pick"); new ConditionalSleep(2000) { @Override public boolean condition() throws InterruptedException { return getInventory().getAmount("Cabbage") > cabbagesBefore; } }.sleep(); } } } } } return random(600, 900); } public void walkToClosestBank() { getWalking().webWalk(BANKS); } public void onMessage(Message message) { if (message.getMessage().contains("You pick a cabbage")) cabbagesBefore++; } }
×
×
  • Create New...