mirror of
https://gitlab.com/2009scape/2009scape.git
synced 2025-12-21 09:02:07 -07:00
Repository for the Server + Management Server for 2009scape, an open source RS2 remake.
Changed home teleport to Lumbridge. Fixed an issue with Seers' village npc that lead to unfinishable dialogue. Added the standard runescape starter on first login. |
||
|---|---|---|
| .idea | ||
| Client | ||
| CompiledServer/production/09Scape | ||
| Management-Server | ||
| Server | ||
| .gitignore | ||
| README.md | ||
RS 2009
Open source 2009 Runescape Remake
Setting up the project
Requirements:
- General knowledge of git
- General knowledge of SQL
- Intellij
Be sure to check the debugging section when something goes wrong.
At any point, if you need help, you are free to join our Discord server at: https://discord.gg/4zrA2Wy
Step 1:
- Fork this repository to your repo
Step 2: Setting up IntelliJ
- 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>09HDscape>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
Step 3: Setting up the Database
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.
General:
- Configure root@localhost to have a blank password
- Create a table in root named
serverand another namedglobal - Import
09HDscape-server/server.sqland09HDscape-server/global.sqlinto their respective tables - Start the database
Windows:
- Download and install xampp
- Start the
ApacheandMySQLmodules - Navigate to http://localhost/phpmyadmin/
- Create 2 new tables named
serverandglobal - Import
09HDscape-server/server.sqland09HDscape-server/global.sqlinto their respective tables- Refer here for help importing the
.sqlfiles
- Refer here for help importing the
Step 4: Running the Server & Client
- Run the management-server
- In IntelliJ, navigate to
09HDscape-management-server/src/org/keldagrim/Main.java, right click > Run
- In IntelliJ, navigate to
- Run the server
- In IntelliJ, navigate to
09HDscape-server/src/org/crandor/Main.java, right click > Run- It will fail
- Top right there should be
Main (1)in a dropdown, click it then selectEdit Configurations - Change the working directory to
09HDscape-serverso it can findserver.properties
- In IntelliJ, navigate to
- Run the client
- In IntelliJ, navigate to
09HDscape-client/src/org/runite/GameLaunch.java, right click > Run
- In IntelliJ, navigate to
You should now be set up!
Debugging
Errors could not find library:
- Click
File>Project Structure>Modules>09HDscape>Paths>Inherit project compile output path- Now click
Dependencies - Click the
+on the right-hand side >JARs or directories - Add the following things:
09HDscape-client/libdirectory09HDscape-client/clientlibs.jarfile09HDscape-management-server/libdirector
- Now click