• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Search results

  1. Mkalo

    Programmer Paid 80USD - [Debugging gdb] Crash log

    No, it's not enough.
  2. Mkalo

    Compiling the selected file is not a valid solution

    Most likely you're opening the wrong file. You should be opening theforgottenserver.sln.
  3. Mkalo

    Programmer Paid 80USD - [Debugging gdb] Crash log

    You should get the backtrace for all threads, this tells nothing about the crash. thread apply all bt full
  4. Mkalo

    We need a conclusion about the virus notification in IP Changer

    DrWeb, McAfee, McAfee-GW-Edition and fucking Zillya. And the better anti viruses didn't catch it... damn son those must be badass.
  5. Mkalo

    Things you may not know.

    This script is just to show a neat usage of closures and debug.getinfo. This script is useless, just going to print stuff.
  6. Mkalo

    [TFS 1.2/1.3] Free scripting service

    I want a function to scan for items in the database and the server. It should work like this: If player is online: Search for the item (by id) in his depots / inbox / house and inventory. It should return a table with all the items found. If player is offline: Search for the item (by id) in his...
  7. Mkalo

    Npc Dont Talk Back Npchandler please help+++

    Your npcsystem is trying to call "getDistanceTo" function and it didn't find it. Most likely you miss that line in your npc.lua lib file: https://github.com/peonso/forgottenserver036pl1/blob/master/data/npc/lib/npc.lua#L153 Or you miss the entire file.
  8. Mkalo

    Adding Chinese characters to tibia

    Use OTClient
  9. Mkalo

    Compiling How edit this part of c++ code player.cpp? need keep pk whitout pz or when log out.

    You need a new field to store the skull that the player have in the db and remove it upon death.
  10. Mkalo

    Very important - Rules change on otservlist.org

    Nope you're wrong, the iptables command will drop connections if there is 4 active ones already. Otservlist cant check players IP so you need to edit the code in protocolstatus to not send those players. He said he wont provide the code for this in otland discord.
  11. Mkalo

    Compiling First time compiling and tfs.exe file just flash up and exit what is wrong?

    Go in the the directory, up in the nav bar type cmd and then run "theforgottenserver.exe", as I said you're probably running the executable in the cmd from a different directory.
  12. Mkalo

    Compiling First time compiling and tfs.exe file just flash up and exit what is wrong?

    You have to navigate to the directory that tfs.exe is located. Use "cd".
  13. Mkalo

    Help to finish: Convert Znote Referral 1.1 to 0.4

    Change: local accountId = cid:getAccountId() To: local accountId = getPlayerAccountId(cid)
  14. Mkalo

    Kill Death Script question

    function onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified) if lasthitkiller and lasthitkiller:isPlayer() and creature:getLevel() >= 200 then creature:setStorageValue(167913, math.max(0, creature:getStorageValue(167913)) + 1) end...
  15. Mkalo

    Programmer Random Item Stats TFS 1.0 - Requires fix

    I can fix it for ya. You can msg me in discord if you like user: Mkalo#9123.
  16. Mkalo

    Compiling Unfair Fight 8.60 0.4

    setStorage(665, boost::lexical_cast<std::string>(static_cast<int>(unfairFightReduction))); The ; in the end.
  17. Mkalo

    Compiling Unfair Fight 8.60 0.4

    "You have to include "#include <boost/lexical_cast.hpp>" in player.cpp"
  18. Mkalo

    Compiling Unfair Fight 8.60 0.4

    If you want to be able to send the amount that was reduced you need to set the storage to X value not 1. You should add what I sent you (change 1234 to 665) and the script should look like this: if getPlayerStorageValue(cid, 665) > 0 then doPlayerSendTextMessage(cid, 1, "You died in an...
  19. Mkalo

    Compiling Unfair Fight 8.60 0.4

    std::ostringstream os; os << static_cast<int>(unfairFightReduction); setStorage(1234, os.str()); You might need to include "#include <sstream>" in player.cpp Or you could use boost::lexical_cast: setStorage(1234...
Back
Top