README
go-tibia: Tibia tools in Go
Just a toy project to see how far Go's built in crypto primitives can take me.
(c) 2017-2020 Ivan Vucica. See the LICENSE for licensing information.
gotserv: OTServ in Go
Main binary: badc0de.net/pkg/go-tibia/cmd/gotserv
So far implemented: stub login protocol, stub gameworld protocol which presents a map.
Libraries
There's:
- a spr reader
- a dat reader
- an otb reader
- an items.otb reader built on top of the otb reader
- a base network constructs library
- a login server
- a gameworld server
- includes a toy, experimental compositor for a map into an
image.Image
incl lighting
- includes a toy, experimental compositor for a map into an
- an abstract representation of 'things' such as items, creatures, etc, as an abstraction of items from items.otb, or .dat dataset, or otherwise
- includes a toy, experimental compositor for items and creatures into
image.Image
- includes a toy, experimental compositor for items and creatures into
Documentation
Overview ¶
Package tibia contains no code.
Refer to its subpackages for useful documentation and code.
Directories
Path | Synopsis |
---|---|
cmd
|
|
gotserv
gotserv is a binary setting up and serving a login and a gameworld server on ports 7171 and 7172.
|
gotserv is a binary setting up and serving a login and a gameworld server on ports 7171 and 7172. |
Package dat implements a parser for Tibia dataset files (Tibia.dat), describing items, creatures, etc.
|
Package dat implements a parser for Tibia dataset files (Tibia.dat), describing items, creatures, etc. |
Package gameworld provides a gameworld protocol server.
|
Package gameworld provides a gameworld protocol server. |
Package imageprint prints images on terminal.
|
Package imageprint prints images on terminal. |
Package login provides a login protocol server.
|
Package login provides a login protocol server. |
Package net implements network communication primitives for the login and gameworld protocol.
|
Package net implements network communication primitives for the login and gameworld protocol. |
Package otb reads in the 'OpenTibia Binary' format.
|
Package otb reads in the 'OpenTibia Binary' format. |
items
Package itemsotb reads in an items.otb file.
|
Package itemsotb reads in an items.otb file. |
map
Package otbm implements an OTBM map file format reader and a gameworld map data source.
|
Package otbm implements an OTBM map file format reader and a gameworld map data source. |
Package secrets provides RSA secrets for the game, currently just OpenTibia server secret.
|
Package secrets provides RSA secrets for the game, currently just OpenTibia server secret. |
Package spr implements a reader for individual sprites in a Tibia.spr files.
|
Package spr implements a reader for individual sprites in a Tibia.spr files. |
Package things implements a registry for items, creatures etc.
|
Package things implements a registry for items, creatures etc. |