* Some stuff on weight Some stuff on weight * Cleaned some code related to trading and fixed most likely the issue where the player stays busy and cant trade till relog Cleaned some code related to trading and fixed most likely the issue where the player stays busy and cant trade till relog * removed a shitload of '== true' I did a search and replace but I manually checked the changes that were made so there shouldn't be any issue with that.
2006rebotted - an open source, bottable remake server. Pull requests welcome!
Discord Link: https://discord.gg/4zrA2Wy
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
How to Develop for 2006rebotted
Step 1: Register a GitHub account
Step 2: Install IntelliJ Community Edition: https://www.jetbrains.com/idea/download/
Step 3: Fork this repository (Image)
Step 4: Open IntelliJ and click "File > New > New Project from Version Control"
Step 5: Enter the URL of your forked Github repository, and hit "Clone" (Image)
Step 6: Start the FileServer (Image)
Step 7: Start the GameEngine (Image)
Step 8: Start the Client (Image)
How to get your code onto this project page
Follow this guide here: https://www.jetbrains.com/help/idea/contribute-to-projects.html
A more formal guide will be created on the 2006rebotted forums in the future.
Using Parabot with your local server:
- 1: Download the latest
localhost_2006rebotted.jarfrom here (or, if testing server changes, compile it yourself like this) - 2: Download the latest
Provider-version.jarfile from here - 3: Create a file called
localhost.jsonin{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 Servercontains all the server code; marksrcas the Sources directory -
2006Redone Clientcontains all the client code; likewise marksrc- If more than 2 arguments are passed in (can be anything), the client runs locally
-
2006Redone file_servercontains 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.srcis the Sources directory -
2006Redone_Clientand2006Redone_Servercontain the compiled class code/outputs.