Skip to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

BrainDeadGenius

Java Lifetime Sponsor
  • Joined

  • Last visited

Everything posted by BrainDeadGenius

  1. Still probably can withstand an accident better than the aluminum Fords
  2. If it's something where you actually need two different scripts to run, where you can't get one script to do everything, you might as well have your own account manager that listens for changes on a database to tell the account manager when to run X script or Y script.
  3. This tells me you're not changing the name of the script. You will have to overwrite files when you make changes to scripts. But if you don't have a file for each script you've made, then you're not changing the following information on each script. @ScriptManifest(author = "BrainDeadGenius", info = "Unique Script Description for each script by BrainDeadGenius", name = "Unique Script Name for each script", version = 1.0, logo = "") Regarding the code block below, did you change the String[] to your potions? If so, then it's doing the job correctly by pulling the potions out of the bank. If not, and you left it as it is, it'll pull the Bucket of water and Pot of flour from the bank, if the bank has any. String[] requiredItems = {"Bucket of Water", "Pot of flour"};
  4. Why are you trying to use a vial on an Attack potion that already has 4 doses? Also, don't interact with item IDs. Utilize the names instead. Though item IDs have the possibility to change (albeit, slight), it's just better practice to use the names instead. Since I don't know the core function you're trying to do, I can't help you with that. But here's a better banking method. A little explanation on it though. For some reason, when you're pulling multiple items out of the bank, it'll skip an item or two, and decide not to withdraw it. I have had this happen multiple times and I could not figure out why it was happening. So, it's good practice to always check to make sure you actually withdraw the item you requested to withdraw. Otherwise, you'll null out the script since you won't have that item, or items. String[] requiredItems = {"Bucket of Water", "Pot of flour"}; if (!getBank().isOpen()) { if (!myPlayer().isAnimating()) { new ConditionalSleep(5000) { public boolean condition() throws InterruptedException { return getBank().open(); } }.sleep(); } } else { getBank().depositAll(); if (inventory.isEmpty()) { int bucketOfWater = (int) getBank().getAmount(requiredItems[0]); int potOfFlour = (int) getBank().getAmount(requiredItems[1]); if ((bucketOfWater != 0) && (potOfFlour != 0)) { while (!checkInvAmountItems(requiredItems)) { for (String name : requiredItems) { int bankAmount = (int) getBank().getAmount(name); if (bankAmount < 9) { if (bankAmount != 0) { getBank().withdrawAll(name); } } else { int invCount = (int) inventory.getAmount(name); if (invCount != 9) { getBank().withdraw(name, (9 - invCount)); } } } } // Utilize booleans to tell the script to stop banking and do the next method getBank().close(); } else { log("No more of the required items left."); // Do something to stop the script, or perform another action } } } private boolean checkInvAmountItems(String[] requiredItems) { return inventory.getAmount(requiredItems[0]) > 0 && inventory.getAmount(requiredItems[1]) > 0 && inventory.getAmount(requiredItems[2]) > 0; }
  5. Yeah, can't exactly do that here. It's shift work, and you're on for 12 until that person comes in to relieve you.
  6. 5-5 is better. Nights, weekends, holidays. More mulah.
  7. And the failed English user comes out of the dark again. Making 0 sense as usual.
  8. You get to walk the plank.
  9. What now, Pirate Nick?
  10. Failed to hack 'em properly
  11. No can do-rino, otherwise I'd have given myself the new rank too
  12. You in chatbox would disagree with said statement.
  13. ...for new rank. Can confirm support.
  14. Well this thread took a turn I wasn't expecting it to take.
  15. I shall up the game with:
  16. He had to pay extra for the bags required..
  17. Says who? Also, who the hell buys AMD?
  18. I'm going to reply to this instead of making a new thread. I've updated the original post and title to indicate the issue. Only happens every so often (could be 15 minutes, or once every 2-4 hours. It depends).
  19. Sarcasm is good. Though rarely do power plants go down unexpectedly.
  20. I would assume they'd know better than to transfer ~$4,000 a month via PayPal.
  21. Doesn't work. Not with the content I have anyway. The BBCode is too messed up.
  22. Banned from talking to a trash can? Why you mad?

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.