• 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!

Search results

  1. darkmu

    Lua add loot corpse monster

    https://otland.net/threads/tfs-1-1-extra-loot-system.230102/ I'm trying to adapt the script above so that instead of the items go to the player, in which case I would add the item to the animal's body, could you help me? local extra_loot = { {hasName = {"infernal demon", "infernal...
  2. darkmu

    Lua onThink (condition) remover

    What is happening is that it is not removing the conditions that I had in the player. It also happened that, some players started to take paralyze while in a protected zone or also when taking paralyze for a hydra bug .. your speed got to bugar and get 40 speed, can someone help me? TFS 1.3...
  3. darkmu

    Lua how to transfer Imbuement?

    I am making a system in which the player will be able to exchange the element of the bow (however, the bow is exchangeable by ID and not just the element), my problem is that in case he has imbuiment try to transfer the imbuiment to the other item. . is it possible? Could you help? TFS 1.3
  4. darkmu

    Lua outfit bonus

    Thank you very much, now I need to undo the condition when changing the addon or the looktype
  5. darkmu

    Lua outfit bonus

    function getBonusOutfit(outfit, addons) local outfitTable = conditions[outfit] if not outfitTable then return false end for k, v in ipairs(outfitTable[addons]) do local condition = Condition(CONDITION_ATTRIBUTES) for _, param in pairs(v.params) do...
  6. darkmu

    Lua outfit bonus

    Can anyone identify where I'm going wrong? Because it is not triggering the conditions as I select the example addon. TFS 1.3 conditions = { [128] = { [1] = { [1] = { condition = CONDITION_ATTRIBUTES...
  7. darkmu

    Lua [TFS 1.2] Outfit bonuses

    I'm doing some tests, I put it in the array to activate with citizen, however using the debbuger (print) this is always returning me false ... what should I be missing? Creature.lua function Creature:onChangeOutfit(outfit) if not self:isPlayer() then return true end local...
  8. darkmu

    Lua Changing the values of Knight skills

    Anybody can help me?
  9. darkmu

    Lua do not allow the same ip for the boss (MC)

    will there be a function that we can go through a table and check if there are 2 or more ip equal and return true?
  10. darkmu

    Lua do not allow the same ip for the boss (MC)

    The problem in the code is that the verification is global, in my case the verification of ips should be only among the people who will be on the floor .. checking the ip and blocking from killing the boss.
  11. darkmu

    Lua Changing the values of Knight skills

    Can someone give me a light .. I'm trying to make a system for TFS 1.3 in which the knights will be able to exchange their strongest skill for another skill. Example: I have skill 120 of sword, however I want to switch to AXE, so I will invert take the values of the AXE put in the skill of...
  12. darkmu

    how to learn blob for outfit/addon

    can you give me an example ?, i use tfs 1.3
  13. darkmu

    how to learn blob for outfit/addon

    Does anyone know how to read blob in a more simplified way, what happened was that people bought a very cheap addon on my server and would like to remove it from everyone who has that addon, but I have no idea how I can access these blob.
  14. darkmu

    Lua how remove items from corpse monster

    It worked out !! Will I be able to validate if he doesn't have a slot in the backpacks anymore, he doesn't take the items? What happens is that when the backpacks are full it starts to fall on the floor and I think this can bug you?
  15. darkmu

    Lua how remove items from corpse monster

    I'm having problems with the moveTo function, in which not only the primary backpack fills and the secondary backpacks don't fill, so I changed the function to addItem, however what happens and the items still remain in the body of the trash, as I do for remove it from the body? TFS 1.X local...
  16. darkmu

    Lua do not allow the same ip for the boss (MC)

    I would like to put a validation if someone is with MC, he does not allow TFS 1.3 local config = { requiredLevel = 250, daily = false, BossPosition = Position(423, 581, 15), centerDemonRoomPosition = Position(423, 583, 15), playerPositions = { Position(454, 581...
  17. darkmu

    Lua [TFS 1.3] Free Scripting Service 📝

    It is just an example, in case I would use it to put coins .. but it does not necessarily have to be in the bag, you can transfer it directly to the bank.
  18. darkmu

    Lua [TFS 1.3] Free Scripting Service 📝

    Create a system that captures the top 5 of the day that most experiencie and gives the rewards for each example: 1. Example 1 - 5kk experience - won 50kk crystal coin 2. Example 2 - 4kk experience - won 30kk crystal coin 3. Example 3 - 2kk experience - won 15kk crystal coin 4. Example 4 - 1kk...
  19. darkmu

    CreatureEvent [TFS 1.2] Outfit bonuses

    [Warning - Events::load] Can not load script: creature.lua data/events/scripts/creature.lua:4: '}' expected (to close '{' at line 3) near '='
  20. darkmu

    Lua how to remove array [0] from my channel

    Every time I use "sendChannelMessage" it sends me like an array together, does anyone know how I can remove? TFS 1.x local monsters = {"ferumbras mortal shell", "orshabaal", "ghazbaran", "gaz'haragoth"} function onKill(creature, monster, target) local monsterName = monster:getName()...
Back
Top