• 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 isInArray problem ! (Example: dwarf name, tortoise)

    I copied and pasted from another task of mine wrong. Thank you
  2. darkmu

    Lua isInArray problem ! (Example: dwarf name, tortoise)

    This is my table: TFS 1.X [120] = { killsRequired = 210, raceName = "Tortoises", creatures = {"tortoise, thornback tortoise"}, rewards = { {type = "experience", value = 15750}, {type = "money", value = 6500}, {type...
  3. darkmu

    OTClient sell all when disconnect (bugl)

    TFS 1.X Can anyone help with this solution? The player is going to the NPC (hi, trade) and disconnecting wifi and connecting very fast this makes him able to infinitely buy/sell all items using "sell all". local keywordHandler = KeywordHandler:new() local npcHandler =...
  4. darkmu

    Lua addevent debbug

    LuaEnvironment::executeTimerEvent it = {<No data fields>} and in addevent, precisely because creatures I think are passing null for all left the room and I think addEvent cannot pass a null parameter
  5. darkmu

    Lua addevent debbug

    What is happening is that if they pull the switch and people leave the waiting room it just crashes the server, does anyone know a solution for this? local t = { Position(299, 219, 10), -- Alavanca } local function backLever() local tile = t[1]:getTile() local alavanca =...
  6. darkmu

    [10.98 - 13.x] Leo9393's Public Maps?

    Amaziing !! I'm going to use it on my server and make small adaptations, thank you very much for sharing
  7. darkmu

    Lua manipulating os.time()

    I'm trying to make a system that he will be signaling the time for the next opening of the castle, could someone help me with this solution? TFS 1.X local warCastle = { ['Sunday'] = { timeOpen = '22:00' }, ['Tuesday'] = { timeOpen = '22:00' }, ['Friday'] = { timeOpen = '22:00' }, }...
  8. darkmu

    Lua bad argument #1 to 'pairs' (table expected, got number)

    I'm using the same script on windows (test server) and on my server (linux), but when I kill the dungeon monsters on the linux server, it keeps giving this error, does anyone know how to solve it? Lua Script Error: [CreatureScript Interface]...
  9. darkmu

    Lua how to access the table array?

    I want to try to access the table according to the name of the monster it will respawn in a certain area. config = { [{'demon, demon skeleton'}] = { fromPositionArea = Position(1001, 780, 7), -- fromPosition toPositionArea = Position(1097, 871, 7), -- toPosition }...
  10. darkmu

    [HELP] Task System TFS 1.3x

    I think you're wrong, there is no system like this, but similar, you came to test everything inside the server what does this task system do? automatic task delivery, get task by talkaction, trigger message when complete task and do a lot of things, all that I did and I had the idea or the...
  11. darkmu

    [HELP] Task System TFS 1.3x

    that's task system is mine xD, veteran is the name monster on my ot rsrsrs, but I wish luck in someone to make it available, it's not complex, but it's a lot of work
  12. darkmu

    Lua string manipulating

    I think I expressed myself wrong. What I would like is to get the description of the item, but only the part written "Cavalinho", and the name "Cavalinho" is dynamic, that is, depending on the mount, the name in the description would change and I would have to get only the name .
  13. darkmu

    Lua string manipulating

    Would you like to know how I make a function get my mount's name from an item description? TFS 1.X Mount: Cavalinho by [ADM] Veteranos but this name "Cavalinho" is dynamic or it can change always, is there a possibility? I would only need to return the name "Cavalinho"
  14. darkmu

    Lua kill boss points duplicate

    FOR TFS 1.X What is happening and that sometimes when the boss is killed by a lot of people, he is sending several boss points, where did I go wrong? -- ALTER TABLE `players` ADD `boss_points` INT(6) DEFAULT 0 function addPontosBoss(playerID, pontos) local resultId =...
  15. darkmu

    Lua player:addItem not accepting pagination

    I don't use OTBR, I use my own base, tfs + fixed .. only thing I use otbr and otb
  16. darkmu

    Lua player:addItem not accepting pagination

    The function to add item to the player is not respecting my backpack with pagination. TFS 1.3 instead of going to the second page of my backpack it just falls to the floor.
  17. darkmu

    Lua add loot corpse monster

    I was a little confused, is this onDropLoot function the same function as Events? In case I am not using revscripts on my server.
  18. darkmu

    Lua when the player dies he loses the condition

    but would that be the best way to do it? or there is an attribute in the condition that I can inject so that I don't miss it.
  19. darkmu

    Lua when the player dies he loses the condition

    When the players use the potion, when they die automatically they lose the condition, does anyone know how I can solve this? local critical = Condition(CONDITION_ATTRIBUTES) critical:setParameter(CONDITION_PARAM_TICKS, 30 * 60 * 1000)...
  20. darkmu

    Lua add loot corpse monster

    can someone help me as I do to put an additional item on the monster's body?
Back
Top