A PangYa GB.852 server emulator
This emulator only works with the PangYa GB.852 client, if you browse around the pangya communities you'll easily find a download. In order to run the client it is highly recommended that you use RugBurn.
The server is still a work in progress and not all features are supported/working correctly, the following features work:
- Practice mode
- Equipping items in 'My Room'
If you're looking for a more feature complete server make sure to checkout acrisio's SuperSS project.
Each server requires a configuration file to be present in the working directory, see the readme of each server for a configuration file template:
Before running the login & game server you'll need the following extra services:
- A redis instance
- A postgres instance
You can run a local postgres database using the reference Dockerfile
contained in the database
directory, to quickly create an instance run:
docker image build -t alter_pangya database/
docker container run -d -p 5432:5432 --name alter_pangya alter_pangya
Replace the relevant database parameters with your own values
mvn -Dflyway.url=jdbc:postgresql://localhost/alter_pangya -Dflyway.user=alter_pangya -Dflyway.password=alter_pangya -Dflyway.locations=filesystem:database/migrations org.flywaydb:flyway-maven-plugin:migrate --non-recursive
While at the project root, run the following bash script to re-generate the jooq classes:
mvn -Djooq.codegen.jdbc.url=jdbc:postgresql://localhost/alter_pangya -Djooq.codegen.jdbc.user=alter_pangya -Djooq.codegen.jdbc.password=alter_pangya org.jooq:jooq-codegen-maven:generate --non-recursive
A big thanks to everyone at the Caddie's Cauldron discord