[OTS] Check monsters spawn time in spawn.xml
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 →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 →What PHP functions fileexists, isfile, isdir and islink return for file, directory, hard link and soft link? Result:
Read more →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 →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 →I made this tutorial on clean machine just after installing Windows 10 Pro (64bit) on 20200216. Installing everything took around 1 hour. In this tutorial we will use Visual Studio 2019, not 2017...
Read more →Command to change PHP version in system and Apache2 with multiple PHP versions installed (from https://launchpad.net/ondrej/+archive/ubuntu/php )
Read more →Simple PHP code to sort file items.xml by id/fromid attribute
Read more →Simple reader for uncompressed TibiaCam files (binary files, up to 60MB). It's also example of fast reading binary data from file and handling it as stream.
Read more →Apache .htaccess (redirect all requests to not existing files/directories to index.php): PHP router file. Check if route is on list of available routes and include file by name of route. Some parts...
Read more →