Gesior's blog
    C++ Cloudflare Linux Lua OTClient OTS PHP PJWSTK Tools

    [OTS] Check monsters spawn time in spawn.xml

    2021-08-11 11:58 OTS PHP

    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 →

    PHP file, directory, soft link and hard link information

    2021-06-11 12:42 PHP

    What PHP functions fileexists, isfile, isdir and islink return for file, directory, hard link and soft link? Result:

    Read more →

    [OTClient] Generate full minimap for your server

    2020-06-05 10:24 OTClient OTS

    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 →

    [TFS 1.x+] How to NOT write Lua scripts or how to crash server by Lua script

    2020-06-05 09:07 C++ Lua OTS

    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 →

    [OTClient] Compile on Linux Ubuntu 18.04

    2020-06-04 12:26 C++ Linux OTClient OTS

    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 →

    [PHP] Read SI formatted numbers as floats

    2020-06-01 12:49 PHP

    Simple function to convert numbers from SI notation to float: decimal point separator dot or comma thousands separator space In this case used to load money value from strings in different formats....

    Read more →

    [TFS 1.2+] Give item on level advance

    2020-05-22 11:59 Lua OTS

    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 →

    Gesior2012 - block using monster names as new player name

    2020-05-21 12:36 OTS PHP

    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 →

    OTS - generating list of monster names

    2020-05-21 12:30 OTS PHP

    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 →

    TFS - Jak zrobić skrypt Loop, żeby wykonywał się co sekundę przez określoną w skrypcie ilość razy?

    2020-04-28 14:09 Lua OTClient OTS

    W językach skryptowych nie ma znanego z innych języków polecenia 'sleep', żeby poczekać np. sekundę to zatrzymało by działanie całego serwera gry. W takich językach najczęściej dostępne są funkcje do...

    Read more →
    ← Newer Page 2 of 9 Older →

    © 2026 Gesior's blog • Generated in 4.8 ms