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

    NPC task again every 3 days

    u added storages in data\lib\miscellaneous\storages.lua?
  2. Lay

    NPC task again every 3 days

    @Edit try this: -- Monster Tasks by Limos local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local xmsg = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  3. Lay

    Windows Mc On Custum Client

    Mc Multiclient (hex) 7.4 at 10.x
  4. Lay

    NPC task again every 3 days

    change this: ["Ironblights"] = {storage = 5035, mstorage = 19025, amount = 500, exp = 10000000, items = {{id = 2160, count = 10}, {id = 6527, count = 500}}}, ["Hellfire Fighters"] = {storage = 5036, mstorage = 19026, amount = 1500, exp = 10000000, items = {{id = 2160, count = 10}, {id = 6527...
  5. Lay

    NPC task again every 3 days

    NOT tested. -- Monster Tasks by Limos local keywordHandler = KeywordHandler:new() local npcHandler = NpcHandler:new(keywordHandler) NpcSystem.parseParameters(npcHandler) local xmsg = {} function onCreatureAppear(cid) npcHandler:onCreatureAppear(cid) end function onCreatureDisappear(cid)...
  6. Lay

    NPC task again every 3 days

    add all like Aled wrote: local exhoustionStorage = 62004 -- if not used player:setStorageValue(exhoustionStorage, os.time() + 3 * 24 * 60 * 60) if player:getStorageValue(monsters[cmsg].storage) == -1 and player:getStorageValue(exhoustionStorage) > os.time() then...
  7. Lay

    Lua Teleport scroll tfs 1.2

    if not player:getCondition(CONDITION_INFIGHT, CONDITIONID_DEFAULT) then
  8. Lay

    On Trade Accept Create Log.txt

    I made some changes: function Player:onTradeAccept(target, item, targetItem) file = io.open('data/logs/trade.log',"a") file:write(""..os.date("%c")..": "..self:getName().." traded:") if item:isContainer() then local pitems = searchContainer(item) for i = 1, #pitems do...
  9. Lay

    Regen stamina while train online.

    Board Rules for Requests! Search function doesn't bite: Request from second page
  10. Lay

    Is this possible?

    try full script player.lua: local blockTeleportTrashing = false -- players cannot throw items on teleports if set to true function Player:onBrowseField(position) return true end function Player:onLook(thing, position, distance) local description = 'You see ' if thing:isItem()...
  11. Lay

    Is this possible?

    function Player:onLook(thing, position, distance) local description = 'You see ' if thing:isItem() then if thing.actionid == 5640 then description = description .. 'a honeyflower patch.' elseif thing.actionid == 5641 then description = description...
  12. Lay

    Citizen Bridge

    Of course you can use your own actionId's local config = { -- bridgeActionID | townID | kickPosition [0001] = {tid = 1, position = Position(1001, 1001, 7)}, [0002] = {tid = 2, position = Position(1002, 1002, 7)}, [0003] = {tid = 2, position = Position(1003, 1003, 7)}, [0004] =...
  13. Lay

    Is this possible?

    Any error? paste here urs script.
  14. Lay

    Is this possible?

    tfs 1.2+: function onSay(player, words, param) local housePrice = configManager.getNumber(configKeys.HOUSE_PRICE) if housePrice == -1 then return true end if not player:isPremium() then player:sendCancelMessage("You need a premium account.") return false...
  15. Lay

    Every time a kill a monster this happens

    @Xeraphus solves the problem, but then when you kill just 1boss, teleport will be appear, try this: local bosses = { ['golgordan'] = 555, ['latrivan'] = 555 } local teleportPos = Position(1152, 1259, 5) -- position where tp will be created /to edit local teleportDestination =...
  16. Lay

    Lua Force damage with immunity

    Rules for the Support board!
  17. Lay

    Every time a kill a monster this happens

    Delete one by one this all teleport scripts and check after which problem will not appear, cuz this script with: hellgorak works for me fine.
  18. Lay

    Every time a kill a monster this happens

    Rly i don't know what u want? Monster died so script send msg and create tp for 60 sec. Works "like" in rl tibia. If u use that monster not like inq boss just remove all. @edit: You mean: when u kill any monster this msg shows? You need to be more specific.
  19. Lay

    Kill monster teleport not working

    registerCreatureEvent("CreateTeleport") ? or player:registerEvent("CreateTeleport") ?
  20. Lay

    You need to kill 2 monsters to create teleport

    try this: local bosses = { ['YourBossName1'] = 555, ['YourBossName2'] = 555 } local teleportPos = Position(1024, 1024, 7) -- position where tp will be created /to edit local teleportDestination = Position(1024, 1026, 7) -- teleport destination /to edit local teleportRemoveTime = 1 * 60...
Back
Top