Reading the repo
Opening the box…
Reading the repo
Opening the box…
How to install on Windows
A RuneLite bot automation extension API for Old School RuneScape
Saved setup from just now
Will it work on Windows?
Then run powershell -ExecutionPolicy Bypass -File .\setup.ps1. It stops at the first error and is safe to run again. Servers and tests aren't started; it lists them at the end. Read it first.
Needs Git: winget install Git.Git
git clone https://github.com/OSRSB/OsrsBot.git cd OsrsBot
JDK, Leiningen
winget install EclipseAdoptium.Temurin.21.JDK choco install lein
.\gradlew.bat build -x test lein deps
.\gradlew.bat run
So, if you're a script user reading this then you can click here to download the latest jar file. To run this file you'll need an installation of JDK 17 which can be obtained by clicking that link and downloading the version that matches your operating system. If you need help just jump into the community server and ask. Alternatively, you can install it through IntelliJ IDEA by hitting File -> Project Structure -> Project -> Project SDK and selecting the JDK version you want to use (or adding it).
To build make sure to use the Gradle build tasks to build the classes or the jar task to build the jar.
To install a .jar script, put it in the following folder:
Windows: C:\Users\[username]\OsrsBot\Scripts\Precompiled
Linux: /home/[username]/.config/OsrsBot/Scripts/Precompiled
MacOS: /Users/[username]/Library/Application Support/OsrsBot/Scripts/Precompiled
You can then run the client by clicking the jar file twice (or from command-line if you choose) and waiting for RuneLite to initialize. After RuneLite has loaded you can hit our icon visible on the sidebar and open the interface. From here you can add accounts to a secure file storage system on your machine (stored in the location you executed the jar) and after adding the login details swap to the script panel and execute your script by clicking it to highlight it and then selecting the start button. You're good to go now! Stopping the script can be done by closing the client or by selecting stop or pause.
No reports for Windows yet.
GitManual AI Agent reads the 3 key files and writes a step-by-step guide for Windows. Once written, it's saved for everyone.