Setting up a runescape private server – Great for practicing automation and script design

This guide will walkthorugh creating a custom runescape private server locally and works to conenct with friends on your lan/wifi connection!

Kronos, a semi-custom server active from May to September 2020, introduces a unique blend of modern features and high-quality custom content. With a strong start of 150 players online, it prioritizes stability and innovation.

This server offers a modern deob client experience with GPU rendering and exceptional custom content, encouraging users to explore beyond 317 servers into deobs for a refreshing gaming encounter.

Noteworthy are its exceptional item attributes and upgrades system, allowing easy additions to item objects. Kronos embraces old-school roots while delivering captivating gameplay through distinctive content, notably up to TOB.

Powered by RuneLite integration and OpenGL format, Kronos guarantees a seamless, customizable, and visually enhanced gaming environment. Its player-centric approach empowers users to tailor gameplay preferences, offering features like action tooltips, boss tracking, Inferno assistance, and more.

The runescape private server prides itself on a flawless OSRS-like experience with features like flawless switching, tick eating, and an active wilderness, crucial for a thriving economy, pking and diverse gameplay. Unique incentives like wilderness events and exclusive content complement the experience seamlessly.

Kronos Features – Bosses, PvM and More!

Kronos offers over 20 bosses, meticulously designed mechanics, and ongoing content updates to ensure an engaging bossing experience. Skilling aspects are equally robust, with proper drop tables encouraging resource acquisition through PvM and bossing, enhancing both gameplay and the economy.

Moreover, Kronos boasts a range of fully functional minigames, including Chambers of Xeric, LMS, Wintertodt, Inferno, and more, mirroring OSRS dynamics but with added excitement.

For pet enthusiasts, all skilling and boss pets, from Gargoyle to Olm, are attainable. Kronos encourages players to engage in skilling, boss battles, and pet hunting for an immersive and rewarding gaming journey.

Dive into Kronos and experience a fusion of innovation, quality gameplay, and a player-focused environment tailored to elevate your gaming adventure.

Kronos is configured using a master gradle project with modules that each have their own tasks.

Runescape private server packages explained

Game Server:

Adjust DB information in the `server.example.properties` file, then rename it to `server.properties`
you will need to be sure to assign different ports if you’d like to load multiple worlds on one central server

Client (runelite)

Use the `CustomMain` class to designate whether you’re like to run in development or live mode.
You can edit these configurations in the `CustomWorldType` class.
To run the client, you will need to upload the included “worlds.ws” file to a webhost and point the client at the new url

Central Server:
This controls the world list for the client and the cross-world chats such as clan chat and pms.

Webhooks:
This api was purely used for runelite highscores integration.

API
This is really more of a library where methods that are used across the packages can be accessed from.

Launcher
This was a simple, no-nonsense launcher that simply updated the client jar for users.
Make any adjustments for your client download link the `Main` class.
No need to update some silly text document or anything, the launcher checks that the user has the most up-to-date client, and if there is a new version, it downloads it.

Update Server
This server serves the cache to users.
The update server must be running to launch the client.

Download and Installing Compatible Intellij

IntelliJ Download (search and find 2020.3.4 x64 – use page search):
https://www.jetbrains.com/idea/download/other.html
JetBrains will give you a free ultimate license if you are a student in uni. Otherwise, community is perfectly fine.

Download Runescape private server Kronos

Next download from the link below in google drive the kronos-osrs-184-master.zip which contains the server and runelite client.

Original repo located here: https://gitlab.com/rsps-releases/osrs/kronos-osrs-184

Download Java SDK 1.8.0.251

Also, Download the java SDK 1.8.0_251 from oracle, search for 251

https://www.oracle.com/au/java/technologies/javase/javase8u211-later-archive-downloads.html

Unzipping Kronos

After downloading the Kronos file, extract its contents using a file extraction utility like WinZip, WinRAR, or the default extraction tool on your operating system. This action unpacks the compressed Kronos folder, making its contents accessible.

Configuring Runescape private server Kronos

Open IntelliJ and choose “Open”

Navigating to the root build.gradle file

Once Kronos is unzipped, delve into the Kronos folder structure through your file explorer. Look for the root build.gradle file. It’s crucial to locate the foundational build.gradle file, which typically resides at the highest level within the Kronos directory. This file holds essential configuration and build information for the project.
When selecting the project to open, ensure that you pick the root directory containing the main build.gradle file. This step is crucial as each file within the Kronos folder may have its own build script, but initiating the project from the root ensures proper integration and configuration.

