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 →
What do you need to know to start scripting in Lua? ERROR?! WHAT?! YES! In Lua else if is one word elseif. As there are no oneline ifs without end, you need to write: or: Multiline formatting is...
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 →
SQL queries to reset database to 'server start' without removing accounts, players and guilds. All players are set to level 30 with valid hp, mana and cap for their vocations.
Read more →
When you create new module, you always got problems with OTUI design. Why X element is on that position? What am I clicking? I can't solve all these problems, but my module can help you debug your UI...
Read more →
Simple PHP code to sort file items.xml by id/fromid attribute
Read more →
Lua code to generate backpack full of backpacks: Code to call it: Requires !lua debug: https://otland.net/threads/debugluascriptswithtalkaction.112027/...
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 →
restart.sh with console logs with timestamp and binary file copy (for GDB)
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 →