Skip to content

Repository files navigation

OtpGo

OtpGo is an OTP (Online Theme Park) server written in Go.

Its goal is to implement the original OTP messages and to maintain accuracy with the original Disney MMO clients: Toontown Online, Pirates of the Caribbean Online, World of Cars Online, and Pixie Hollow. It is based on nosyliam's unfinished AstronGo project, but heavily modified to support our goals.

This project uses GopherLua to implement a Lua5.1(+ goto statement in Lua5.2) VM which can be used to extand functionaility of OtpGo by writing your own Client message handler or game-specific custom roles.

Astron's Readme provides a really good description at how the OTP server works internally.

The entire documentation and unit tests is pretty much a TODO right now, but it'll get it done eventually so please, pardon our dust.

Build Tags

This project will build all the components by default (Message Director is manditory and will always be included), but can be omitted by the build by supplying build tags to your go build command.

For example: running go build -tags no_stateserver,no_dbserver,no_eventlogger,no_luarole will build only the Client Agent.

You can also use it to omit certain backends used by the Database Server, for example: running go build -tags no_mongodb will not build the MongoDB backend, leaving the others available.

The compatible build tags is as follows:

no_clientagent omits the Client Agent

no_stateserver omits the State Server (and Database-State Server)

no_dbserver omits the Database Server and its backends

no_eventlogger omits the Event Logger

no_luarole omits the ability to create game-specific roles using Lua.

no_mongodb omits the MongoDB backend.

no_yaml omits the YAML backend.

no_mysql omits the MySQL backend.

no_postgres omits the PostgreSQL backend.

Projects using OtpGo

Mewtwo (Sunrise Games' Toontown servers)

Dialga (Sunrise Games' World of Cars Online servers)

Gyarados (Sunrise Games' Pirates of the Caribbean Online servers)

Clefairy (Sunrise Games' Pixie Hollow servers)

About

Disney's OTP (Online Theme Park) server written in Go.

Resources

Stars

11 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages