• 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. Alberto Cabrera

    TFS 1.X+ Fishing Rod tfs 0.4 to tfs 1.5

    Change To rateSkill = configManager.getNumber(configKeys.RATE_SKILL),
  2. Alberto Cabrera

    Lua [TFS 0.X] Boss Room - Chance Reward every 24h

    local storage = 1000 -- change this value local cooldown = 24 -- hours local effect = CONST_ME_MAGIC_BLUE local items = { { itemId = 2160, itemCount = 1, itemChance = 50 }, { itemId = 2160, itemCount = 1, itemChance = true }, -- set itemChance = true for 100% } function onUse(cid, item...
  3. Alberto Cabrera

    PhpMyAdmin issues

    https://serverfault.com/a/1076312
  4. Alberto Cabrera

    Bugged stairs

    Try changing to <item id="7925" name="stone stairs"> <attribute key="floorchange" value="eastEx"/> </item> <item id="7924" name="stone stairs"> <attribute key="floorchange" value="southEx"/> </item>
  5. Alberto Cabrera

    TFS 0.X House Rent

    Do you have set townid values to townid="1"? The house is trying to send letter to some depot with town id different to 1
  6. Alberto Cabrera

    Item that repairs boots

    Try actoins.xml <action itemid="tool-id" event="script" value="repairshoes.lua"/>
  7. Alberto Cabrera

    Item that repairs boots

    Sorry, I misunderstood, I thought you wanted to use an item on the boots. local boots = { [12671] = { newId = 6132, money = 1 } } function onUse(cid, item, fromPosition, itemEx, toPosition) local val = boots[item.itemid] if not val then return false end if...
  8. Alberto Cabrera

    Item that repairs boots

    local config = { remove = true } config.boots = { [12671] = { newId = 6132, money = 1 } } function onUse(cid, item, fromPosition, itemEx, toPosition) if isCreature(itemEx.uid) then return false end local val = config.boots[itemEx.itemid] if not val then...
  9. Alberto Cabrera

    Lua [TFS 0.X]Skill Scroll - Skill booster

    Just set the skill id and a new rate. config.boostItem = { [itemID] = { [SKILL_ID] = newRate, [SKILL_ID] = newRate } }
  10. Alberto Cabrera

    Action [TFS 1.3] Manarune with animated text ( without source edit or custom client )

    data/actions/actions.xml <action itemid="ITEMID" script="script.lua" />
  11. Alberto Cabrera

    Lua [TFS 0.X]Skill Scroll - Skill booster

    local config = { removeOnUse = true, time = 1, -- minutes storage = 26 } config.boostItem = { [itemID] = { [SKILL__LEVEL] = 5, [SKILL_AXE] = 10, [SKILL_SWORD] = 50 } } function onUse(cid, item, fromPosition, itemEx, toPosition) local val =...
  12. Alberto Cabrera

    TFS 0.X [LUA]Boss Room

    It should work. Did you replace it? local config = { questLevel = 100, minPlayers = 4, playerPositions = { { start = { x = 1893, y = 447, z = 11 }, destination = { x = 1801, y = 472, z = 9 } }, { start = { x = 1894, y = 447, z = 11 }, destination = { x = 1802, y =...
  13. Alberto Cabrera

    TFS 0.X [LUA]Boss Room

    function onUse(cid, item, frompos, item2, topos) if item.uid == 9102 then local config = { questLevel = 100, playerPositions = { {start = {x=1893, y=447, z=11}, destination = {x=1801, y=472, z=9}}, {start = {x=1894, y=447...
  14. Alberto Cabrera

    [TFS 1.4] Boosted Creatures

    Adding the list of items (line 15, for example: { { ITEMID, COUNT, CHANCE } }) or delete/comment from line 42 to 44
  15. Alberto Cabrera

    talkaction mana train tfs 0.4

    Try this local players = {} local eat = {} local foods = { {8, "Crunch.", 2362}, {15, "Munch.", 2666}, {12, "Munch.", 2667}, {10, "Mmmm.", 2668}, {17, "Munch.", 2669}, {4, "Gulp.", 2670}, {30, "Chomp.", 2671}, {60, "Chomp.", 2672}, {5, "Yum.", 2673}, {6...
  16. Alberto Cabrera

    Lua [TFS 0.3.7] Item that completely fills mana and life

    local config = { remove = true, -- If you want to disable cooldown, simply set a number less than 1 cooldown = { time = 60, -- seconds storage = 000 }, effect = CONST_ME_STUN } function onUse(cid, item, fromPos, itemEx, toPos) if config.cooldown.time >= 1 then...
  17. Alberto Cabrera

    Lua attempt to call method 'sendCancelMessage'

    Maybe you don't have this function in your lib. sendCancelMessage
  18. Alberto Cabrera

    Items are not stacked [OTX] 2.15

    I don't use OTX anymore.
  19. Alberto Cabrera

    TFS 1.X+ blessing script error - C++ exception

    In this part, it is necessary to return (either false or true), to end the execution of the script, because it is verifying if the player has a blessing, and if the player has a blessing, it is not necessary for the script to continue. It is not necessary to do this verification twice...
Back
Top