• 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. lokolokio

    I Need One NPC Relive

    Just like a normal boat NPC, but just send you to your last death position? or do other things?
  2. lokolokio

    check cap in player

    I think that he is trying to tell you that: local item = ItemType(2494) --Demon Armor local weight = item:getWeight() if player:getFreeCapacity() < weight then player:sendCancelMessage('You have no capacity.') else player:sendCancelMessage('You have capacity.') end
  3. lokolokio

    Field makes element hit forever

    Maybe you need to manage the poison field effect by lua, and not by default. Also I dont know if this work for it, but if you try to manage the condition with subid's? local condition = createConditionObject(CONDITION_POISON, CONDITIONID_DEFAULT) setConditionParam(condition...
  4. lokolokio

    Lua If under level, put level skills remains

    I think you can use next, and remember to put it on login function. Go to "data/creaturescripts/creaturescripts.xml" and add this line inside: <event type="login" name="expSkill" script="checkExpSkill.lua"/> now in folder "data/creaturescripts/scripts" create a file called: "checkExpSkill.lua"...
  5. lokolokio

    Really need help with this one

    Try this one, (I don't have a TFS0.3.4, so I don't know if it really works or not). function onStatsChange(cid, attacker, type, combat, value) local chance = 25 if combat == COMBAT_HEALING then return true end if not isPlayer(cid) then return true end if...
  6. lokolokio

    TalkAction Bank System via Talkaction (TFS 1.2)

    The problem is in this function: function Player.deposit(self, amount) if not self:removeMoney(amount) then self:sendTextMessage(MESSAGE_EVENT_ADVANCE, "[BankSystem]: You dont have money with you.") -- Fixed, (before) player, now (self) return false end...
  7. lokolokio

    Lua Script Error: [Main Interface]

    I think about that function where called by addEvent (Line 2404), I think that you prevent that problem by adding this line between 2050 and 2051: if it_u == nil then return false end The line 2051 will be pushed to line 2052. Hope this solve your trouble.
  8. lokolokio

    Lua Script Error: [Main Interface]

    On your script have a mistake with the var it_u, you need to post your script to give us more chance to help you. script is: "data/creaturescripts/scripts/randomstats.lua"
  9. lokolokio

    Rememapeditor 11or 10.98

    You can download it from here. RME Versions: https://github.com/hjnilsson/rme/releases https://github.com/hjnilsson/rme/releases/download/v3.5/RME_Winx64_3_5.exe
  10. lokolokio

    TFS 1.X+ never get money at !food or !bless

    Try this... function onSay(player, words, param) if player:removeMoney(2000) == true then if player:addItem(2789, 100) == true then return true end else player:sendCancelMessage('You don\'t have enough money for food, poor!!.')...
  11. lokolokio

    TFS 1.2 Trainer stamina regen.

    Take a look here: https://otland.net/threads/tfs-1-2-trainer-stamina-regen.250746/#post-2434039
  12. lokolokio

    Lua Battlefield Event [latest TFS]

    Ok, I will try...
  13. lokolokio

    TFS 0.X animated dead revive the corpse, not create only a skeleton

    I just take the function: doTargetCorpse... local function doTargetCorpse(cid, position) position.stackpos = 255 local corpse = getThingFromPos(position) if(corpse.uid > 0 and isCorpse(corpse.uid) and isMoveable(corpse.uid) and getCreatureSkullType(cid) ~= SKULL_BLACK) then...
  14. lokolokio

    TFS 1.X+ transform item

    And why don't you edit your items.xml and avoid having to make scripts that return them to their original state? <item id="36309" article="a" name="First Item" /> <item id="36310" article="a" name="Second Item" /> <attribute key="showduration" value="0" /> <attribute...
  15. lokolokio

    Update this script system to TFS 1.3

    First of all, why not create a file on 'data/lib/' called: 'gemLib.lua'. (data/lib/gemLib.lua) gems = { id = {2156, 2155, 2158, 2154, 2156, 2155, 2158, 2154}, storage = {5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008}, interval = {750, 750, 750, 750, 750, 750, 750, 750}, -- Intervalo dos...
  16. lokolokio

    Update this script system to TFS 1.3

    Maybe you need to add the gems list to the logingem.lua, something like this: gems = { id = {2156, 2155, 2158, 2154, 2156, 2155, 2158, 2154}, storage = {5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008}, interval = {750, 750, 750, 750, 750, 750, 750, 750}, -- Intervalo dos efeitos } function...
  17. lokolokio

    TFS 1.X+ monster spell

    Hello, hope this work for you, check it... function checkAreaForItem(pos, range, item) local from = {x=pos.x-range, y=pos.y-range, z=pos.z} local to = {x=pos.x+range, y=pos.y+range, z=pos.z} for z = from.z, to.z do for y = from.y, to.y do for x = from.x, to.x do...
  18. lokolokio

    Lua Conditions in 1.x

    try this: local conditionRegeneration = Condition(CONDITION_REGENERATION, CONDITIONID_DEFAULT) conditionRegeneration:setParameter(CONDITION_PARAM_SUBID, 101) conditionRegeneration:setParameter(CONDITION_PARAM_TICKS, 1 * 60 * 1000) -- Means a minute...
  19. lokolokio

    Update this script system to TFS 1.3

    Hope this work for you... gems = { id = {2156, 2155, 2158, 2154, 2156, 2155, 2158, 2154}, storage = {5001, 5002, 5003, 5004, 5005, 5006, 5007, 5008}, interval = {750, 750, 750, 750, 750, 750, 750, 750}, -- Intervalo dos efeitos } gemMsg = { rnd = {"´ . ,", ". ´ ,", "` . ,", ", `...
  20. lokolokio

    Tibia Sprite 8.6?

    ottools/ObjectBuilder (https://github.com/ottools/ObjectBuilder/releases) -- Object Builder, to create your sprites for any tibia version. [Utilidad] Ot Item Editor (10.98) (https://www.tibiaface.com/t2495-utilidad-ot-item-editor-10-98) -- Item Editor, to import you sprites to your items.otb...
Back
Top