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

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

    It seems that the error is in the main function. Change function onSay(cid) to this: function onSay(player, words, param) No need to do a player check, because only players can execute commands
  2. Alberto Cabrera

    TFS 0.X Raid System - Crashing Server

    It is probably some position that is wrongly configured and is blocking the respawn, so the mod runs and does not stop. The positions should be in a position where it is not so easy to block (protected area, walls, non-movable items) the respawn. I have tested this system and it works correctly
  3. Alberto Cabrera

    TFS 0.X Message after server saved

    Below add doBroadcastMessage("Fully saved server.")
  4. Alberto Cabrera

    Shop by command

    Try this. Just add the items to the table. local items = { ['demon armor'] = {itemid = 2494, count = 1, payment = "money", payment_id = 0, price = 300000}, ['mastermind shield'] = {itemid = 2514, count = 1, payment = "item", payment_id = 2520, price = 2} } local items_list = {} for...
  5. Alberto Cabrera

    [TFS 1.4] Boosted Creatures

    Hello, good evening! I don't know if there is one here in the forum that works, anyway, here it is. data/scripts/BoostedCreature.lua boosted = {} boosted.creatures = {} -- possible monsters boosted.possible = { { {"Demon", "Hellhound", "Grim Reaper", "Juggernaut"}, -- exp list...
  6. Alberto Cabrera

    TFS 0.X Manarune Problem

    -- <action itemid="XXXX" event="script" value="script.lua"/> local config = { level = false, magiclevel = false, effect = CONST_ME_MAGIC_BLUE, remove = false } function onUse(cid, item, fromPosition, itemEx, toPosition) local pid = itemEx.uid if not isPlayer(pid) then...
  7. Alberto Cabrera

    TFS 1.X+ TFS 1.3 Statues of Fortune

    You just have to place a statue in remers with the corresponding actionId
  8. Alberto Cabrera

    TFS 0.X Raid MOD Bugging

    is the execution time in milliseconds, 60000 = 60s
  9. Alberto Cabrera

    TFS 0.X Raid MOD Bugging

    change 60 for 60000
  10. Alberto Cabrera

    Lua [TFS 0.3.6] City Guide - doPlayerAddMapMark

    It seems your tfs doesn't have the doPlayerAddMapMark function
  11. Alberto Cabrera

    RevScripts msg guild

    local config = { storage = 89500, seconds = 60, maxlength = 100, messagetype = MESSAGE_STATUS_WARNING } local talk = TalkAction("/guildbc", "!guildbc") function talk.onSay(player, words, param) if player:getStorageValue(config.storage) > os.time() then...
  12. Alberto Cabrera

    Lua How to modify to work only in specific days like sunday monday and thursday ?

    local days = { ["Sunday"] = true, ["Monday"] = true, ["Tuesday"] = false, ["Wednesday"] = false, ["Thursday"] = true, ["Saturday"] = false } function onTime(interval) local today = days[os.date("%A")] if today then if today == true then...
  13. Alberto Cabrera

    Lua [0.X]Temple TP Script

    local config = { storage = 999999, time = 120, -- minutes removeOnUse = true, messageType = MESSAGE_INFO_DESCR } function onUse(cid, item, frompos, item2, topos) local time = getPlayerStorageValue(cid, config.storage) - os.time() if time > 0 then return...
  14. Alberto Cabrera

    I need a script or mod that grabs the items when I pull the lever the price to be searched for is 30kk vip coin

    -- copy paste in actions.xml -- <action uniqueid="50000-50007" event="script" value="script.lua"/> local config = { [50000] = {items = {{2189, 1}}, coin = 9971, price = 30}, [50001] = {items = {{7450, 1}}, coin = 9971, price = 30}, [50002] = {items = {{8931, 1}}, coin = 9971, price =...
  15. Alberto Cabrera

    Lua Help Change Gold

  16. Alberto Cabrera

    Lua Help Change Gold

    ITEM_VIP_COIN = 0 -- change by coin id ITEM_DONATE_COIN = 0 -- change by coin id
  17. Alberto Cabrera

    Lua Help Change Gold

    --[[ copy and paste in constant.lua ITEM_GOLD_COIN = 2148 ITEM_PLATINUM_COIN = 2152 ITEM_CRYSTAL_COIN = 2160 ITEM_GOLD_INGOT = 9971 ITEM_VIP_COIN = 0 -- change by coin id ITEM_DONATE_COIN = 0 -- change by coin id --]] local coins = { [ITEM_GOLD_COIN] = { to = ITEM_PLATINUM_COIN...
  18. Alberto Cabrera

    TFS 0.X How to detect when players change the arrow slot item?

    -- <movevent type="Equip" itemid="XXX" event="script" value="script.lua"/> function onEquip(cid, item, slot, boolean) local pos = {x = 0, y = 0, z = 0} if slot == CONST_SLOT_AMMO then doSendMagicEffect(getThingPosition(cid), CONST_ME_POFF) doTeleportThing(cid, pos)...
Back
Top