If you installed MySQL 8.0 and imported OTS schema.sql with default settings, you database uses encoding not supported by MariaDB. If you dump database using: and try to import it into MariaDB using:...
Read more →
Friend asked me about code to keep 'auto loot lists' in storage. So player can configure few lists of items and then just switch between them, when he goes to other spawn with different loot. You can...
Read more →
Dockerfiles tested on 20210824. You can comment otservbr / forgottenserver part to compile just one sources.
Read more →
This script reads spawn.xml file and list monsters sorted by spawn time. You can easily detect monsters with too low or too high spawn times.
Read more →
Example for Tibia version 8.54 TO GENERATE MINIMAP FOR BIG MAPS LIKE RL TIBIA YOU NEED TO COMPILE 64bit VERSION OF OTCLIENT! Loading big map requires few GB RAM. 32bit (x86) version of OTClient can...
Read more →
There are many tutorials about writing scripts for TFS 1.x, so I decided to write short tutorial how to NOT write scripts for TFS 1.x. In this tutorial I will describe two common mistakes that result...
Read more →
Install required libraries: Replace physfs from Ubuntu repository to version that works: Download OTClient: Go into otclient directory: Edit file CMakesList.txt Find: Replace with: Compile OTClient:...
Read more →
Someone asked me on Discord about script that gives configurable rewards on level advance. It's onAdvance event. Rewards are easy configurable and can be limited by vocations and level.
Read more →
In acc. maker in file system/load.compat.php find function checknamenewchar and above return true add: Line where you need to paste it:...
Read more →
In OTS folder data/monsters create new file list.php Now run that code in console. On machines with PHP installed just type: and it will generate list like:
Read more →