-
Posts
82 -
Joined
-
Last visited
Everything posted by Diggington
-
The best form of debugging is already built in: log("Peepee poopoo")
-
The dreambot client does not use runelite, it uses the legacy java client. You can still use the runelite client separately to dreambot
-
How do I stop bot hopping to worlds that are full
Diggington replied to Purple Ownz's topic in Support
World world = new World(); if (world.getPopulation() < 2000){ if (WorldHopper.hopWorld(world)){ return; } } -
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
-
scripting How to Optimize Item Selection for My Bot?
Diggington replied to ToastLover's topic in Scripting
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 -
Hey, message me on Discord - Diggington#6724
-
Pandemic's Script Creator: Miner Tutorial, Part 1
Diggington replied to Pandemic's topic in Tutorials
Very cool! This must have taken some time to complete. Looks great -
Add me on discord - Diggington#6724
-
https://dreambot.org/guides/#troubleshooting
-
add me on discord Diggington#6724
-
@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/
-
@Avirex can you send the logs? Likely you either don't have a Brass key or the selected food in your bank
-
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)
-
hello this is jagex
-
-
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
-
I'll write one for you - Diggington#6724 on Discord
-
It's stored in a varbit. IIRC it stores the number of seconds you're teleblocked for, and counts down each second
-
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
-
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
-
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
-
Are you initializing your wheat variable at a global level? It would help if you could paste your whole code
-
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
-
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
-
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