Star Wars Galaxies Combat Upgrade emulator
324
This is a Star Wars Galaxies Combat Upgrade server emulator for the Java Virtual Machine. The vision for this software is:
The way we perform code reviews should reflect these points.
Ready to help bring back an awesome MMORPG with your programming skills?
The following assumes that you're familiar with:
In order to compile the source code, you need a JDK installation on your machine. The JAVA_HOME environment variable
should point to the directory of the JDK! It should be version 10 as minimum. You can see your installed Java version
by running java -version.
If you want to host a Combat Upgrade game server, you'll want to use our Docker image. You'll need to install Docker
on the machine you'll be using. A container using the image can then be run like so:
docker run -i -t --network="host" teamswg/latest
For developers, Docker images can be built of the code: docker build -t teamswg/ditto:v0.1.0
The project uses submodules. Get them by running: git submodule update --init
User information is read from a MongoDB database that can be run on any machine on your network. Default is localhost, meaning same machine as you're running the game server on!
use dittodb.createUser({user: "ditto", pwd: "pass", roles: []})db.users.insert({username: "user", password: "pass", accessLevel: "dev", banned: false, characters: []})This project uses Gradle as its build tool of choice.
Compile and run Holocores unit tests using Gradle: ./gradlew test --info
Compile and run Holocores main code using Gradle: ./gradlew run
Ditto uses TCP for network communications, whereas SWG was programmed for UDP. This adds numerous efficiencies with long distance communications, but requires that a little more work is done on the client side. If you are using the launcher, you do not have to worry about this. If you are not using the launcher, follow the guide here.
Content type
Image
Digest
Size
761.1 MB
Last updated
almost 8 years ago
docker pull teamswg/ditto