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

    [lua] increase speed

    But he explained how to correct what he should, just read the script carefully...
  2. flaviiojr

    onTime + randon boss

    <globalevent name="BossSpawn" time="17:00:00" script="events/boss_spawn.lua" /> local spawns = { [1] = {position = Position(33621,31012,7), monster = 'Bubble'}, [2] = {position = Position(33621,31012,7), monster = 'Cachero'}, [3] = {position = Position(33621,31012,7), monster =...
  3. flaviiojr

    [lua] increase speed

    Do you test the script of the ratazana?
  4. flaviiojr

    Requesting !broadcast message for players tfs 1.2

    --Functions by Printer function Player.setExhaustion(self, value, time) self:setStorageValue(value, time + os.time()) end function Player.getExhaustion(self, value) local storage = self:getStorageValue(value) if not storage or storage <= os.time() then return 0 end...
  5. flaviiojr

    Solved remover monster

    local config = { requiredLevel = 100, daily = false, centerPosition = Position(32799, 32829, 14), rangeX = 20, rangeY = 20, timeopen = 1200, timekill = 15, playerPositions = { Position(32759, 32868, 14), }, newPositions = { Position(32795...
  6. flaviiojr

    CreatureEvent Teleport players in premium area who loose premium to free account temple

    TFS 1.2 local config = { freeTemple = Position(438, 503, 8), -- This is the Free account temple position topArea = Position(370, 592, 7), -- This is the top left Co-ord for checking the Premium area. bottomArea = Position(403, 645, 7) -- This is the bottom right co-ord for checking...
  7. flaviiojr

    Check items in different places

    Steps: Item 1 is in a certain place Item 2 is in a certain place How to check that both places are with the same item? In case of different ids items, would it return false? TFS 1.3 Thanks in advance !
  8. flaviiojr

    Problem with action script

    Line 59 Change to: itx:setAttribute(ITEM_ATTRIBUTE_EXTRADEFENSE, upgrading.upValue(it:getExtraDefense(), nLevel, conf["upgrade"].extraDefense)) Mining TFS 1.3 (NOT TESTED) terra = {351, 352, 353, 354, 355} levels = { [-1] = 2229, ---- skull [0] = 1294, --- small stone [1] = 3976...
  9. flaviiojr

    TFS 1.X+ Problem with serversave globalevent

    local shutdownAtServerSave = true local cleanMapAtServerSave = false local function serverSave() if shutdownAtServerSave then Game.setGameState(GAME_STATE_SHUTDOWN) else Game.setGameState(GAME_STATE_NORMAL) end if cleanMapAtServerSave then cleanMap()...
  10. flaviiojr

    TFS 1.X+ Send Text msg

    local spec = Game.getSpectators(Position(31809, 33077, 9), false, true, 12, 12, 12, 12) if spec then for _, s in ipairs(spec) do if s:isPlayer() then s:sendChannelMessage("", string.format(STATUSDEFAULT.messages.channel_slower.msg...
  11. flaviiojr

    OTX problem bless.

    which would be? There are several that I can do...
  12. flaviiojr

    OTX problem bless.

    Try again, sorry, my error ! local blessings = {1, 2, 3, 4, 5, 6, 7, 8} function getCost(level) if level <= 30 then return 2000 * 5 elseif level >= 120 then return 10000 * 5 else return ((level - 20) * 200 * 5) end end function onSay(player, words, param)...
  13. flaviiojr

    OTX problem bless.

    Error in console? Edit my post, test again!
  14. flaviiojr

    Solved remover monster

    I can't understand ... Do you want the function to work in what way?
  15. flaviiojr

    OTX problem bless.

    local blessings = {1, 2, 3, 4, 5, 6, 7, 8} function getCost(level) if level <= 30 then return 2000 * 5 elseif level >= 120 then return 10000 * 5 else return ((level - 20) * 200 * 5) end end function onSay(player, words, param) if player:isPzLocked()...
  16. flaviiojr

    Lua TFS 1.3 Check condition

    What would you use the condition for? explain me better!
  17. flaviiojr

    Solved remover monster

    Use this function function clearBossRoom(playerId, centerPosition, rangeX, rangeY, exitPosition) local spectators, spectator = Game.getSpectators(centerPosition, false, false, rangeX, rangeX, rangeY, rangeY) for i = 1, #spectators do spectator = spectators[i] if...
  18. flaviiojr

    Script 1.1 to 1.3

    local conf = { ["level"] = { -- [item_level] = {successPercent= CHANCE TO UPGRADE ITEM, downgradeLevel = ITEM GETS THIS LEVEL IF UPGRADE FAILS} [1] = {successPercent = 85, downgradeLevel = 0}, [2] = {successPercent = 80, downgradeLevel = 1}, [3] =...
  19. flaviiojr

    TFS 1.X+ Addon NPC Error

    post script, man! npc/scripts/Morgan.lua
  20. flaviiojr

    TFS 1.X+ boss teleport

    local timer = 4 * 60 * 1000 local bosses = { ['Deathstrike'] = {pos = Position(1564,1161,7)} } function onDeath(cid, corpse, killer, mostDamageKiller, unjustified, mostDamageUnjustified) if bosses[cid:getName()] then local teleport = Game.createItem(1387, 1, corpse:getPosition())...
Back
Top