Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Make sure you have Java 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
  • LostVirt

    Sponsor
    • Content Count

      60
    • Joined

    • Last visited

    • Days Won

      1

    LostVirt last won the day on October 4 2019

    LostVirt had the most liked content!

    About LostVirt

    • Rank
      Newbie

    Profile Information

    • Location
      🌏 ⚆ _ ⚆ 🦜

    Recent Profile Visitors

    590 profile views
    1. Thats just a filter. I suggest reading the JavaDocs, This link might help with finding what you are looking for: https://dreambot.org/javadocs/org/dreambot/api/wrappers/interactive/NPC.html
    2. you should be able to do this, for example: sleepUntil(() -> Widgets.getWidget(242) != null, 1200); But not 100% sure, give it a try
    3. null check enterAmountWidget
    4. you are correct, its a placeholder. same here, you could change how you want to filter out players
    5. Well depends how you want to find the other player.. Seems like the way you got their exact hitpoints before has been deprecated and could only find health precent. I guess you could do something like this: Player enemy = Players.closest(p -> p != null && p.getComposite().getAppearance()[1] == 1337); int health = enemy.getHealthPercent();
    6. i mean there's multiple ways to do it depending on how you want to use it
    7. Leaning more towards this: Players.closest(p -> p != null && p.getComposite().getAppearance()[1] == 1337).exists()
    8. Not sure how to check equipment but probably something like this Players.closest(p -> p != null && p.getComposite().getAppearance()[1] == 1337);
    9. Client.setRenderingDisabled(true); Client.isRenderingDisabled()
    10. LostVirt

      Arti out

      Eventhough we barely chatted.. You were one of the major factors in my pursuit to become a programmer in the future. I always looked up to you, your skills and thought, "thats where i want to be in the future" and i appreciate that! Hopefully we will meet again I wish you all the success, happiness, and joy in life!
    11. update for whoever reads this post in the future. Seems like AdoptOpenJDK 11 OpenJ9 Uses way more CPU(3x?) than normal oracle java 8 jre but solves the Ram issue..
    12. According to Pandemic, the issue seems to be with AdoptOpenJDK HotSpot, and ram usage is way better with OpenJ9 if anyone was wondering aswell
    13. java -Xmx256m -Xms256m -jar This is how i launch it Maybe cause im using both hmm
    14. Not sure where it would leak though, since its only using a lot of ram on Debian 9, havnt tried any other OS though. Dont really think it could be those files either
    ×
    ×
    • Create New...