Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 8 installed
  • Still not working? Try downloading and running JarFix
  • 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
osrs gold

Interested in advertising your business? Reach out today!

Download the DreamBot client today!


  • Content Count

  • Joined

  • Last visited

Everything posted by Milasoft

  1. You don't have to instantiate Friend. To add a player to your friends list just use: getFriends().addFriend(Player); Verify they are added with: getFriends().haveFriend(playerName); And to check if they are online... for(Friend f : getFriends().getFriends()) { if(f.isOnline()) { //friend is online } }
  2. No problem. And to answer your question... Player represents a single player. The Players class is just methods to retrieve Player objects.
  3. Oh, because it usually shows you in red where it's messed up and you can pick the import from there.
  4. import org.dreambot.api.wrappers.interactive.Player; Are you not using an IDE?
  5. List<Player> playerList = getPlayers().all(); playerList.forEach(p -> { log(p.getName()); }); You could do something like that.
  6. Milasoft

    World Hop

    Well you'd have to check the amount of items in the shop like: if(getShop().count("Item") > 0)) { //buy item } else { //hop world }
  7. Milasoft

    World Hop

  8. When it gets stuck: [INFO]21:18:56: Login Response CONNECTING_TO_SERVER [INFO]21:18:56: Index: 2 [INFO]21:18:56: Is solving: true [INFO]21:18:57: Current Solver: org.dreambot.api.randoms.LoginSolver@d915bed [INFO]21:18:57: Should Welcome Solver Run: true [INFO]21:18:57: GameState: LOGGED_IN After restarting script it works: [INFO]21:19:31: Login Response CONNECTING_TO_SERVER [INFO]21:19:32: Index: 2 [INFO]21:19:32: Is solving: true [INFO]21:19:32: Current Solver: org.dreambot.api.randoms.WelcomeScreenSolver@5c47a92a [INFO]21:19:32: Should Welcome Solver Run: true [INFO]21:19:32: GameState: LOGGED_IN Not sure if that helps you
  9. Just started happening to me too. Was working fine a few hours ago. Weird.
  10. Try new proxies, it seems like some are not working correctly.
  11. Scripts on the SDN are checked for any malicious code before being added. It wasn't this script that got you hacked.
  12. I don't play that much anymore, so I could be wrong. I'll start a buy offer for something and log out overnight and report back tomorrow to verify. Edit:
  13. You know if you put in an offer for more than you can buy, it will automatically buy them when it can.
  14. Try using the Logger class: Logger.setCommandLogging(false); Seems to disable all Dreambot client messages after you run it.
  15. Wanted to see if somebody could fix the remove button on the requests page on the SDN. It will remove script adds, but does nothing on compile requests. My list is getting kind of long, so it's hard to quickly check the status of pending stuff Thanks
  16. It's made to run on Java 8, not 10.
  17. Create a new LoginSolver and register it with the RandomManager #register method. It states that:
  18. No problem, glad you got it working.
  19. Don't be embarrassed, you can't possibly know a whole api without experience using it 😛
  • Create New...