A toy implementation of the FusionFall Packet Protocol in Go
Go to file
2024-02-01 17:25:11 -06:00
.github/workflows add cnet/ util/ to unit-tests push event 2023-12-02 21:52:42 -06:00
cmd moved config/ -> internal/config 2023-12-02 22:09:11 -06:00
cnet moved config/ -> internal/config 2023-12-02 22:09:11 -06:00
internal db/account: removed debug log 2023-12-06 16:40:06 -06:00
login testutil: refactoring && cleanup 2024-02-01 17:21:56 -06:00
shard shardserver: added Service() 2024-02-01 16:53:27 -06:00
tdata@cc65dbb402 added NPCs; added tdata submodule 2023-06-27 00:36:02 -05:00
testutil testutil: fix possible orphaned container in SetupEnvironment 2024-02-01 17:25:11 -06:00
tools genstructs.py: refactor; use match/case statement 2023-11-22 16:02:00 -06:00
util SelectWithTimeout && WaitWithTImeout now use time.Duration 2023-12-01 20:23:27 -06:00
.gitignore removed test.db 2023-03-09 15:33:39 -06:00
.gitmodules added NPCs; added tdata submodule 2023-06-27 00:36:02 -05:00
build.sh Switched to redis/postgres, major refactoring 2023-06-22 01:53:38 -05:00
compose.yaml added NPCs; added tdata submodule 2023-06-27 00:36:02 -05:00
Dockerfile dockerfile: switch to scratch 2023-06-20 18:33:29 -05:00
go.mod start redis_test.go 2023-12-02 16:56:45 -06:00
go.sum start redis_test.go 2023-12-02 16:56:45 -06:00
LICENSE.md LICENSE: finally added! 2023-12-06 17:19:32 -06:00
README.md more better README 2023-12-06 17:20:58 -06:00

gopenfusion

Workflow License

A toy implementation of the Fusionfall Packet Protocol (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

$ 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

Generating structures

Dump and decompile the Assembly - CSharp.dll assembly from the fusionfall main.unity3d, using a tool like 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.