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
  • Diggington

    Scripter
    • Posts

      82
    • Joined

    • Last visited

    Everything posted by Diggington

    1. The best form of debugging is already built in: log("Peepee poopoo")
    2. The dreambot client does not use runelite, it uses the legacy java client. You can still use the runelite client separately to dreambot
    3. World world = new World(); if (world.getPopulation() < 2000){ if (WorldHopper.hopWorld(world)){ return; } }
    4. There's plenty of mining scripts on the SDN to take a look at - https://sdn.dreambot.org/scripts If you're after something more custom, I would recommend reaching out to someone with a Scripter rank for a custom script
    5. I've experimented with a similar function in the past, and all I could come up with was an enum containing tiers of item (bronze, mithril, rune, etc) and then an enum containing types of equipment (sword, battleaxe, scimitar etc) and ranking these in order (this was for a f2p script). But this probably won't work in members where you have different weapon types (abyssal whip, sarachnis cudgel) that don't belong in a tier. Also, as above, how do you determine what the best weapon type is? A whip might be better at certain places, but other places might have a dragon sword as better. Maybe you can hardcode specific weapon types into categories (slash weapons, stab weapons, spec weapons etc) and then depending on what monster you fight select a certain weapon category Honestly, it's probably easier to just give the user the ability to input what the best weapon is
    6. Hey, message me on Discord - Diggington#6724
    7. Very cool! This must have taken some time to complete. Looks great
    8. Add me on discord - Diggington#6724
    9. https://dreambot.org/guides/#troubleshooting
    10. add me on discord Diggington#6724
    11. @Z04al3 there is no "best" language to use for scripting as a whole - it all depends on what you're trying to do. In relation to Java, imo this is one of the easiest programming languages to learn and understand the fundamentals of programming. Once you understand the basics, you can begin to experiment and learn different languages which are used primarily for different things. Start with this tutorial to learn the fundamentals of Java. Once you understand the concept of giving a computer instructions to perform a task, you can deepen your learning from there. Also look at the DB guides page - https://dreambot.org/guides/
    12. @Avirex can you send the logs? Likely you either don't have a Brass key or the selected food in your bank
    13. https://dreambot.org/javadocs/org/dreambot/api/methods/interactive/Players.html#getLocal() https://dreambot.org/javadocs/org/dreambot/api/utilities/Sleep.html#sleepUntil(org.dreambot.api.utilities.impl.Condition,long)
    14. Elite script for killing and looting Hill Giants! Features: Kills Hill Giants in the Edgeville Dungeon Optional toggle for burying bones Customizable gear loadout Options for food Switches combat style after a configurable amount of levels gained Automatic eating and looting Automatic banking Instructions: Start script anywhere MUST HAVE BRASS KEY IN INVENTORY OR BANK MUST HAVE CHOSEN FOOD IN INVENTORY OR BANK Script will stop when you run out of food This script is designed for F2P and designed for melee only
    15. I'll write one for you - Diggington#6724 on Discord
    16. It's stored in a varbit. IIRC it stores the number of seconds you're teleblocked for, and counts down each second
    17. Break length = How long your break will run for Every = How often your break will be taken If you want it to break for 5 hours every 10 hours, your settings should look like Break length: Between 299 and 301 minutes Every: 599 to 601 minutes I would recommend tweaking the numbers a bit to ensure it's not so uniform
    18. There's probably a VarBit for it. Open your client Game Explorer -> Player Settings, and then go and freeze yourself in the wilderness and see what changes. I know teleblock has a countdown so I would imagine freezes are something similar
    19. I've added some of the requested features. HOWEVER I won't be adding any more functionality to this script. The code is awful and I don't want to deal with it
    20. Are you initializing your wheat variable at a global level? It would help if you could paste your whole code
    21. The first one. Get the list of the attacking player's equipment and use some kind of matrix or something to determine what style that weapon correlates with
    22. You should try and avoid while loops in your code. As cC said you're not able to take any other actions during the loop Also the API will automatically toggle run Also wtf are those method names
    23. What do you want to see added? I have seen requests for a bone burying toggle and skills necklace support. If your idea get enough support I may add it
    ×
    ×
    • 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.