https://github.com/CPunch/gopenfusion
A toy implementation of a FusionFall landwalker server
https://github.com/CPunch/gopenfusion
docker fusionfall go golang mmo mmorpg-server reverse-engineering
Last synced: 14 days ago
JSON representation
A toy implementation of a FusionFall landwalker server
- Host: GitHub
- URL: https://github.com/CPunch/gopenfusion
- Owner: CPunch
- License: mit
- Created: 2023-03-07T18:39:51.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-03-03T19:14:41.000Z (about 2 years ago)
- Last Synced: 2026-02-15T08:38:48.355Z (about 1 month ago)
- Topics: docker, fusionfall, go, golang, mmo, mmorpg-server, reverse-engineering
- Language: Go
- Homepage:
- Size: 227 KB
- Stars: 9
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gopenfusion
A toy implementation of the [Fusionfall Packet Protocol](https://openpunk.com/pages/fusionfall-openfusion/) (see: `cnet/`) and accompanying services, written in Go.
## Landwalker demo
An implementation of a landwalker server is located in `login/` && `shard/`. This includes a functional login server and a dummy shard (supporting the minimum amount of packets necessary). There is minimal support for NPCs, and minimal support for player interaction (chat & player movement being mostly it).
Startup the environment using
```sh
$ chmod +x ./build.sh && ./build.sh
$ docker compose up
```
The environment consists of a shard service, login service, redis && postgres containers. redis is used to pass login metadata between the login and shard services, while postgres is just used to store player accounts and characters.
login server is hosted at `127.0.0.1:23000`, just join from your [favorite client](https://github.com/OpenFusionProject/OpenFusion/releases/latest)
## Generating structures
Dump and decompile the `Assembly - CSharp.dll` assembly from the fusionfall main.unity3d, using a tool like [ilspycmd](https://www.nuget.org/packages/ilspycmd/). The full output source can then be passed to `genstructs.py` script located in `tools/`, which will handle scraping constants and calculating structure padding. See the script for details on usage.