Skip to content

hex-agon/alter-pangya

Repository files navigation

Alter-Pangya

A PangYa GB.852 server emulator

Finding a client

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.

Working features

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.

Running the servers

Each server requires a configuration file to be present in the working directory, see the readme of each server for a configuration file template:

Login Server Config

Game Server Config

Dependencies

Before running the login & game server you'll need the following extra services:

  • A redis instance
  • A postgres instance

Development

Setting up a Postgres database

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

Applying the migrations

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

Regenerating the JooQ classes (Schema changes)

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

References:

About

A PangYa GB.852 server emulator

Topics

Resources

Stars

Watchers

Forks

Languages