• 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

    Lua [TFS 1.x][Spell] Display distance effect on every spell field

    Try this: local combat = Combat() combat:setParameter(COMBAT_PARAM_TYPE, COMBAT_PHYSICALDAMAGE) combat:setParameter(COMBAT_PARAM_EFFECT, CONST_ME_HITAREA) AREA_WAVEBOLT = { {1,1,1, 1, 1, 1, 1, 1, 1}, {0,1,1, 1, 1, 1, 1, 1, 0}, {0,0,1, 1, 1, 1, 1, 0, 0}, {0,0,0, 1, 1, 1, 0, 0, 0}, {0,0,0, 0, 2...
  2. Mkalo

    Action Advanced Monster Arena TFS 1.2

    You did not install the lib in the post. Its the first link in the post, you would see it if you read it.
  3. Mkalo

    Monster transforms after some time

    You are not realy doing like I said, you shouldn't need any aditional spell for this. Only the "onCreatureAppear" in the summon should do it, as you want the summon to transform after some time not at random time when some spell is casted. Never use userdata in functions for addEvent, they are...
  4. Mkalo

    Monster transforms after some time

    You should modify the summon monster add an onCreatureAppear event and check if it is a summon and it's master is that other monster. If yes then use an addEvent to transform it to another creature (basically removing the summon and adding a new one in the same position with the same HP if you...
  5. Mkalo

    Otland Abuse

    That is because he was banned.
  6. Mkalo

    Lua set vocation not working as intended

    player:setVocation(Vocation(2))
  7. Mkalo

    Action Advanced Monster Arena TFS 1.2

    I'm pretty sure you can do a kick function easily using Arena:setStartCallback.
  8. Mkalo

    Action Advanced Monster Arena TFS 1.2

    It's Wave({}) not wave({}).
  9. Mkalo

    Action Advanced Monster Arena TFS 1.2

    It is all documented: Arena(name, position/center, exitposition, radius[, rewardposition]): This should be used outside the action script!!! DO NOT USE IT INSIDE ONUSE FFS. Exitposition is only used in case someone is inside and the arena is not started (like from some crash or something). You...
  10. Mkalo

    Lua KILL DEATH SAME IP

    if creature:isPlayer() and target:isPlayer() and creature:getIp() == target:getIp() then return true end Same thing for the onDeath just change target to lasthitkiller.
  11. Mkalo

    Action Advanced Monster Arena TFS 1.2

    local config = { levers = {1945, 1946}, }
  12. Mkalo

    Solved interrupt swing delay

    If you wanna sd and actions to interrupt attacks you use false.
  13. Mkalo

    Solved interrupt swing delay

    https://github.com/otland/forgottenserver/pull/2109 Use classic attack speed to not interrupt the attack when doing actions.
  14. Mkalo

    [TFS/C++] Change how instant spells are cast

    Kinda hard to change the engine if you don't even specify which are you using right? https://otland.net/threads/read-before-creating-a-support-thread.18402/ #5. Post the server (and version) you are using; knowing the server beforehand will help people support you faster in case the server you...
  15. Mkalo

    Action Advanced Monster Arena TFS 1.2

    Read the functions definition and you will see: Arena:useLever(player) Use this to start the arena, it will start and return true if it meets the requirements otherwise it will return false (Its useLever but you can use for talkaction or whatever you want) I know it is a bad name, I was going...
  16. Mkalo

    Lua Add one function to custom arena script

    Well you forgot to remove the "print" calls.
  17. Mkalo

    Lua Add one function to custom arena script

    Register an onPrepareDeath event on the player that is getting teleported inside then if it ever gets triggered check if the player is inside the arena if he is you teleport him to where you wanna and add his HP back.
  18. Mkalo

    some errors in console tfs 1.2

    block summon on line 16: for i = 1, #player_summon do And remove that do in line 17. arrow rain: delete lines 79 - 82 arena dorr: You are missing this in your Storage table: https://github.com/orts/server/blob/master/data/lib/miscellaneous/051-storages.lua#L698-L718
  19. Mkalo

    Windows Anybody knows how to make a global bank system?

    https://otland.net/threads/npc-working-with-balance.245690/
  20. Mkalo

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

    Well you could read the error, it says the reason. I found it because I knew about it already but you would find if you searched for _ENABLE_ATOMIC_ALIGNMENT_FIX.
Back
Top