Code Monkey home page Code Monkey logo

opennxt's Introduction

OpenNXT - RS3 919

A RS3 RSPS framework targeted at NXT, the goal is to stay up-to-date with RS3

Discord

We have a Discord server you can join! https://discord.gg/u5p4w3zjjx

Tooling

One of the goals of this project is to have all necessary tools built-in. This includes the client downloader, client and launcher patcher, cache downloaders et cetera.

Tools can be executed through the command line with the following parameters: run-tool <tool-name> [--help]

You can create your tools easily by creating a new class in com.opennxt.tools.impl. Your class must extend from base class com.opennxt.tools.Tool. Tools are registered automatically using classpath scanning.

Updating

To update OpenNXT to a new version:

  1. Download the latest clients using run-tool client-downloader
  2. Download the latest cache using run-tool cache-downloader
  3. Patch the latest clients using run-tool client-patcher
  4. Update the build field in ./data/config/server.toml

If the version you are updating to is not yet supported by OpenNXT OR you want to contribute to the project's networking-related code and implementations, it is highly recommended you also fulfil these steps:

  1. In com.opennxt.net.login.LoginEncoder, replace RS3_MODULUS with the old login key printed by the patcher.
  2. Create a new directory: ./data/prot/[new version]/, replacing [new version] with the server version.
  3. Open the win64.exe client in Ghidra, and run the Ghidra NXT Auto Refactoring Script. For more information on how to install and use this tool you can visit my Rune-Server thread.
  4. Run the script and use the data it prints to the console to populate the files in ./data/prot/[version]/*.toml. The tool does not print clientProtNames. Those, you will have to do manually.
  5. Populate the packet fields using files in the ./data/prot/[version]/[(client/server)prot] directories

Setup

To set the project up:

  1. Generate your server's RSA keys: run-tool rsa-key-generator

  2. Download the latest RS clients: run-tool client-downloader

    โš ๏ธ Latest clients might not be compatible with this repository. Please ensure this repository version matches the version of your clients.

  3. Put the original launcher in: ./data/launcers/win/origina.exe (can be found at C:\Program Files\Jagex\RuneScape Launcher\RuneScape.exe)

  4. Create a configuration file ./data/config/server.toml. Configure the following fields:

    hostname = "127.0.0.1"
    configUrl = "http://127.0.0.1/jav_config.ws?binaryType=2"

    configUrl is the URL the launcher will get the jav_config.ws from. hostname is the IP your server runs on

  5. Patch the client and launchers using run-tool client-patcher

  6. Download the latest cache using run-tool cache-downloader

  7. Wait until this framework progresses further

opennxt's People

Contributors

techdaan avatar woahscam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.