Repository for maintaing our custom open tibia server using forgottenserver.
- MySQL
- A computer
This server has been tested/used in Linux, we cannot guarantee it will work in MacOS or Windows, however, it might.
The steps to compile the server can be found here: https://github.com/otland/forgottenserver/wiki/Compiling
After you built tfs
, you can proceed to work with MySql
. You can use whatever user and database name you want, our recommendation is to have forgottenserver
.
After you set up the user and granted permission to the database, you can run the schema.sql
located in the root of the project. Here is a handy way to do it in Linux: sudo mysql -u root -p forgottenserver < ./schema.sql
Copy the config.lua.dist
and name it config.lua
, there you want to change the mysqlUser
to whatever you named the MySql user, mysqlPass
for it's password (if there is any) and change mysqlDatabase
to whatever you named the database.
You also want to make sure that you have decompressed the map.rar
file that comes inside data/world
, otherwise the server will not find a map. If you have not cloned with the submodule
flag, you can get the map files in orts/world.
Once you are done with that, all you have to do is run the tfs
that you compiled! Have fun. :)
Use this link as reference for everything related to the open tibia server:
You will be able to find the world that we are using as well as the server we are basing ourselves off of in these links: