Jump to content
Frequently Asked Questions
  • Are you not able to open the client? Try following our getting started guide
  • 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/Crypto gold? You can purchase vouchers from other users
  • Try asking for help in the chatbox
  • Cardozz

    Members
    • Posts

      676
    • Joined

    • Last visited

    • Days Won

      5

    Cardozz last won the day on October 31 2016

    Cardozz had the most liked content!

    Profile Information

    • Gender
      Male
    • Location
      The Netherlands

    Contact Methods

    • Skype
      Ask me.

    Recent Profile Visitors

    4565 profile views

    Cardozz's Achievements

    1. It looks good to me, big icons somehow make me feel it's more user friendly.
    2. The Lumbridge Bank isn't defined by the Z-axis I guess, which makes it think you are "in" or "near" the bank even when you are on the ground floor. That's why someone here suggested you should handle the Lumbridge Banking by yourself
    3. Keep in mind that if the statement is true (which is true in case you are walking to the area) you will be flooded with log messages.
    4. I looked into Dinh's scripts. Have to say he is a very structured programmer, but sometimes i feel like reading his scripts is a bit too complicated (tried to explain why but I just can't lol..). Anyway, he is a good scripter and you can learn a ton off his scripts.
    5. In other words: Let the script verify the cabbage it wants to pick; Pick the cabbage; Do a double check that the object was picked (e.g. that the ground object no longer exists); Simply add 1 to the counter. In your field set: int cabbageCounter = 0; and then in your script after step 3 do: cabbageCounter++; You can grab the pricing from the GE by using Vlads GE price grabber, found somewhere in the script tutorials, or you can simply use a static number (i think cabbages have been like the same price for over 3 years), and after each loop from step 1 to 4 you update the cabbages counted times the price. This way it will keep you updated after every pick. I know this is kinda hard to understand especially if you have little experience with programming, but read it 5 times and you'll understand what i try to explain xD
    6. Seems legit lol
    7. Welcome! Enjoy your stay
    8. Then the ground items are either null (not existing, could be that you accidentally typed the item name wrong or something), or you're using the method wrong. Care to share the part of the code?
    9. To prevent your character walking to the center of the room, simply write the code exactly what it should do instead of relying on the random walking method. Also, you haven't defined the area. Edit: also, you want to check first if the destination is not null (or let's say "walkable"), and then click the tile. This will prevent your bot clicking areas you normally would not click as a human and then realising it can't walk there.
    10. Best to break it all down into the bits YOU wrote (and not implemented by Java): [ERROR]23:24:28: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at org.dreambot.api.wrappers.items.GroundItem.getName(GroundItem.java:105) org.dreambot.api.methods.filter.impl.NameFilter.match(NameFilter.java:35) org.dreambot.api.methods.filter.impl.NameFilter.match(NameFilter.java:18) org.dreambot.api.methods.interactive.Interactables.lambda$all$0(Interactables.java:61) java.util.stream.ReferencePipeline$2$1.accept(Unknown Source) java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source) java.util.stream.AbstractPipeline.copyInto(Unknown Source) java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source) java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source) java.util.stream.AbstractPipeline.evaluate(Unknown Source) java.util.stream.ReferencePipeline.collect(Unknown Source) org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:61) org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:107) org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:85) RubickProject.onLoop(RubickProject.java:272) org.dreambot.api.script.AbstractScript.run(AbstractScript.java:251) java.lang.Thread.run(Unknown Source) So this looks like multiple errors caused by your loop. Forget everyting but org.dreambot: [ERROR]23:24:28: Exception has occurred while running! Please report error to developer if problem persists: java.lang.NullPointerException at org.dreambot.api.wrappers.items.GroundItem.getName(GroundItem.java:105) org.dreambot.api.methods.filter.impl.NameFilter.match(NameFilter.java:35) org.dreambot.api.methods.filter.impl.NameFilter.match(NameFilter.java:18) org.dreambot.api.methods.interactive.Interactables.lambda$all$0(Interactables.java:61) org.dreambot.api.methods.interactive.Interactables.all(Interactables.java:61) org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:107) org.dreambot.api.methods.interactive.Interactables.closest(Interactables.java:85) RubickProject.onLoop(RubickProject.java:272) org.dreambot.api.script.AbstractScript.run(AbstractScript.java:251) So this tells you there is a nullpointer (meaning that an item, object or anything you basically tells the program to do is null or can not be found: Start by fixing RubickProject.onLoop(RubickProject.java:272). You might have missed a bracket or did not close the loop correct. Most of the time fixing that will fix the nullpointers.
    11. I understand. But how does IntelliJ Ultimate help me with this one?
    12. I know, honestly I always just make the basic layout with a builder and then top it off with hand code What is a .edu account by the way and how does this help? Edit: How does IntelliJ Ultimate help me here? Does it have a better (G)UI designer or?
    13. But it asks me for a registration key
    14. Ello, So i'm used to Eclipse and was trying out IntelliJ again. However when I used IntelliJ I found that it had a horrible GUI builder, well, compared to Eclipse Windowbuilder. I like to build my GUI's undecorated for a cleaner look. Yet I don't seem to understand how to do this in IntelliJ. I feel like IntelliJ is very nice for coding in general, but just the GUI design bothers me. Yes.. I know how to build a GUI without a builder, but I like to use a builder to speed up my coding. Anyone knows how to do this, or is GUI building in general a pain in IntelliJ?
    ×
    ×
    • Create New...

    Important Information

    We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.