Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Help! My bot doesn't do anything! Enable fresh start in client settings and restart the client
  • How to purchase with PayPal/OSRS gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
BottingHub.com Advertisment
Download the DreamBot client today!

Pseudo

Scripter
  • Content Count

    366
  • Joined

  • Last visited

  • Days Won

    1

Pseudo last won the day on October 10 2018

Pseudo had the most liked content!

3 Followers

About Pseudo

  • Rank
    Super Member

Recent Profile Visitors

2132 profile views
  1. Is the crash attributable to a particular action/time in the script? Need more info. Also have you tried the 'fresh start' option in client settings?
  2. Have you tried the fresh start option in the client settings?
  3. What script? May be that it's broken.
  4. It's an int bruh, getGroundItemCount(item) > X
  5. I'm assuming groundItem.getAmount() doesn't work as they aren't stackable? If so you could iterate of all groundItems in an X tile radius and store the data to a variable? Something like: private int getGroundItemCount(String itemName) { int items = 0; for (GroundItem groundItem : getGroundItems().all(i -> i != null && i.getName().equals(itemName) /*Could additionally check for tile*/)) { if (groundItem != null && groundItem.exists()) { items++; } } return items; } private int getTotalLoadedItemCount(String itemName) { return getInventory().count(itemName) + getGroundItemCount(itemName); }
  6. Pseudo

    My GDK bot proggys

    Nice job fam. Keep at it, see how well you can do :P.
  7. Are you certain that you're launching via DBLauncher.jar as opposed to the direct client.jar?
  8. You'll want to read up on regular expression (regex), it can be used to eliminate certain characters from a character string to parse the data as you so wish.
  9. Nice job on finding a solution, but you shouldn't have to iterate over the whole inventory. Something such as the following ought to work to suit: Item gamesNecklace = getInventory().get(i -> i.getName().contains("Games necklace(")); if (gamesNecklace != null) { if (teleportOptionsDialog != null) { //pseudo code teleportOptionsDialog.interact("string"); sleepUntil(() -> !teleportOptionsDialog.isVisible(), 3000); } else { if (gamesNecklace.interact("Rub")) { sleepUntil(() -> teleportOptionsDialog != null, 3000); } } }
  10. There's a few factors to consider. Is the script you're using public or privately made? And if so to what quality? This could play a big factor in your ban rates. Then it's all down to what you think is a decent earn really, if you feel that 5 accs making 1.5m ea or w/e over 12 hours is a fair income for you, then go for it.
  11. Never really done any content pertaining to the looting bag. Is it a menu entry or a widget?
  12. Pseudo

    dropAll(Filter)

    Public String[] junkItems = {}; If (empty slots < threshold) { For (Item i: inventoryitems) { For (string s : junkItems) { If (I! = null and I.getName().contains(s)) { Drop I } } } Excuse the formatting/Pseudo code, written in reply box on phone. The above will iterate over inventory items, if an items name matches one of those present in the string array then drop it.
  13. The click on an npc is just a random coordinate inside the entity's bounding box. As regards to the first part, the Mouse class in the API contains everything you need to do what you're talking about.
  14. Alternatively you can probably grab and parse the data from the world hopper widgets in game.
  15. I'd imagine it's due to isInCombat incorporating isInteracting which is true when you're attempting to trade with somebody.
×
×
  • Create New...