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

    Gooey Mass ITEM

    what about this? local rand = math.random(1, sumOfRate[itemid]) what do you mean it doesn't work? what happens?
  2. Aled

    Gooey Mass ITEM

    Looking at the script, I think if you put local config = { -- surprise bag red [6571] = { { rate = 70, item = 6576, count = { const = 1 }}, --fireworks rocket { rate = 25, item = 2195, count = { const = 1 }}, --boots of haste { rate = 5, item = 2498, count = {...
  3. Aled

    Gooey Mass ITEM

    That's not the problem, the problem is: I don't know what distro your using I don't know what the script does I don't know what the script doesn't do I don't know what the script is supposed to do and not do You don't even have a script, just some random lines of code and a vague description of...
  4. Aled

    Gooey Mass ITEM

    Regarding requests - read this before posting! Rules for the Support board
  5. Aled

    Lua Clones Dungeon [Quest]

    Change for k, v in pairs(Belero) do setGlobalStorageValue(k, v[1]) globalExhaust.set(c.Storage, c.Tiempo * 24 * 60 * 60) addEvent(setGlobalStorageValue, c.Tiempo * 24 * 60 * 60 * 1000, k, -1) end To for k, v in pairs(Belero) do...
  6. Aled

    On Trade Accept Create Log.txt

    Awesome guys thanks for the insight, added to the 'best answer' post for everyone else's benefit
  7. Aled

    On Trade Accept Create Log.txt

    Sorry, there was still more to do, updated again :P
  8. Aled

    outfit request

    local outfit = { lookType = 132 lookTypeEx = 0 lookHead = 20 lookBody = 39 lookLegs = 45 lookFeet = 7 lookAddons = 0 lookMount = 0 } local storage = 1500 function onUse(player, item, fromPosition, target, toPosition, isHotkey) if getPlayerStorageValue(player, storage) ~= 1 then local...
  9. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    I find that hard to believe function onUse(player, item, fromPosition, target, toPosition, isHotkey) local ringItem = player:getSlotItem(CONST_SLOT_RING) if item == ringItem then player:getPosition():sendMagicEffect(CONST_ME_HEARTS) return true else return...
  10. Aled

    [TFS 0.4] 2x SPELL REQUEST

    function onCastSpell(creature, variant) local target = getCreatureTarget(player) doTeleportThing(target, getCreaturePosition(creature)) return true end function onCastSpell(creature, variant) local toPos = getCreaturePosition(creature) addEvent(function()...
  11. Aled

    Spell Effect each 2s

    seems GarQet missed some small details, here: function onCastSpell(cid, var) local timer = 1 -- every 1 second will be special effect, you can set to 2 or smth local times = 8 -- how long this spell exist (in seconds) setPlayerStorageValue(cid, 99, 1) for i = 1,times,timer do...
  12. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    That's because it should be getPosition() not getposition()Yeesh, thats what I get for copying other peoples code, fixed
  13. Aled

    Adding Roaming Monsters

    does this function solve your problems? registerCreatureEvent(uid, eventName)
  14. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    ok, do this instead function onUse(player, item, fromPosition, target, toPosition, isHotkey) local ringItem = player:getSlotItem(CONST_SLOT_RING) if item == ringItem then player:getPosition():sendMagicEffect(CONST_ME_HEARTS) return true else return false...
  15. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    what does your actions.xml look like
  16. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    I don't understand what the problem is
  17. Aled

    Adding Roaming Monsters

    What distro are you using? I believe onSpawn exists in TFS 0.4 Have you considered onStartup(), in globalevents?
  18. Aled

    Lua [TFS 1.2] Sweetheart Ring Script Error

    How EXACTLY is it supposed to work? what does your actions.xml look like?
  19. Aled

    On Trade Accept Create Log.txt

    I trust your judgement but doesn't Lua index from 1 not from 0? Is that why he is getting the error? EDIT: Try it again now, I think it is my fault
  20. Aled

    On Trade Accept Create Log.txt

    sorry, more retarded throwing in functions without thinking, fixed
Back
Top