• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Recent content by Gesior.pl

  1. Gesior.pl

    Linux How to build NGINX from source - and optimize it for security and performance. Including TLS.

    There is one more problem related to this and solution for problem '3'. Even if you use other IPv4 for CloudFlare - other than OTS IP for otservlist - someone can still 'find out' your www server real IP just by sending HTTP request to load site xxx.com to all IPv4 addresses - probably only your...
  2. Gesior.pl

    Windows Linux Running on Windows

    Little update on this. I had problem with compilation of OTClient on Windows, so I made it compile and run on Linux using docker and display client on Windows. I've tested it with old version of edubart OTC ( GitHub - gesior/otclient_mapgen: Open Tibia map images generator [for LeafletJS]. Loads...
  3. Gesior.pl

    Linux How to build NGINX from source - and optimize it for security and performance. Including TLS.

    I see it's nginx tutorial, but you mentioned CloudFlare and there are 3 important things to configure, when you use CloudFlare on OTS website: 1. Configure firewall (ex. by using iptables) to block access to server HTTP/HTTPS from other IPs than CloudFlare server IPs. Run this is linux terminal...
  4. Gesior.pl

    C++ light on floor

    Looks like AI hallucination. Code above for sure will not work, as 'programmer' thought that OTCv8 and TFS 1.5 are parts of same code and share C++ variables. There is nothing to change on server side. All items (from floor above = ground level) and items information from Tibia.dat are already...
  5. Gesior.pl

    C++ Black Tek Server auras/wings

    Looks like linker does not know that it has to link new files (auras, shaders and wings). Only line that does anything with .cpp/.h files I've found is: https://github.com/Black-Tek/BlackTek-Server/blob/master/premake5.lua#L16 files { "src/**.cpp", "src/**.h" } IDK how Black Tek compilation...
  6. Gesior.pl

    TFS 0.X -=[TFS]=- 0.3.6 8.60 The monster appears on the player's

    It was fix for 0.4. On 0.3.6 doCreateMonster looks like this ( forgottenserver036pl1/src/luascript.cpp at master · peonso/forgottenserver036pl1 (https://github.com/peonso/forgottenserver036pl1/blob/master/src/luascript.cpp#L4620) ): doCreateMonster(name, pos[, displayError = true]) so there is...
  7. Gesior.pl

    Lua [TFS 1.6] Converting NPC's (Jiddos system) into new NPC System (Evil Heros system)

    How about some callbacks? Ex. shop2:addDiscount(9998) as callback: returning float with price multiplier, not discount, so 10% discount is 0.9 of price (storage set to 90 = 90% of price) make it able to apply multiple callbacks one after another make it able to increase price, not only decrease...
  8. Gesior.pl

    OTClient Shaders/GM outline in OTClient

    There are 3 popular OTClient versions: otclient by edubart ( GitHub - edubart/otclient: An alternative tibia client for otserv written in C++11 and Lua, made with a modular system that uses lua scripts for ingame interface and functionality, making otclient flexible and easy to customize...
  9. Gesior.pl

    RevScripts [TALKACTION] - Check cavebot players.

    3) Setting offset to 10000 between storage ranges (10000, 20000 and 30000) will make this script fail, if there are more than 10k players in database: player:setStorageValue(target:getGuid() + 30000, randomQuestion) -- storing question index player:setStorageValue(target:getGuid() +...
  10. Gesior.pl

    Error when exiting the query

    There are 2 solutions: 1. Start using MySQL database, not SQLite. 2. Find that query in data/src and remove LIMIT 1. It's useless in this query. WHERE "id = 2 already limits number of rows to modify to 1.
  11. Gesior.pl

    RevScripts Modal window using aid?

    Monsters spawns (60s on repeat) Players clears first floor, now the monsters are changed out to harder monsters Respawn killed monsters every 60 second = players have to kill them all within 60 second. That's what you want? Or spawn monsters, wait until players kill all and spawn next stronger...
  12. Gesior.pl

    RevScripts Modal window using aid?

    Replace id with aid. Replace this line: modal:id(itemID) with: modal:aid(1234)
  13. Gesior.pl

    The most updated TFS 1.5?

    Some 1.2 compiler bugs (ex. connection.cpp) are already described in 'old engines' tutorial: https://otland.net/threads/c-linux-compiling-old-engine-sources-on-debian-10-ubuntu-20-04.274654/ Nekiro 1.5 for 8.0 compiles with Ubuntu 20.04 tutorial I've posted above. IDK how 'brunowar' is...
  14. Gesior.pl

    TFS A* Algorithm :D

    A bit off topic, but maybe someone needs it to add stats to his server: Yesterday I reset my Docker cache (alpine:3.15.0 with all libraries installed) and I could not compile TFS 1.4 with OTS Stats using Docker anymore. So I've made TFS 1.4 with OTS Stats and some 1.5 changes to make it...
  15. Gesior.pl

    The most updated TFS 1.5?

    I've downloaded 8.6 version from Nekiro: https://github.com/nekiro/TFS-1.5-Downgrades/tree/8.60 and compiled it on Ubuntu 20.04 using: apt-get update apt-get -y install git cmake build-essential libluajit-5.1-dev libmysqlclient-dev libboost-system-dev libboost-iostreams-dev...
Back
Top