Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 10/08/21 in all areas

  1. all - True for a List all worlds, False to filter out worlds that are not allowed to be hopped to based on osbots criteria of a invalid world (pvp, high-risk, etc.) List<World> w = getWorlds().getAvailableWorlds(true); want to filter? List<World> w = getWorlds().getAvailableWorlds(true).stream().filter(world -> world.isMembers() && world.isPvp()).collect(Collectors.toList());
    4 points
  2. I much prefer to create a class that implements the runnable interface. This way it makes it much cleaner (at least imo). Here is an example for my V2 slayer cannon shot listener. private Thread cannonThread; private CannonListener cannonListener; public void startCannonListener() { cannonListener = new CannonListener(this); cannonThread = new Thread(cannonListener); cannonThread.start(); } and the CannonListener class public class CannonListener implements Runnable { private final Main script; private int shots = 0; private final ArrayList<Integer> loopList = new ArrayList<Integer>(); public CannonListener(final Main script) { this.script = script; } @Override public void run() { script.log("Starting cannon listener..."); while (script.getBot().getScriptExecutor().isRunning() || script.getBot().getScriptExecutor().isPaused()) { if (script.getClassProvider().getFighting().getCombatMaintenance().hasPlacedCannon()) { final List<Projectile> list = script.getProjectiles().filter(f -> f.getId() == 53); for (Projectile proj : list) { if (!loopList.contains(proj.getLoopCycle())) { shots += 1; loopList.add(proj.getLoopCycle()); } } } Timing.waitCondition(() -> false, 100); } } public int getShots() { return shots; } public void resetShots() { this.shots = 0; } }
    3 points
  3. 'the intelligent choice' By @Czar CURRENT RECORD: 201 HOURS Lifetime updates and support, request a feature either on the main thread or on our active discord! For advice and strategies, join our discord! You can also purchase the bot with GP if you'd like. 84 HOUR PROGRESS ON A LEVEL 20 ACCOUNT Suicided account with mirror mode near rock crabs, 81 mining! I will probably go for 99 Mine 1 drop 1 item drop pre-hover feature: (it's faster in the actual update)
    1 point
  4. ────────────── PREMIUM SUITE ────────────── ─────────────── FREE / VIP+ ─────────────── ──────────────────────────────────────────────────────────── ⌠ Sand crabs - $4,99 | Rooftop Agility - $5,99 | AIO Smither - $4,99 | AIO Cooker - $3,99 | Unicow Killer - £3,99 | Chest Thiever - £2,99 | Rock crabs - $4,99 | Rune Sudoku - $9,99 ⌡ ⌠ AIO Herblore - FREE & OPEN-SOURCE | Auto Alcher - FREE | Den Cooker - FREE | Gilded Altar - FREE | AIO Miner - VIP+ ⌡ ──────────────────────────────────── What is a trial? A trial is a chance for you to give any of my scripts a test run. After following the instructions below, you will receive unrestricted access to the respective script for 24 hours starting when the trial is assigned. Your trial request will be processed when I log in. The trial lasts for 24 hours to cater for time zones, such that no matter when I start the trial, you should still get a chance to use the script. Rules: Only 1 trial per user per script. How to get a trial: 'Like' this thread AND the corresponding script thread using the button at the bottom right of the original post. Reply to this thread with the name of the script you would like a trial for. Your request will be processed as soon as I log in. If i'm taking a while, i'm probably asleep! Check back in the morning Once I process your request, you will have the script in your collection (just like any other SDN script) for 24 hours. Private scripts: Unfortunately I do not currently offer private scripts. ________________________________________ Thanks in advance and enjoy your trial! -Apaec.
    1 point
  5. Still not working for me. Now it takes ores from bank goes to fally furnace and then gets stuck witht his message [INFO][Bot #1][10/09 12:13:48 AM]: Terminating script Perfect Smithing... [INFO][Bot #1][10/09 12:13:48 AM]: Bank object found! [INFO][Bot #1][10/09 12:13:48 AM]: Attempting to save leaderboards... [INFO][Bot #1][10/09 12:13:48 AM]: Sending leaderboard data... [INFO][Bot #1][10/09 12:13:49 AM]: Got a success... [INFO][Bot #1][10/09 12:13:49 AM]: Script Perfect Smithing has exited! [INFO][Bot #1][10/09 12:14:07 AM]: Loaded 4 built-in random solvers! [INFO][Bot #1][10/09 12:14:07 AM]: Initialising guided state setup... [INFO][Bot #1][10/09 12:14:07 AM]: ... done! [INFO][Bot #1][10/09 12:14:07 AM]: Initialising modules... [INFO][Bot #1][10/09 12:14:08 AM]: Item Definitions loaded: 24868 [INFO][Bot #1][10/09 12:14:08 AM]: Definitions loaded: 24868 [INFO][Bot #1][10/09 12:14:08 AM]: 20 modules loaded [INFO][Bot #1][10/09 12:14:08 AM]: "eq_loaded" changed to "1" [INFO][Bot #1][10/09 12:14:08 AM]: ... done! [INFO][Bot #1][10/09 12:14:08 AM]: Yay! [INFO][Bot #1][10/09 12:14:09 AM]: "g_walk_setting" changed to "100" [INFO][Bot #1][10/09 12:14:09 AM]: Initializing GUI... [INFO][Bot #1][10/09 12:14:10 AM]: We are in SDN mode, let's load via resources [INFO][Bot #1][10/09 12:14:10 AM]: Banks added: [62] [INFO][Bot #1][10/09 12:14:10 AM]: Teleport spells added: [14] [INFO][Bot #1][10/09 12:14:10 AM]: Stronghold added [INFO][Bot #1][10/09 12:14:10 AM]: Entrances added: [67] [INFO][Bot #1][10/09 12:14:10 AM]: Agility shortcuts added: [15] [INFO][Bot #1][10/09 12:14:10 AM]: Floors added: [35] [INFO][Bot #1][10/09 12:14:10 AM]: Scenery added: [2] [INFO][Bot #1][10/09 12:14:10 AM]: Carpet rides added: [4] [INFO][Bot #1][10/09 12:14:10 AM]: Carpet rides added: [5] [INFO][Bot #1][10/09 12:14:10 AM]: NPC teleports added: [1] [INFO][Bot #1][10/09 12:14:10 AM]: Added al-kharid gate (free) [INFO][Bot #1][10/09 12:14:10 AM]: Added 14500 nodes to graph in [295ms]. [INFO][Bot #1][10/09 12:14:10 AM]: 3 actionpoints ready [INFO][Bot #1][10/09 12:14:19 AM]: "ss_smelt_bar" changed to "Steel_bar" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_ge_target_amount" changed to "300" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_smelt_furnace" changed to "Falador" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_smelt_quantity" changed to "9" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_coalbag" changed to "0" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_preferred_bank" changed to "Falador_west" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_rof_mode" changed to "0" [INFO][Bot #1][10/09 12:14:19 AM]: "ss_ge_restock" changed to "0" [INFO][Bot #1][10/09 12:14:19 AM]: Added this one [INFO][Bot #1][10/09 12:14:19 AM]: Bars we can make: 18 [INFO][Bot #1][10/09 12:14:19 AM]: "setup_ready" changed to "1" [INFO][Bot #1][10/09 12:14:20 AM]: Near bank [INFO][Bot #1][10/09 12:14:20 AM]: Near bank! [INFO][Bot #1][10/09 12:14:20 AM]: Withdrawing 9x(Iron ore) for bar plans, continuing... [INFO][Bot #1][10/09 12:14:23 AM]: Withdrawing 18x(Coal) for bar plans, continuing... [INFO][Bot #1][10/09 12:14:40 AM]: Attempting to click the furnace! [INFO][Bot #1][10/09 12:14:44 AM]: Smelting up, stopping delay [INFO][Bot #1][10/09 12:14:44 AM]: Hitting: Space! [INFO][Bot #1][10/09 12:14:47 AM]: "smelted" changed to "0" [INFO][Bot #1][10/09 12:14:47 AM]: "smelted" changed to "1" [INFO][Bot #1][10/09 12:14:47 AM]: "inv_change" changed to "1" [INFO][Bot #1][10/09 12:14:50 AM]: "smelted" changed to "2" [INFO][Bot #1][10/09 12:14:53 AM]: "smelted" changed to "3" [INFO][Bot #1][10/09 12:14:56 AM]: "smelted" changed to "4" [INFO][Bot #1][10/09 12:14:59 AM]: "smelted" changed to "5" [INFO][Bot #1][10/09 12:15:02 AM]: "smelted" changed to "6" [INFO][Bot #1][10/09 12:15:05 AM]: "smelted" changed to "7" [INFO][Bot #1][10/09 12:15:08 AM]: "smelted" changed to "8" [INFO][Bot #1][10/09 12:15:11 AM]: "smelted" changed to "9" [INFO][Bot #1][10/09 12:15:11 AM]: Lost all items: Iron ore amount: 1 [INFO][Bot #1][10/09 12:15:11 AM]: Lost all items: Coal amount: 2 [INFO][Bot #1][10/09 12:15:19 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:19 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:19 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:20 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:20 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:20 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:20 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:20 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:20 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:21 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:21 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:21 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:21 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:21 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:21 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:22 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:22 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:22 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:22 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:22 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:22 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:23 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:23 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:23 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:23 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:23 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:23 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:24 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:24 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:24 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:24 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:24 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:24 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:25 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:25 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:25 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:25 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:25 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:25 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:26 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:26 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:26 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:26 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:26 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:26 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:27 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:27 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:27 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:27 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:27 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:27 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:28 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:28 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:28 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:28 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:28 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:28 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:29 AM]: Not near bank! [INFO][Bot #1][10/09 12:15:29 AM]: Walking to bank pos: [x=2945, y=3368, z=0] [INFO][Bot #1][10/09 12:15:29 AM]: Bank object found! [INFO][Bot #1][10/09 12:15:29 AM]: Terminating script Perfect Smithing... [INFO][Bot #1][10/09 12:15:29 AM]: Attempting to save leaderboards... [INFO][Bot #1][10/09 12:15:29 AM]: Sending leaderboard data... [INFO][Bot #1][10/09 12:15:30 AM]: Got a success... [INFO][Bot #1][10/09 12:15:30 AM]: Script Perfect Smithing has exited!
    1 point
  6. v2.27: Added #offerToEqualAmount in Trade Added a check to make sure player was not in combat before fail-safe logout occurs Added a feature to temporarily disable AltChat if more than X players are around Minor fixes
    1 point
  7. thanks project, very cool
    1 point
  8. https://osbot.org/mvc/scripters/info put them in reverse stacktrace
    1 point
  9. does this support amethyst mining?
    1 point
  10. Still not working for me
    1 point
  11. 1 point
  12. @Heiz https://osbot.org/forum/topic/164541-how-do-you-handle-asyncthreads/
    1 point
  13. Welcome buddy, good luck and enjoy the forums!
    1 point
  14. Hey! Do you have any previous work you could show? and whats your discord?
    1 point
  15. Good Monday, this giveaway is brought to you because the OSBot community helped my wife, son, and I get a 3 day trip to an indoor water park by voting for us! All you need to do is like and comment. You will be entered to win $100.00 OSBot credit. Winner will be drawn this weekend. Thanks, Maldesto
    1 point
×
×
  • Create New...