Leaderboard
Popular Content
Showing content with the highest reputation on 06/10/24 in all areas
-
4 points
-
Want to buy with OSGP? Contact me on Discord! Detailed feature list: - Quest support - Varrock museum quiz - Eagles peak (Coming soon!) - Bird hunting - Crimson swift (Feldip hunter area, Isle of Souls) - Copper longtail (Isle of Souls, Kourend woodland, Piscatoris hunter area) - Cerulean twitch (Rellekka hunter area) - Tropical wagtail (Feldip hunter area) - Net Trapping - Swamp lizard (Haunted woods, Slepe) - Red salamander (Ouriana altar) - Tecu salamader (Varlamore) - Black salamders (Wilderness) - Deadfall trapping - Wild kebbit (Piscatoris hunter area) - Barb-tailed kebbit (Feldip hunter area) - Prickly kebbit (Piscatoris hunter area) - Sabre-toothed kebbit (Relekka hunter area) - Pyre fox (Varlamore) - Falconry - Spotted kebbit - Dark kebbit - Dashing kebbit - Box trapping - Ferret (Piscatoris hunter area) - Embertail jerboa (Varlamore East + West) - Grey chinchompa (Piscatoris hunter area, Ilse of Souls, Kourend woodland) - Red chinchompa (Feldip hunter area, Prifddinas, Private hunting ground) - Menu invokes (Stealth client only) - CLI support for goldfarmers Custom Breakmanager: - Setup Bot and break times - Randomize your break times - Stop script on certain conditions (Stop on first break, Stop after X amount of minutes, Stop when skill level is reached) - Worldhopping - Crucial part to botting in 2023! Script queueing: - Support queueing multiple script in a row - All Khal scripts support flawless transitions in between scripts - Start creating your acc in a few clicks from scratch to multiple 99's - Flawless CLI support - Learn more here: How to use CLI parameters: - Example Usage: -script 1225:ScriptFile.BreakFile.DiscordFile SAVEFILE = Saved Filename BREAKFILE = Breakmanager Filename DISCORDFILE= discordSettings Filename - SAVEFILE: Save file can be created in the GUI. Navigate to the tab you want to run and press "Save As CLI file". Please choose your filename wisely (No special characters) - BREAKFILE (Optional): Breakfile can also be create in the GUI, set the breaksettings you wish to use and press "Save new CLI BreakFile". Please choose your filename wisely (No special characters) - Final form (Note that with some bot manager you do not need to specify '-script 1225'): -script 1225:TaskFile1.4515breaks (With breaks) -script 1225:TaskFile1.4515breaks.discord1 (With breaks & discord) -script 1225:TaskFile1..discord1 (NO breaks & discord, leave 2nd parameter empty)1 point
-
RUNNING 4 SESSIONS PER NODE NODE [2] WITH 4 MORE BOTS Showcase: 8 bots same time generating ~2.8m/hr which equals to roughly ~67m/day! 1 MULE PER MACHINE FAQ What is the script ID? 782 Can I run this bot with the Bot Manager? Yes, the parameters will be the saved file name in the setup window, you will see once you run the bot. Can I request features added to this bot? Yes, I am always listening to requests and adding new features all the time!1 point
-
Hey, API CHANGES: - Small performance improvements with model projection WEB WALKER: - Fixed some teleport locations and added some new links MISC: - Minor bug fixes. - The OSBot Team1 point
-
1 point
-
i havnt changed a thing since first day i used it. i got normal npc attack on, by default = right click. and yes i got that it sips prayer when needed1 point
-
the bot has stopped working. When it enters the crypts it just stand still and use all prayer doing nothing. It wont open crypts and fight.1 point
-
I won't be able to use up the trial today, is it cool if you freeze it or give it to me another time?1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
1 point
-
Tyvm! I'm on npc type sand crab (crab isle north-west) only use my tile, only attack my crabs., hop if player crashes my tile, don't bank for food, move mouse outside screen, keep camera upwards. Level task I set on evenly attack, strength, defence all to 70 keep stats within 5 levels. First two preparation settings are turned on, idk if this helps. Using dragon scimitar, full rune.1 point
-
1 point
-
1 point
-
import org.osbot.rs07.utility.ConditionalSleep; import java.util.function.BooleanSupplier; public final class Sleep extends ConditionalSleep { private final BooleanSupplier condition; public Sleep(final BooleanSupplier condition, final int timeout) { super(timeout); this.condition = condition; } public Sleep(final BooleanSupplier condition, final int timeout, final int interval) { super(timeout, interval); this.condition = condition; } @Override public final boolean condition() throws InterruptedException { return condition.getAsBoolean(); } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout) { return new Sleep(condition, timeout).sleep(); } public static boolean sleepUntil(final BooleanSupplier condition, final int timeout, final int interval) { return new Sleep(condition, timeout, interval).sleep(); } } Usage: Sleep sleep = new Sleep(() -> myPlayer().isAnimating(), 5000); sleep.sleep(); Or: Sleep.sleepUntil(() -> myPlayer().isAnimating(), 5000);1 point
-
Very simple snippet of an animation timer I used in one of my scripts. Useful for things such as fletching, crafting, etc. Things where the animation returns -1 even when it is still doing an action. Define variable long lastAnimation = 0; Usage: if (myPlayer().isAnimating()) { lastAnimation = System.currentTimeMillis(); } else if (System.currentTimeMillis() > (lastAnimation + int)){ //do action } int is the amount of time to sleep before it needs to click again if you haven't animated. For example, if you wanted it to click after 2 seconds of not animating, you would put 2000 there.1 point
-
OVERVIEW With this snippet, you can avoid writing in-line anonymous classes for wait conditions. This makes code cleaner and speeds up development time. Before, you would have to do this: new ConditionalSleep(5000){ @ Override public boolean condition() throws InterruptedException { return !myPlayer().isMoving(); } }.sleep(); Now you can do this: Timing.waitCondition(() -> !myPlayer().isMoving(), 5000); Or, if you want to specify cycle time for checking condition: Timing.waitCondition(() -> !myPlayer().isMoving(), 600, 5000); IMPLEMENTATION Add my Timing class w/ static util methods to your API package viking.api; import java.util.function.BooleanSupplier; import java.util.concurrent.TimeUnit; import org.osbot.rs07.utility.ConditionalSleep; /** * Static utility class with various methods that are related * to time / timing. * * @author The Viking * */ public class Timing { /** * Calculates the time, in ms, from a specific mark * * @param mark The initial time mark we're calculating from * @return The time, in ms, from the provided mark */ public static long timeFromMark(long mark) { return System.currentTimeMillis() - mark; } /** * Returns the current time in ms. Essentially just a shorter * wrapper for System.currentTimeMillis() * * @return The current time, in ms */ public static long currentMs() { return System.currentTimeMillis(); } /** * Converts a time, in ms, to a pretty String in hh:mm:ss:SSS format * * @param ms The time, in ms, to convert * @return A string representing the current time */ public static String msToString(long ms) { return String.format("%02d:%02d:%02d", TimeUnit.MILLISECONDS.toHours(ms), TimeUnit.MILLISECONDS.toMinutes(ms) % TimeUnit.HOURS.toMinutes(1), TimeUnit.MILLISECONDS.toSeconds(ms) % TimeUnit.MINUTES.toSeconds(1)); } /** * This method waits for a specific condition * to be true within a maximum amount of time. Your * basic conditional sleep. This method uses the BooleanSupplier functional interface, so it provides lambda support * * @param condition the condition to wait for * @param cycleTime the time, in ms, between condition checks * @param timeout the maximum time to wait for the condition to be true * @return true if the condition was met within the threshold, or false if the timeout was exceeded */ public static boolean waitCondition(BooleanSupplier condition, int cycleTime, int timeout) { return new ConditionalSleep(timeout, cycleTime) { @Override public boolean condition() { try { return condition.getAsBoolean(); } catch(Exception e) { e.printStackTrace(); } return false; } }.sleep(); } /** * This method waits for a specific condition to be true within a maximum amount of time. Your * basic conditional sleep. This method uses the BooleanSupplier functional interface, so it provides lambda support * * @param condition the condition to wait for * @param timeout the maximum time to wait for the condition to be true * @return true if the condition was met within the threshold, or false if the timeout was exceeded */ public static boolean waitCondition(BooleanSupplier condition, int timeout) { return waitCondition(condition, 20, timeout); } }1 point