Join our Discord server: https://discord.gg/43YPGND
We also have a live game in the Releases section that always runs the latest code.
Please follow this self hosting guide
Requirements:
- General knowledge of git
- General knowledge of SQL
- Intellij
Be sure to check the debugging section when something goes wrong.
Fork this repository to your repo
- Open IntelliJ
- Click
File>New>Project from Version Control- Paste the URL of your forked repository in the URL field, click Done
- Wait for the repository to clone
- Click
File>Project Structure>Modules>RS-2009>Paths>Inherit project compile output path- Hit
OK
- Hit
- Click
File>Project Structure>Project> Change the Project Compiler Output to the folder where the project exists on your computer - In the bottom right of IntelliJ, where it specifies the branch, make sure you are developing on the development branch.
Since this portion of the guide is operating-system specific, you will either need basic database knowledge or a bit of help. Below are the things that need to be configured.
- Download and install xampp
- Start the
ApacheandMySQLmodules - Navigate to http://localhost/phpmyadmin/
- Create 2 new databases named
serverandglobal - Import
Server/server.sqlandServer/global.sqlinto their respective databases- Refer here for help importing the
.sqlfiles
- Refer here for help importing the
- Instructions for various Linux distros can be found here
- Run the management-server
- In IntelliJ, select the Management Server configuration, click Run
- Run the server
- In IntelliJ, select the Server configuration, click Run
- Run the client
- In IntelliJ, select the client configuration, click Run
You should now be set up!
Errors could not find library:
- Click
File>Project Structure>Modules>RS-2009>Paths>Inherit project compile output path- Now click
Dependencies - Click the
+on the right-hand side >JARs or directories - Add the following things:
Client/libdirectoryClient/clientlibs.jarfileManagement-server/libdirectory
- Now click
Errors regarding java.nio.BufferUnderflowException in server:
- Reclone the repository. This happened to me (Red Bracket) once, could never reproduce.
Bridges not working/general compilation issues
- This project uses JDK/OpenJDK 8. Make sure you are on version 8. Anything besides JDK or OpenJDK we will not help you troubleshoot.
