• 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

    Compiling Can't compile or run web server! Help!

    You need to place that in lockfree.h: https://github.com/otland/forgottenserver/blob/master/src/lockfree.h#L23-L25
  2. Mkalo

    Compiling Can't compile or run web server! Help!

    1) Tfs SDK folder has to be in a directory folder without spaces in its path 2) Boost has to be in a directory folder without spaces in its path 3) Open cmd as Administrator and use cd to the execute the .bat files to register stuff.
  3. Mkalo

    Compiling Can't compile or run web server! Help!

    If you download TeamViewer 12 I can try to help you. Just send me ID and password on PM.
  4. Mkalo

    Lua how make teleport change position?

    You made it wrong when modifing the script, I can't help you if you don't post your modified version.
  5. Mkalo

    Lua how make teleport change position?

    local tpPosition = {x = 100, y = 100, z = 7} local validPositions = {{x = 200, y = 200, z = 7}, {x = 300, y = 300, z = 7}} function onThink(interval, lastExecution, thinkInterval) local oldTeleport = getTileItemByType(tpPosition, ITEM_TYPE_TELEPORT) if oldTeleport.uid == 0 then...
  6. Mkalo

    Linux [bug] Market Sistem Tfs 1.3

    Check https://github.com/otland/forgottenserver/pull/2143/files for the market changes to make it possible to sell tibia coins in the market.
  7. Mkalo

    Lua how make teleport change position?

    local currentPosition = {x = 100, y = 100, z = 7} local validPositions = {currentPosition, {x = 200, y = 200, z = 7}} local destination = {x = 300, y = 300, z = 7} function onThink(interval, lastExecution, thinkInterval) local oldTeleport = getTileItemByType(currentPosition...
  8. Mkalo

    Lua how make teleport change position?

    You can use a globalevent and use a table with positions and an initial position then you just use getTileItemByType(pos, ITEM_TYPE_TELEPORT) remove that old tp and create a new one in a new random position using doCreateTeleport(itemid, toPosition, fromPosition)
  9. Mkalo

    Lua MostDamageKiller

    It will probably run for this guy that deal 80% of the damage too. You can use the onDeath event if you don't wanna care about that as you have: onDeath(creature, corpse, lasthitkiller, mostdamagekiller, lasthitunjustified, mostdamageunjustified)
  10. Mkalo

    Lua MostDamageKiller

    In TFS 1.x, there is no "mostDamageKiller" paramater in this event: onKill(creature, target) What you can do is use creature:getDamageMap() and check if the most damage was from the player that you are currently running.
  11. Mkalo

    Our letter of resignation

    この世界には愚かさは不十分です that is a nice anime m8.
  12. Mkalo

    Wannabe Scripter Looking for advice.

    Still you wont know the parameters of the functions, thats basically useless by itself for a beginner.
  13. Mkalo

    Lua Convert Script TFS 1.2 for TFS 0.4

    Looks like the code you posted is a google translation of another code? Can you post the original code?
  14. Mkalo

    Lua Convert Script TFS 1.2 for TFS 0.4

    This is an english forum, so use english when posting. https://otland.net/threads/rules-for-the-support-board.217087/ 4. Foreign Language: - Only English is allowed here. If you want to post in a different language use this forum. - Accompanying a foreign language post with an English...
  15. Mkalo

    Wannabe Scripter Looking for advice.

    Well you can get any Lua IDE out there to check for syntax errors in your code. I use SciTE from http://luaforge.net/projects/luaforwindows/ If you are talking about scripting for 1.x you can find all the functions available here...
  16. Mkalo

    TFS 1.1 Boss loot like real tibia

    Nope.
  17. Mkalo

    TFS 1.1 Boss loot like real tibia

    https://github.com/otland/forgottenserver/pull/1641
  18. Mkalo

    Solved tfs 1.0 setAttribute ITEM_ATTRIBUTE_ATK not working

    The reason is there is no ITEM_ATTRIBUTE_ATTACK or ATK in tfs 1.0, your only choice is to use something newer or change the source to add this attribute. https://github.com/otland/forgottenserver/blob/1.0/src/luascript.cpp#L1500-L1513
  19. Mkalo

    Solved tfs 1.0 setAttribute ITEM_ATTRIBUTE_ATK not working

    Post getAttackValue function and which "old version" did you switch for?
  20. Mkalo

    Multiple |STATE| in questlog

    There is no way of doing that with the current questlog, you can do that if you use this: https://github.com/otland/forgottenserver/pull/1973
Back
Top