Coder Social home page Coder Social logo

hanskrebsz / 2009scape Goto Github PK

View Code? Open in Web Editor NEW

This project forked from k1ngzo/rs-2009

0.0 0.0 0.0 465.58 MB

Open source 2009 Runescape Remake

Home Page: https://2009scape.org/

Java 99.61% Batchfile 0.01% AGS Script 0.08% Shell 0.02% HTML 0.29%

2009scape's Introduction

2009Scape - The most complete Runescape Emulation server. Pull requests welcome! Gameplay image

Join our Discord server: https://discord.gg/43YPGND

We also have a live game in the Releases section that always runs the latest code.

Running your own instance

Please follow this self hosting guide

Setting up the project for debugging

Requirements:

  • General knowledge of git
  • General knowledge of SQL
  • Intellij

Be sure to check the debugging section when something goes wrong.

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 > RS-2009 > Paths > Inherit project compile output path
    • Hit OK
  • 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.

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.

Windows & Linux GUI:

  • Download and install xampp
  • Start the Apache and MySQL modules
  • Navigate to http://localhost/phpmyadmin/
  • Create 2 new databases named server and global
  • Import Server/server.sql and Server/global.sql into their respective databases
    • Refer here for help importing the .sql files

Linux Command Line

  • Instructions for various Linux distros can be found here

Step 4: Running the Server & Client

  • 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!

Debugging

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/lib directory
      • Client/clientlibs.jar file
      • Management-server/lib directory

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.

2009scape's People

Contributors

ceikry avatar dginovker avatar redsparr0w avatar ekmillard avatar jmx77-rs avatar woahscam avatar natis1 avatar joepvk avatar qweqker avatar qahowers avatar dark98 avatar djieste avatar afaroutdude avatar b-7-7 avatar promises avatar ikbenignace avatar mikeysasse avatar purplecow-dev avatar erosj040 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.