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

    Lifetime Sponsor
    • Posts

      51
    • Joined

    • Last visited

    • Days Won

      1

    Reputation Activity

    1. Upvote
      Kiji reacted to yeeter in WINDOWS | DreamBot Automated Install/Setup   
      Automating the Install and Setup Process of DreamBot
            Thought I would throw a quick tutorial together about the approach I am taking to automatically install/setup/start the initial instance(s) of DreamBot for my newest farm.  One major concern with my newest farm was time spent actually setting up VMs and bots.  My previous farms all closed up shop eventually due to horrible time management on my part.  So I am a major proponent for automation of repetitive task.  I personally am using Docker instances and have scripts similar to the ones I have posted below run on creation of the docker instance so the farm is ready to go the moment I sign into the docker instance.  
      *** Disclaimer *** Not saying this is the best way  to do it, this is just what I ended up botching together to save me 10 minutes each time I spool a new instance up. 
       
      What's it do tho?
            This will vary depending on your setup but the base command I will be showing will download the DreamBot launcher (DBLauncher.jar), run the first time setup/update, kill this launcher instance, then startup your bot instance(s).  This script is using the built in windows commands this could also be done in PowerShell, and for other operating systems that I might make guides for in the future but my primary botting environment uses Windows so Windows it is.
      Going to breakdown the script section by section then show an example put together.
       
      Creating a place to store my DreamBot things
            For consistency sake I store any data output such as screenshots, accounts, reports, heatmaps, spreadsheets etc in a folder on my desktop called "DreamBot" across all my VMs.  This is where I also store bot client launchers because I currently use multiple clients.  Just keeps everything contained and clean.  
      mkdir %HOMEPATH%\Desktop\DreamBot && cd %HOMEPATH%\Desktop\DreamBot I create the DreamBot folder to store my shit in using the mkdir %HOMEPATH%\Desktop\DreamBot this command creates the folder on the VMs desktop.  Using && to execute the following cd command to change directories to the directory I just created.  Ez Pz.
       
      Downloading the DreamBot Launcher
            The DreamBot launcher can be downloaded from this link -> https://dreambot.org/DBLauncher.jar (This can be checked by clicking the download link in the forum header).  We will be using cURL a tool built into Windows to allowing us to grab the DBLauncher.jar from DreamBots website.
       
      curl -O https://dreambot.org/DBLauncher.jar Please note that -O is an UPPERCASE O.  Using the uppercase -O will automatically name the downloaded file its original name.  While using a lowercase -o you will need to provide your own output name.  I wasted a lot of time not noticing that while debugging my initial test runs of this. 
      This will download DBLauncher.jar to whatever the current directory is pointed at (ideally the DreamBot folder on the desktop I just made).
       
      First Time Launch/Update and kill
            So now that we have DBLauncher.jar on our system we need to execute it so we can pull the latest client.jar and other DreamBot resources.  Once this is done we can use QuickStart functionality to launch bot instances via CLI or a bot manager.  We need to use the "start" command so that the launching of the DBLauncher.jar does not suspend our script.  Without the start command the remaining commands will not be executed until DBLauncher.jar is manually closed.  Using start will allow execution of the script to continue while DBLauncher.jar does its thing. 
      start java -jar DBLauncher.jar We want to assure we give the DreamBot launcher enough time to complete its setup/updates so we will call the timeout command to wait a few seconds before we kill the launcher instance.  The length of the timeout will vary depending on your setup so adjust it how you see fit.   
      timeout 5 && taskkill /f /im java.exe Using the timeout command we can wait X amount of seconds I generally just do 5.  Hopefully within those 5 seconds the DreamBot launcher did whatever it needs to do because we then kill java.exe shutting anything Java related down.  (again with probably not the best way to do this but nothing should be running on my VMs at this point so just killing Java isn't going to hurt anything else).
       
      Initial setup is complete!
            At this point DreamBot is ready for botting!  Anything after this point is just using DreamBots QuickStart feature to create bot instances.  Not going to rewrite Nezz's entire QuickStart tutorial so just take a glance at his original thread its a great tool.
       
      Signing into the client with QuickStart
            Like I said not going to redo Nezz's entire QuickStart tutorial but thought I would throw in a simple example of signing into the client once the setup is complete so you can run the command and come back to a ready to go botting environment.
      java -jar %homepath%\DreamBot/BotData/client.jar -username yourOwnUsername -password yourOwnPassword If you look into QuickStart you can do a LOOOOOT of cool things with it.  Super useful tool to abuse when you are trying to save as much time as you can running a farm. 
       
      Full command!
            You can add a lot of extra functionality to a command or script like this such as pulling resources your farm might need if you throw them on a local web server and use cURL to transfer them to the VMs during the execution of the script.  Again with there are probably sections of this that are sub-optimal or botched to all hell but it was simple and quick for me to throw together and will save me time in the future.  
      mkdir %HOMEPATH%\Desktop\DreamBot && cd %HOMEPATH%\Desktop\DreamBot && curl -O https://dreambot.org/DBLauncher.jar && start java -jar DBLauncher.jar && timeout 5 && taskkill /f /im java.exe && java -jar %homepath%\DreamBot/BotData/client.jar -username yourOwnUsername -password yourOwnPassword  
      Any questions/issues/suggestions just shoot me a message.  I do plan on making a version of this for Linux as well because at some point I would like to go back to using Linux OS's for botting.  I just had Windows server keys so I have been using them.  
      If anyone does this differently I would love to hear how you guys do this.  I start and kill docker instances a lot due to my servers being used for more than just botting so depending on resource consumption I might have to nuke some docker instances for a bit then spin them back up later or spin up new ones. 
       
       
    2. Like
      Kiji got a reaction from depwession in Count to 10,000!   
      511
    3. Like
      Kiji got a reaction from yeeter in Count to 10,000!   
      511
    4. Like
      Kiji got a reaction from depwession in Count to 10,000!   
      503
    5. Like
      Kiji got a reaction from yeeter in Count to 10,000!   
      503
    6. Like
      Kiji got a reaction from LostVirt in Count to 10,000!   
      492
    7. Like
      Kiji got a reaction from LostVirt in Count to 10,000!   
      489
    8. Like
      Kiji reacted to Roma in RQuester [50+ Quests]   
      Supported Quests:
                       1. Animal Magnetism                                            21. Knight's Sword                                 40. The Tourist Trap
                       2. Biohazard                                                            22. Lost City                                            41. The Golem
                       3. Big Chompy Bird Hunting                                 23. Mountain Daughter                         42. The Gnome Village
                       4. Client Of Kourend                                              24. Nature Spirit                                      43. Tutorial Island (Old)
                       5. Cook's Assistant                                                25. Plague City                                        44. Tutorial Island (New)
                       6. Death Plateau                                                    26. Priest In Peril                                     45. Vampire Slayer
                       7. Demon Slayer                                                     27. Prince Ali Rescue                             46. Waterfall
                       8. Doric's Quest                                                      28. RFD: Cook                                          47. Witch's House
                       9. Dragon Slayer                                                     29. RFD: Evil Dave                                   48. Witch's Potion
                       10. Druidic Ritual                                                    30. RFD: Dwarf                                        49. Miniquest: Varrock Museum Quiz
                       11. Dwarf Cannon                                                  31. RFD: Goblin                                        50. Miniquest: Barcrawl
                       12. Eagle's Peak                                                     32. RFD: Ogre
                       13. Ernest The Chicken                                         33. RFD: Pirate Pete
                       14. Fight Arena                                                       34. Romeo & Juliet
                       15. Fishing Contest                                                35. Rune Mysteries
                       16. Gertrude's Cat                                                  36. Sheep Shearer
                       17. Goblin Diplomacy                                            37. The Grand Tree
                       18. Imp Catcher                                                     38. Shadow Of The Storm
                       19. Jungle Potion                                                  39. The Restless Ghost








      You can modify the way the bot is grabbing the prices by editing the "rquester prices" file in your dreambot/scripts folder. Instructions can be found within the file.


      *Dragon slayer - melee only.
      *TGT, Fight arena - safe spot only.

      Case sensitive
      Profile name Example:
      java -Xmx512M -jar -Xbootclasspath/p:/YOUR_USER_PATH/DreamBot/BotData/client.jar /YOUR_USER_PATH/DreamBot/BotData/client.jar -username "forumsname" -password "forumspw" -account "savedacc1" -script "RQuester" -params "myprofilename"


       
    9. Like
      Kiji reacted to Roma in RQuester [50+ Quests]   
      I'll add one more F2P quest, so that dragon slayer becomes available on F2P. But that's probably it.
    10. Like
      Kiji got a reaction from depwession in Count to 10,000!   
      489
    11. Like
      Kiji got a reaction from yeeter in Count to 10,000!   
      489
    12. Like
      Kiji got a reaction from depwession in Count to 10,000!   
      469
    13. Like
      Kiji reacted to Hoodz in PumbaSlayer   
      no, ill add it within 2 weeks
    14. Like
      Kiji reacted to Roma in RQuester [50+ Quests]   
      Oh wow yeah I thought it'll be way less. Yeah i just calced that's 31. Maybe once my project goes live and establishes a bit I'll add another F2P quest to the script.
    15. Like
      Kiji got a reaction from Roma in RQuester [50+ Quests]   
      Thanks for getting back to me so quickly. In regards to the 32 Quest Points, what I meant was that the bot now, in F2P with all supported quests, can get to 31 quest points.
      If you make a new quest, and need beta testers, will be happy to oblige accounts, testing, etc.
    16. Upvote
      Kiji got a reaction from beezdul in [FREE] xS AIO PowerChopper [Any Location] [Shift-Drop] [Anti-Ban] [QuickStart]   
      Hey beezdul,
      Trying to use your script with the quick start configuration. These are the params that I set:  -params "3178,3235,tree,20,30,0,1,1"
      The state of the bot: It logs in, can traverse to desired area, but doesn't interact with tree.
      This is the error message the debug console is giving me:
      [ERROR] java.lang.NumberFormatException: For input string: "tree"
              at java.lang.NumberFormatException.forInputString(Unknown Source)
              at java.lang.Integer.parseInt(Unknown Source)
              at java.lang.Integer.parseInt(Unknown Source)
              at Main.onStart(Unknown Source)
              at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:199)
              at java.lang.Thread.run(Unknown Source)
      java.lang.NumberFormatException: For input string: "tree"
              at java.lang.NumberFormatException.forInputString(Unknown Source)
              at java.lang.Integer.parseInt(Unknown Source)
              at java.lang.Integer.parseInt(Unknown Source)
              at Main.onStart(Unknown Source)
              at org.dreambot.api.script.AbstractScript.run(AbstractScript.java:199)
              at java.lang.Thread.run(Unknown Source)
      Hope you can resolve this bug, or tell me what I'm doing wrong. 😃
       
    17. Like
      Kiji reacted to Hashtag in ⭐ # Questing [TUTORIAL ISLAND] [10 QUEST POINTS] [WELL RANDOMIZED] ⭐   
      Purchase using PayPal, OSRS GOLD, CRYPTO or OTHER

      Features
      Completes Tutorial Island Gets 10 quest points for your accounts fast Completes Cook's Assistant for 1 QP Completes Romeo & Juliet for 5 QP Completes Ernest the Chicken for 4 QP Collects required items Almost all actions are randomized Takes a list of accounts Supports DreamBot's QuickStart Active customer support Gallery

      @death dead
       Tutorial Island finished in 6 minutes 32 seconds
      Account file
      QuickStart

       
    18. Like
    19. Like
      Kiji reacted to beezdul in [FREE] xS AIO PowerChopper [Any Location] [Shift-Drop] [Anti-Ban] [QuickStart]   
      Your params are correct, but I forgot to fix the number of parameters in my code (and never properly tested it). I'm going to push a bug fix and will let you know when that's done.
    ×
    ×
    • 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.