Josh Shippam e1a8d85408 Second World Setup (#518)
* Start Setting Up Second World

Added World Number To Login Message
Added World Number To Login Interface
Made World 2 Listen On Different Port
Made Client Connect To 43597 For World 2

* Small Cleanup For World 2 Support

Calculate Port For World Based On World Number
Use Existing World int For World In Server

* Woops Wrong Ports

* Set Server Port After Loading Config

* Add xpRate Var & Include With XPRate Calculations

* Add -w/-world arg to client

* Add XP Rate Multiplier For Non-Bot Worlds

* More Multi World Stuff

Update Integrations(Discord Bot/Website Stuff) For Multiple Worlds
Added More XP Rate Dialogue Stuff

* Add Kick Command To Discord Bot & Fix Type In ConfigLoader

* Create/Use commandPrefix Var For Discord Bot

* Small Fixup For World 2

Renamed BOT_WORLD to VARIABLE_XP_RATE
Fixed Dialogue/Message grammar
Added a check for VARIABLE_XP_RATES to ::xprate command

* More Discord Commands(GameKick, MoveHome & Update)

*GameKick kicks A player if their client froze but acc stayed logged in
*MoveHome removes the need for ::stuck which removes potential for abuse
*Update schedules A server update

* Minor fixup

* 43597 → 43598

* Fix XP Rate Multiplier & add ::xprate to cooamnds list if enabled

* Use Either VARIABLE_SKILL_RATE OR XP_RATE Not Both

TODO(Convert Player.xpRate Into An Array For Easier Rate Changes)

* Create/Use PLAYER_XP_RATES For Easier Rate Changes

* Fixed Abusive Client Command Privileges & Added myxprate/checkxprate

* Allow Loading VARIABLE_XP_RATES & PLAYER_XP_RATES From Config

* Properly Update Client Title Logo

If The Cache Has Already Been Downloaded You Will Need To Delete It & Let The Client ReDownload It

* Fix Cache CRC Checks For The Client(Allows Cache To Actually Check For Updates)

* Add -no-crc & -dev Arguments To Client

* Fix Naming For Some Vars

* Make CHECK_CRC Description More Descriptive

* Fix More Var Descriptions

* Cleanup Unused GameConstants Vars & Add More Vars To ConfigLoader

Co-authored-by: Danial <admin@redsparr0w.com>
2021-12-31 03:47:48 +00:00
2021-12-31 03:47:48 +00:00
2021-08-27 12:04:20 -04:00

2006Scape - an open source, actively developed emulation server. Pull requests welcome! Gameplay Image

How to Play

Client/Launcher Download: https://2006Scape.org/

Rune-Server project thread: Project thread

Installation + Running (Developers)

  1. Import Project in IntelliJ

  2. Hit File > Project Settings > Set SDK to Java 8 (Download Java 8 SDK if you don't have one already)

  3. Navigate to 2006Scape Server > src > main > java > com.rs2, right click GameEngine and hit Run Image

    (You Can Also Run The Server With The -c/-config Argument)

  4. Navigate to 2006Scape Client > src > main > java, right click Client and hit Run Image

Advanced

To compile any module from the command line, run mvn clean install

Using Parabot with your local server: (OUTDATED)

  • 1: Download the latest localhost_2006Scape.jar from here (or, if testing server changes, compile it yourself like this)
  • 2: Download the latest Provider-version.jar file from here
  • 3: Create a file called localhost.json in {user}\Documents\Parabot\servers
  • 4: Put the following in the file
{
    "name": "localhost",
    "author": "RedSparr0w",
    "version": 1.0,
    "client-class": "LocalGame",
    "locations":{
        "provider": "pathToYourJar/Provider-1.21.5.jar",
        "server": "pathToYourJar/localhost_2006Scape.jar",
        "hooks": "http://bdn.parabot.org/data/hooks/carmeuses/2006rebotted_hooks.xml"
    }
}

(you will need to put the path to the jar files yourself)

  • 5: Run the parabot client with the following args:
java -jar Client-2.8.1.jar -login username password -loadlocal -v -clearcache
  • 6: ???
  • 7: PROFIT

Server source layout

  • 2006Scape Server contains all the server code; mark src as the Sources directory
  • 2006Scape Client contains all the client code; likewise mark src
    • If more than 2 arguments are passed in (can be anything), the client runs locally

Building from command line

Run mvn -B clean install

S
Description
A 2006 Runescape Emulation Server
Readme GPL-3.0 127 MiB
Latest
2020-08-04 22:50:08 +00:00
Languages
Java 100%