Dark98 729eb4237c Improve multi-tile NPC pathing, combat reach, and collision closes (#658)
- Implement O(1) AABB Chebyshev distance calculations in NpcData.goodDistanceNpc and inNpc.
- Enforce authentic 2006 RS2 1-tile melee rules: require cardinal alignment for 1x1 entities while permitting corner melee reach for multi-tile NPCs.
- Add multi-tile leading edge obstacle collision handling in NpcHandler.handleClipping.
- Prevent attacking from underneath NPC body and properly direct NPC step-off away from player.
- Clamp projectile LOS raycast checks to nearest perimeter tile on NPC bounding box.
- Update TzTok-Jad melee stance detection to use multi-tile perimeter reach.
- Update ClickNPC and PlayerAssistant to respect multi-tile bounds for interactions and following.
2026-11-08 00:48:08 +00:00
2021-12-31 03:47:48 +00:00
2021-08-27 12:04:20 -04:00
2023-02-19 01:58:06 +00: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:

  • 1: Download the latest Parabot Client from here
  • 2: Run the parabot client with the following arg:
java -jar Parabot.jar -local
  • 3: ???
  • 4: 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
  • 2006Scape-Android contains the native Android client port (Git submodule, Gradle project)

Building from command line

Desktop (Server & Client)

Run:

mvn -B clean install

Android Client APK

Run:

cd 2006Scape-Android
./gradlew assembleDebug

The resulting debug APK is output to app/build/outputs/apk/debug/app-debug.apk.

S
Description
A 2006 Runescape Emulation Server
Readme GPL-3.0
130 MiB
0 Stars 1 Watchers 0 Forks
Languages
Java 97%
Kotlin 3%