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

    TFS 1.x Auction system offline problem

    Change getExhaustion to getStorageValue
  2. aqubjukr

    TFS 1.2 How can i edit this code so it would spawn only one Boss

    You can use this, to check if boss are spawned. Game.getSpectators(centerPosition, false, true,rangeX,rangeX,rangeY,rangeY)
  3. aqubjukr

    TFS 1.X+ Cast Spell

    I think this can help you: Spell - [TFS 1.X] Animated Spells (Dynamic vs Static) (https://otland.net/threads/tfs-1-x-animated-spells-dynamic-vs-static.268186/)
  4. aqubjukr

    Lua in a timer event called from:

    Maybe? local function clearBossRoom(playerId, bossId,centerPosition,rangeX, rangeY, exitPosition) local spectators = Game.getSpectators(centerPosition, false, true,rangeX,rangeX,rangeY,rangeY) for _, spectator in ipairs(spectators) do spectator = spectators[i] if...
  5. aqubjukr

    Lua [TFS1.3] Time Guardian Spell

    Thanks for the comment, I will try to do that next time. I've made a script from scratch, to be sure of using everything correctly and that there would be no bugs. Btw, thx. 1603760833 Thanks for the comment, I will try to do that next time. I've made a script from scratch, to be sure of using...
  6. aqubjukr

    Monster go to specified pos x, y, z after spawn

    You can use an onThink function to do this (I don't think it's the most correct), example function: (Storage = 1 time teleport) function onThink(creature, position, fromPosition) if not creature:isMonster() then return true end if creature:getStorageValue(18237112) ~= 1 then...
  7. aqubjukr

    Lua [TFS1.3] Time Guardian Spell

    up
  8. aqubjukr

    Lua [TFS1.3] Time Guardian Spell

    I have a script from the boss time guardian (to change the phases), and I wanted to know what the reason for the error would be, since the "index" was set in top as a random number between 1 and 2. If you have a possible way to fix it, I would be grateful. Console: Lua Script Error: [Spell...
  9. aqubjukr

    Lua Looking for an outfit remover movement TFS 1.2

    function onStepIn(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if not player then return true end local playerOutfit = player:getOutfit() playerOutfit.lookAddons = 0 if player:getSex() == PLAYERSEX_FEMALE then...
  10. aqubjukr

    Lua Looking for an outfit remover movement TFS 1.2

    Just one thing, why this storage? Or is it something that the OP wants? I believe it will work for him. function onStepIn(cid, item, fromPosition, itemEx, toPosition) local player = Player(cid) if not player then return true end if player:getSex() == PLAYERSEX_FEMALE...
  11. aqubjukr

    Lua help online guild bonus exp

    Ohh sory, try use this:if source:getStorageValue(1577534) == 1 then
  12. aqubjukr

    Lua help online guild bonus exp

    That's right, the only thing is the multiplication, which if it's 5% should be 1.05. Now, it is multiplying the xp by 100.
  13. aqubjukr

    Lua help online guild bonus exp

    After adding this script to creaturescripts, you must open data / events / scripts / player.lua, then you must add the next line [below the function: function Player: onGainExperience(source, exp, rawExp)]: if getGlobalStorageValue(1577534) == 1 then exp = exp * 1.05 end
  14. aqubjukr

    Lua help online guild bonus exp

    Apparently, this script is for tfs 0.4, so you'll have to look for the replaced functions in your lib. Example: As part of the exp, you will have to work in the folder data/events/scripts/players.lua (because here you can add a condition to change the exp won). And so on, until you get the...
  15. aqubjukr

    Lua help online guild bonus exp

    TFS 1.3 uses: <event type="login" name="ExpGuild" script="ExpGuild.lua"/> <event type="logout" name="ExpGuild_out" script="ExpGuild_out.lua"/> Without that part -> event = "script"
  16. aqubjukr

    AAC MyACC + Auction System little error!

    He don’t login in since August 13th. It's easier for you, search for another script to adapt or do it from zero.
  17. aqubjukr

    [11x+] Map full grave danger and feaster of souls

    Probably items.otb ids are different, so you will have to convert all the ids before adding them to your map. 1601683180
  18. aqubjukr

    Lua Movements Script

    function onStepIn(creature, position, fromPosition, toPosition) if not creature:isMonster() then return true end creature:addHealth(100) end
  19. aqubjukr

    Travel Carpet with PZ

    Sorry I'm disconnected ...
  20. aqubjukr

    Travel Carpet with PZ

    Or just remove this, ins libs (line 27): if player:isPzLocked() then npcHandler:say("First get rid of those blood stains! You are not going to ruin my vehicle!", cid) This blocks travel with pz.
Back
Top