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
  • Search the Community

    Showing results for tags 'open source'.

    • Search By Tags

      Type tags separated by commas.
    • Search By Author

    Content Type


    Forums

    • Requests
    • DreamBot
      • Announcements
      • Client Support
      • Site Support
    • Community
      • General Discussion
      • Runescape
      • Spam
      • Applications
    • Scripts
      • SDN Scripts
      • Local Scripts
      • Private Scripting Shops
      • Script Requests
      • Script Management
    • Development
      • Scripting
      • Programming
    • Market
      • Middleman Services
      • Gold Exchange
      • Membership Sales
      • Account Sales
      • Item Exchange
      • Services
      • Graphics
      • Other
    • Management
      • Disputes
      • Appeals
      • Archive

    Product Groups

    • Donator
    • VIP
    • Sponsor
    • Scripts
      • Agility
      • Combat
      • Construction
      • Cooking
      • Crafting
      • Fletching
      • Firemaking
      • Fishing
      • Herblore
      • Hunter
      • Magic
      • Mining
      • Farming
      • Prayer
      • Ranged
      • Runecrafting
      • Slayer
      • Smithing
      • Thieving
      • Woodcutting
      • Money Making
      • Mini-Games
      • Quests
      • Other

    Find results in...

    Find results that contain...


    Date Created

    • Start

      End


    Last Updated

    • Start

      End


    Filter by number of...

    Joined

    • Start

      End


    Group


    Website URL


    Discord


    Skype


    Location


    Interests

    Found 8 results

    1. Live Scripting w/ Lua Write scripts with lua using LuaJ This is my first attempt at writing a script. Wanted to write something where i can see the results immediately. Please post any errors here or on the Github. Thanks! Source: https://github.com/GhostDataIsDreaming/LiveScripting/ Download Link: https://github.com/GhostDataIsDreaming/LiveScripting/releases VirusTotal: https://www.virustotal.com/gui/file/e0326c840a23950b4352503e6c8e3e297de8ac9cbc9780c85dc8adee83cfb173
    2. Hello everyone! This is my second script. I currently got an Amethyst Miner script in the Local Scripts section, make sure to check it out: Anyways, let's continue with the Woodcutting Bot As of now the following actions are coded: Anti-Ban system (does events that regular players usually do) Banking (Walks to a random tile near the bank, banks all and excludes any axe/teleport tabs). For now only works at Draynor Village Willows. Woodcutting (Cuts Willow trees between a certain range). Dismissing random events through the script (not the client side). Rotates camera based on object in a certain yaw range (Checks whether object is visible and/or clickable). Working on-screen text with following data: - Total Time Running - Current Level - Exp Gained - Exp per hour - Levels gained - XP to Level - Logs Cut - Logs to Level Added an check to see if player is already cutting an tree. When moving the task will be resetted, it will automatically keep continuing. When taking a break (DB client break system) or logging out in general you will now continue after relogging. When clicking an tree without logs it will reset the isCutting boolean Randomized delay between mining next Amethyst to make it look more humane To-Do: Other AFK methods (I am mainly focused on AFK moneymakers) Add other cut locations (Maple/Yew/Magic) Thanks for reading! Credits to: @Rias Gremory (github) and @Zenarchist (original developer) for the Anti-Ban code Feel free to send me an PM for access to the GitHub Repo! Dani's Woodcutter.jar
    3. Decided to release V2 of my Giant Rat Killer, as im not happy with it and ill be rewriting the entire thing myself Preview: Github: https://github.com/FrostTorrents/GiantRatKillerV2 Bugs and todo left: Redo looting & attack Looting wont loot until a few rats are dead Attack is just bad.
    4. 99.9% of credit goes to Beemer 00.1% to myself. all i did was replace some id's and cords. i may add ranging and magic xp to it come to think about it. script needs a little bit of polish work, but i did test it and it does afk attack and reset somewhat correctly lol, if you get banned not my issue dont bot on a main. https://github.com/FrostTorrents/MrKrabs i will continue to work on this version id gladly accepted other contributions.
    5. Hey all, I just finished making my first script! I developed it using the DB3 beta JAR. Here is the source on Github! Right now it is NOT meant for public use, but aimed at showing devs a decent, large DB3 example and getting feedback from other devs about how I can improve. It includes most things that any bot will do. I tried to follow the new DB3 best practices IE: Widgets.getClosest not getWidgets ETC... I did not use any methods that will be deprecated in DB3. That being said THIS IS NOT PERFECT. I am new to Java/Scripting and want any and all feedback! Please post a comment or open a PR/Issue on GitHub if you notice anything I did wrong, bugs, or have any suggestions. NOTE: This script is still not a 1.0 release and has some (lots of) bugs! It is also missing some features (paint), and it does some very sketchy things (Clicking through walls...). I am working on improving the utils I wrote to be more Realistic(TM) and I will be updating the repo on a regular bases. I will be pushing this to the DB script repo as a free script as soon as I am happy with it and DB3 is released. Until then, have fun looking through the code and running it from source! Read the README.md! More details about the script: I tried something kind of weird. The script extends TaskScript and using TaskNodes (standard), but I decided to use a double layered state machine. The layers are in two files: ScriptState and TaskState. The script is broken into ScriptState (each tutor), and TaskStates (each step to complete a tutor). The ScriptState keeps track of what TaskNode(tutor) should be run, and the second state machine is essentially a double linked list of jobs that need to be completed for each tutor. The actual TaskNode.execute() just runs the TaskState in each Java file. While each enum in TaskState contains its own logic that decides if it should be run, what it should do, and what task is next. This was a fun little experiment to try, and it seems to work well, At least for simple linear tasks. I am going mess around with a slight variation it in my next project. In that one the logic that tells the TaskState if it should be run will be pulled into a hash table/B-tree and the current player state will be checked vs that to decide what to do. I think Pandemic posted something along this line already. I have also started working on another git repo that contains useful snippets, DB3 vs DB2 code, and any open source DB scripts that I can find. I will be making a post about that in the next couple of days. Thank you to @holic for providing the snippet I used to generate names. See their original topic here. P.S. If you want a good laugh take a look at the GIT history and how HORRIBLE the first 3 or so iterations were. I mean it is still pretty bad, but not as bad as it used to be.
    6. So, this is the kind of thing I tend to do when I get bored. This thread inspired me to start working on this. This script displays a graph that shows the distribution for various random number generators. See the ReadMe for details on each generator. I'm apparently too retarded to find how to post images here, but you can see them in the ReadMe. Release and source
    7. After being frustrated and banned on an account on another bot client that I wont name, I decided to migrate to Dream bot. I learned the Dream bot API 6 hours ago and this is the product I created. Simplistic and a one sided script but I hope you guys like it as my first script release. Roughly 276 Red Dyes made per hour, Either 82k - 192k depending on how much you sell them for. I've sold plenty at 700 each and lowest 300 each on a bad day. Try leaving it in the grand exchange over night at a higher price. I made roughly 5000 dyes without getting banned with a few breaks in between on 4 accounts. Use at your own risk though Start the bot anywhere with Redberries and enough coins in your bank. Code: package dev.zedomega.dyemaker; import java.awt.Graphics; import java.util.concurrent.ThreadLocalRandom; import org.dreambot.api.methods.container.impl.Inventory; import org.dreambot.api.methods.container.impl.bank.Bank; import org.dreambot.api.methods.dialogues.Dialogues; import org.dreambot.api.methods.map.Area; import org.dreambot.api.script.AbstractScript; import org.dreambot.api.script.Category; import org.dreambot.api.script.ScriptManifest; import org.dreambot.api.script.listener.PaintListener; import org.dreambot.api.wrappers.interactive.Player; @ScriptManifest(author = "Zedomega", category = Category.MONEYMAKING, name = "Dye Maker", version = 0.5) public class Main extends AbstractScript implements PaintListener { private String script = "[Dye Maker]:"; private final Area draynorVillage = new Area(3108, 3227, 3081, 3271); private final Area aggiesRoom = new Area(3083, 3256, 3088, 3261); private final Area outsideAggiesRoom = new Area(3094, 3262, 3089, 3257); private final Area draynorBank = new Area(3094, 3242, 3092, 3245); private State state = State.WALKING_TO_DRAYNOR; private int dyes = 0; private int randomNumber(int min, int max) { return min + ThreadLocalRandom.current().nextInt(max - min); } private void withdrawSupplies(Bank bank, Inventory inventory) { bank.depositAllExcept(995); if (inventory.count(995) >= 50) { // log(script + " Withdrew supplies from bank."); bank.withdrawAll(1951); bank.close(); } else { if (bank.count("Coins") > 0 && bank.count("Redberries") > 0) { // log(script + " Withdrew supplies from bank."); bank.withdraw(995, 1000); bank.withdrawAll(1951); bank.close(); } else { log(script + " Stopped script, ran out of coins / berries."); stop(); } } } @Override public int onLoop() { int nextCycle = randomNumber(675, 1630); Player player = getLocalPlayer(); Inventory inventory = getInventory(); if (player.isInCombat()) { state = State.COMBAT; log(script + " Combat detected! Attempting to run to safe spot."); getWalking().walk(outsideAggiesRoom.getRandomTile()); sleepUntil(() -> !player.isInCombat(), randomNumber(7250, 11275)); } if (getWalking().getDestinationDistance() >= 3) { // Make sure we don't click when we don't need to sleep(nextCycle); } if (!draynorVillage.contains(player)) { // Walk to Draynor this.state = State.WALKING_TO_DRAYNOR; getWalking().walk(draynorBank.getRandomTile()); } else { // In Draynor Village. if (inventory.isEmpty()) { if (!draynorBank.contains(player)) { // Walk to Bank state = State.RESUPPLYING; getWalking().walk(draynorBank.getRandomTile()); } else { // In Draynor Bank if (!getBank().isOpen()) { getBank().open(); } else { // Bank is Open state = State.SUPPLYING; withdrawSupplies(getBank(), inventory); } } } else { // Inventory is not Empty if (inventory.count(995) < 5 || inventory.count(1951) < 3) { // Inventory doesn't have enough supplies / Finished making dyes if (!draynorBank.contains(player)) { // Walk to Draynor state = State.RESUPPLYING; getWalking().walk(draynorBank.getRandomTile()); } else { if (!getBank().isOpen()) { getBank().open(); } else { // Bank is open state = State.SUPPLYING; withdrawSupplies(getBank(), inventory); } } } else { // Inventory has Supplies to make dye if (!aggiesRoom.contains(player)) { if (!outsideAggiesRoom.contains(player)) { // Walk to the outside of Aggie's room state = State.SUPPLYING; getWalking().walk(outsideAggiesRoom.getRandomTile()); } else { // Enter Aggie's house getWalking().walk(aggiesRoom.getRandomTile()); } } else { // In Aggies Room state = State.CRAFTING; Dialogues dialogues = getDialogues(); if (!dialogues.inDialogue()) { // Not talking to Aggie inventory.interact(1951, "Use"); getNpcs().closest("Aggie").interact(); sleepUntil(() -> dialogues.inDialogue(), nextCycle); } else { // Talking to Aggie if (dialogues.canContinue()) { if (dialogues.getNPCDialogue().equals("What can I help you with?")) { inventory.interact(1951, "Use"); getNpcs().closest("Aggie").interact(); sleep(randomNumber(1630, 1700)); } else if (dialogues.getNPCDialogue().equals("Ok make me some red dye please.")) { dialogues.clickContinue(); } else { // Add 1 to the total Dye count dyes ++; dialogues.clickContinue(); } } else { // Walk around in Aggie's room (To avoid bugs) getWalking().walk(aggiesRoom.getRandomTile()); } } } } } } return nextCycle; } @Override public void onPaint(Graphics g) { g.drawString("Status: " + state.getName(), 10, 35); g.drawString("Dyes Made: " + dyes, 10, 50); } private enum State { WALKING_TO_DRAYNOR("Walking to Draynor"), RESUPPLYING("Grabbing supplies from Bank"), SUPPLYING("Bringing supplies to Aggie"), CRAFTING("Making dyes with Aggie"), COMBAT("Escaping combat"); private String description; private State(String name) { description = name; } public String getName() { return description; } } } Download: https://www.mediafire.com/file/m3aagy6ms16f89k/DyeMaker.zip/file Pictures: Also a thanks to @thatbellguy for helping me start out and learn a few basic things with the dreambot API
    ×
    ×
    • 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.