Dbscripts
Automated OSRS scripts via Dreambot launcher&API
Install / Use
/learn @ignasck/DbscriptsREADME
#Script Setup Guide
This guide provides general instructions for setting up and running any script built for the DreamBot API in Old School RuneScape (OSRS). It is designed for beginners to help you get started with running custom scripts, including those for activities like fishing, mining, woodcutting, or other automated tasks.
Prerequisites
To run a DreamBot script, you need the following:
- DreamBot Client: Download the DreamBot client from DreamBot's official website.
- Java Development Kit (JDK): Version 8 or higher. Download from Oracle or use an open-source alternative like OpenJDK.
- Development Environment (optional): An IDE like IntelliJ IDEA or Eclipse for compiling scripts from source code.
- OSRS Account: An active Old School RuneScape account with the required skills and items for the script you want to run.
- DreamBot Account: Required to log in to the DreamBot client.
Setup Instructions
-
Install DreamBot Client:
- Download
DBLauncher.jarfrom the official DreamBot website. - Place the
.jarfile in a dedicated folder (e.g.,C:\DreamBot\on Windows or~/DreamBot/on Mac/Linux).
- Download
-
Set Up DreamBot Scripts Folder:
- Locate or create the DreamBot scripts folder:
- Windows:
C:\Users\YourUsername\DreamBot\Scripts\ - Mac/Linux:
~/DreamBot/Scripts/
- Windows:
- If the
Scriptsfolder doesn’t exist, create it manually.
- Locate or create the DreamBot scripts folder:
-
Prepare IntelliJ IDEA for Script Compilation (if using source code):
-
Install IntelliJ IDEA:
- Download and install IntelliJ IDEA Community Edition from JetBrains.
- Launch IntelliJ IDEA and create a new Java project or open an existing one.
-
Adding Dependencies:
- Add the DreamBot client as a library to your project to access the DreamBot API.
- Click on
Filein the top left and selectProject Structure.... - In the opened window, click on
Librarieson the left, then click the+icon at the top and selectJava. - Navigate to the DreamBot
BotDatafolder and select theclient.jarfile:- Windows:
C:\Users\YourUsername\DreamBot\BotData\client.jar - Linux/Mac:
/home/YourUsername/DreamBot/BotData/client.jar
- Windows:
- Press
ApplyandOKat the bottom right of the window.
-
Adding an Artifact:
- To compile the script into a
.jarfile that DreamBot can recognize, create an artifact in IntelliJ.
- Click on
Filein the top left and selectProject Structure.... - Select
Artifactson the left, then click the+icon at the top and chooseJAR->From modules with dependencies.... PressOKin the next window. - Change the
Output directoryto the DreamBotScriptsfolder:- Windows:
C:\Users\YourUsername\DreamBot\Scripts\ - Linux/Mac:
/home/YourUsername/DreamBot/Scripts/
- Windows:
- Remove the
client.jardependency from the artifact to avoid including it in the output:- Right-click
client.jarin the artifact list and selectRemove.
- Right-click
- Press
ApplyandOK.
- To compile the script into a
-
Compile the Script:
- In IntelliJ, go to
Build->Build Artifacts...and select your artifact, then chooseBuild. - The compiled
.jarfile will appear in the DreamBotScriptsfolder (e.g.,C:\Users\YourUsername\DreamBot\Scripts\YourScript.jar).
- In IntelliJ, go to
-
-
Add the Script:
- If you have a pre-compiled
.jarfile, place it directly in theScriptsfolder. - If you have a
.javafile, compile it into a.jarusing the steps above or another IDE/command-line tool, then place the.jarin theScriptsfolder.
- If you have a pre-compiled
-
Install Java:
- Verify that JDK 8 or higher is installed by running
java -versionin a terminal or command prompt. - If not installed, download and install it from the Oracle website or another trusted source.
- Verify that JDK 8 or higher is installed by running
-
Prepare In-Game Requirements:
- Check the script’s documentation or source code for specific requirements (e.g., skill levels, items, or locations).
- Ensure your OSRS character has the necessary skills, equipment, and items in your inventory or equipped.
- Position your character in the appropriate in-game location before starting the script (e.g., near a fishing spot, mining rocks, or trees).
How to Run a Script
-
Launch DreamBot Client:
- Double-click
DBLauncher.jarto start the DreamBot client. - Log in using your DreamBot account credentials.
- Double-click
-
Add Your OSRS Account:
- In the DreamBot client, go to the account manager and add your OSRS account credentials (username and password).
-
Start the Script:
- Open the DreamBot client and navigate to the "Scripts" tab.
- Select the desired script from the list of available scripts in the
Scriptsfolder. - Click "Start" to launch the script.
-
Configure the Script (if applicable):
- Many scripts include a graphical user interface (GUI) for configuration when started.
- Follow the on-screen prompts to select options like resource type, actions (e.g., drop or bank), or other settings.
- Refer to the script’s documentation for specific configuration details.
-
Position Your Character:
- Ensure your character is in the correct location for the script to function (e.g., near a resource or bank).
- Some scripts automatically detect nearby resources, while others may require you to be at a specific spot.
Common Script Features
While features vary by script, many DreamBot scripts include:
- Resource Selection: Choose specific resources (e.g., fish types, ore types, tree types).
- Action Options: Drop items, bank them, or perform other actions like cooking or smelting.
- Anti-Ban Measures: Random camera movements, mouse movements, skill checking, or idle periods to mimic human behavior.
- Dynamic Movement: Randomized walking paths to reduce repetitive patterns.
- GUI Support: User-friendly interfaces for setting up script options.
- On-Screen Paint: Displays runtime, resources gathered, XP gained, and status updates.
Troubleshooting
- Script Not Appearing: Ensure the
.jarfile is in theScriptsfolder. If using a.javafile, compile it to a.jaras described above. Restart the DreamBot client. - Script Fails to Start: Check the DreamBot console for error messages. Verify that you meet the script’s skill and item requirements.
- Missing Items/Equipment: Ensure you have the required items in your inventory or equipped, as specified by the script.
- GUI Not Showing: Confirm Java is installed correctly and the DreamBot client is up to date. Check the console for errors.
- Script Stops Unexpectedly: Review the script’s documentation for location or setup requirements. Ensure you’re in the correct area and have necessary resources.
- IntelliJ Compilation Issues: Verify that the
client.jaris added as a library and not included in the artifact output. Ensure the output directory is set to theScriptsfolder.
Notes
- Bot Detection Risk: Using automation scripts in OSRS carries a risk of account bans. Use scripts at your own discretion and consider anti-ban features included in the script.
- Client Updates: Regularly update the DreamBot client to ensure compatibility with OSRS and the script.
- Script-Specific Documentation: Always check the script’s documentation (e.g., a README file or comments in the source code) for specific requirements or instructions.
- Support: For issues with a specific script, contact the script author via the DreamBot forums or other provided channels.
License
Scripts are typically provided for personal use/educational purposes. Do not distribute or sell scripts without the author’s permission.
Related Skills
node-connect
353.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.7kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
353.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
353.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
