MCPcopy Index your code
hub / github.com/2006-Scape/2006Scape

github.com/2006-Scape/2006Scape @v1.10

Chat with this repo
repository ↗ · DeepWiki ↗ · release v1.10 ↗ · + Follow
4,663 symbols 17,746 edges 471 files 639 documented · 14%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

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

Discord Link: https://discord.gg/hZ6VfWG

How to Play

Client (non-bottable download): https://github.com/dginovker/2006rebotted/releases/

Parabot client (recommended): https://www.parabot.org/community/

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 2006Redone file_server > src > main > java > org.apollo.jagcached, right click FileServer and hit Run Image

  4. Navigate to 2006Redone Server > src > main > java > com.rebotted, right click GameEngine and hit Run Image

  5. Navigate to 2006Redone Server > src > main > java, right click Client and hit Run Image

Advanced

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

How to get your code onto this project page

See this forum post.

Our 2.0 Client

We're working on a new client, rather than the one in the Client/ directory. The reason for this is refactoring the client breaks Parabot, and the new client is much more refactored and in a better place to expand. You can find our new client repo Here!

Using Parabot with your local server:

  • 1: Download the latest localhost_2006rebotted.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_2006rebotted.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

  • 2006Redone Server contains all the server code; mark src as the Sources directory
  • 2006Redone Client contains all the client code; likewise mark src
  • If more than 2 arguments are passed in (can be anything), the client runs locally
  • 2006Redone file_server contains the file server code that is required to be running before a client can connect to a server. It must be running locally before a client can connect. src is the Sources directory

  • CompiledServer/ contains the compiled class code and artifacts.

Extension points exported contracts — how you extend this code

CommandProcessor (Interface)
@author RS-Emulators [4 implementers]
2006Redone Server/src/main/java/com/rebotted/console/CommandProcessor.java
Runnable_Impl1 (Interface)
(no doc)
2006Redone Client/src/main/java/Runnable_Impl1.java
PacketType (Interface)
(no doc) [86 implementers]
2006Redone Server/src/main/java/com/rebotted/net/packets/PacketType.java
PacketBuilder (Interface)
Packet builder interface @author Graham [1 implementers]
2006Redone Server/src/main/java/com/rebotted/net/PacketBuilder.java

Core symbols most depended-on inside this repo

getPacketSender
called by 4156
2006Redone Server/src/main/java/com/rebotted/game/players/Player.java
getItemAssistant
called by 1666
2006Redone Server/src/main/java/com/rebotted/game/players/Player.java
i
called by 1433
2006Redone Server/src/main/java/com/rebotted/game/npcs/drops/NPCDropsHandler.java
sendString
called by 1428
2006Redone Server/src/main/java/com/rebotted/net/PacketSender.java
getPlayerAssistant
called by 1344
2006Redone Server/src/main/java/com/rebotted/game/players/Player.java
menuLine
called by 1329
2006Redone Server/src/main/java/com/rebotted/game/content/skills/SkillInterfaces.java
sendMessage
called by 1118
2006Redone Server/src/main/java/com/rebotted/game/content/minigames/MageArena.java
getDialogueHandler
called by 838
2006Redone Server/src/main/java/com/rebotted/game/players/Player.java

Shape

Method 4,108
Class 464
Enum 87
Interface 4

Languages

Java100%

Modules by API surface

2006Redone Server/src/main/java/com/rebotted/game/players/Player.java230 symbols
2006Redone Client/src/main/java/Game.java176 symbols
2006Redone Server/src/main/java/com/rebotted/game/players/PlayerAssistant.java107 symbols
2006Redone Server/src/main/java/com/rebotted/net/PacketSender.java68 symbols
2006Redone Server/src/main/java/com/rebotted/game/items/ItemAssistant.java67 symbols
2006Redone Server/src/main/java/com/rebotted/util/Stream.java58 symbols
2006Redone Client/src/main/java/WorldController.java54 symbols
2006Redone Server/src/main/java/com/rebotted/game/content/skills/farming/FruitTree.java53 symbols
2006Redone Server/src/main/java/com/rebotted/game/content/skills/farming/WoodTrees.java51 symbols
2006Redone Server/src/main/java/com/rebotted/game/content/skills/farming/Bushes.java50 symbols
2006Redone Server/src/main/java/com/rebotted/game/content/skills/farming/SpecialPlantOne.java49 symbols
2006Redone Server/src/main/java/com/rebotted/game/content/skills/crafting/CraftingData.java49 symbols

For agents

$ claude mcp add 2006Scape \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page