Choose “Open as Project” to signal to IntelliJ that you want to work with this directory as a complete project. This action kicks off the import process within IntelliJ.

Upon selecting “Open as Project,” IntelliJ begins the import process. This stage involves various actions:

  • Importing sub-projects: IntelliJ identifies and imports all sub-projects or modules contained within the Kronos directory structure. These sub-projects could encompass different components or functionalities of the overall Kronos system.
  • Downloading dependencies: IntelliJ reaches out to external repositories or sources to fetch any necessary dependencies or libraries that Kronos relies on. These dependencies could include frameworks, libraries, or external tools essential for Kronos’s functionality.
  • Indexing files: IntelliJ analyzes and indexes all files within the project structure. This process involves creating a searchable database to facilitate quick navigation, code suggestions, and other IDE functionalities.

Duration of the Import Process

  • The time taken for these import activities can vary based on several factors:
    • Hardware specifications: The performance of your computer, including CPU, RAM, and storage speed, influences the import speed.
    • Internet connection: Downloading dependencies relies on your internet speed. A faster connection generally speeds up this part of the process.
    • Project size and complexity: Larger projects with extensive dependencies and numerous files will naturally take longer to import.

Changing the SDK to 1.8.0.251


Next change the SDK of the project to 1.8.0_251 (it will only work with this version or earlier). Under File > Project Structure in the Project Settings use the drop down menu and select the 1.8 version SDK by locating where its saved (downloads section), then click apply.

Next goto File > Settings and under the  Build, Execution, Development section and under the Compiler element update the heap size value to 2048.

Next goto File > Settings and under the  Build, Execution, Development section and in Build Tools and in gradle change the build and run and Run Tests option to IntelliJ IDEA.

And change the Gradle JVM to the 1.8.0_251 SDK.

Copy jav_config located in the root folder (kronos-osrs-184-master and move it to kronos-master

After the status bar on the bottom right is completed with indexing and downloading deps.

Finalising and Rebuilding the Runescape private server

Before going any further, I’d recommend building the entire project.
Open the Gradle tab of IntelliJ and go into the root project, build folder, and build the entire project.
Ths will generate all of the class files for all of the projects and ensure you have no errors.

In your Project explorer, navigate into “kronos-server”
Select and rename “server.example.properties” to “server.properties”

Now, open “server.properties”.
Update cache_path=Cache to cache_path=../Cache

Change in kronos-server > src > main > java > io.ruin > Server at line 101 change to:

File systemProps = new File("../kronos-server/server.properties");

Change in kronos-update-server > src > main > java > io.ruin.update > Server at line 24 change to:

File systemProps = new File("../kronos-server/server.properties");

In your file explorer, navigate to “runelite” and find the “build.gradle.kts” file. (Note: don’t use the one in buildSrc folder).

Right click it, and add “Import Gradle Directory”

Next update the jav_config Navigate to runelite >runelite-client > src >main > java > net.runelite > client > rs > ClientConfigLoader.java

Change line 44 from:

private static final String CONFIG_URL = "http://community.kronos.rip/jav_config.ws";

to:

private static final String CONFIG_URL = "http://oldschool6b.runescape.com/jav_config.ws";

You’re done!

Running the Runescape private server


You can now navigate back to the Gradle tab and run the kronos-server, update-server and runelite tasks.
Run kronos-server 1st, kronos-update-server 2nd and Runelite/OpenOSRS Last.

Trouble shooting

if the error comes up, could not find fernflower:

Locate the build.gradle.kts in the runelite project and add the following:

maven(url = "https://raw.githubusercontent.com/rspsforge/kronos-maven/master")

Comment out the maven for open-osrs:

If you’re interested in creating custom Runelite plugins, there’s a really informative article that can guide you through the process step by step. Here’s the link: Creating your first Runelite Plugin

For more info and support there’s a forum relating to private runescape servers: https://www.rune-server.ee/runescape-development/rs2-server/downloads/696766-kronos-osrs-semi-custom-server-deob-client-multi-world-support-184-a.html

2 thoughts on “Setting up a runescape private server – Great for practicing automation and script design

  1. Hi mine didnt had any OpenOSRS in the runelite session I have in Gradle only a runelite thing that does nothing can anyone help me my discord is daniloalvespark thanks in advance

Leave a Reply

Your email address will not be published. Required fields are marked *