• 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!

Recent content by lico69

  1. L

    Auto Loot Tfs 1.3

    Ok. I got your tip, its fully working, there's some way to optimize it? local function scanContainer(cid, position) local player = Player(cid) if not player then return end local corpse = Tile(position):getTopDownItem() if not corpse or not corpse:isContainer() then...
  2. L

    Auto Loot Tfs 1.3

    Hey guys, me again! Im using Printer autoloot - AutoLoot System for tfs 1.x Im facing some problems, the system works well, but items inside a container (bag or backpack) didnt go for the check. I tried editing the code with some others variables but none made effect. Any tips? local function...
  3. L

    Movevent doesnt work as intended

    Thanks 2Rec! Now it is fully working. Living and learning hehe
  4. L

    Movevent doesnt work as intended

    None errors script errors, but the player without guild is passing.
  5. L

    Movevent doesnt work as intended

    Yes, the player need a guild to enter the castle. After trying this it gave me [Warning - Event::checkScript] Can not load script: scripts/castleEvent/entradaCastelo.lua data/movements/scripts/castleEvent/entradaCastelo.lua:27: 'end' expected (to close 'function' at line 1) near <eof> So I...
  6. L

    Movevent doesnt work as intended

    If the event opens it should only registerToCastle() who have guild > 0
  7. L

    Movevent doesnt work as intended

    function getCastleEventStatus() local st = Game.getStorageValue(EVENTO_CASTELO_STOR) local ret if (st <= 0) then ret = EVENT_CLOSED elseif (st == 1) then ret = EVENT_WAIT elseif (st == 2) then ret = EVENT_STARTED end return ret end
  8. L

    Movevent doesnt work as intended

    Hey guys! I tried but none solution till the moment. If the event is CLOSED it runs fine (return your guild is not the owner of the castle, you are not in a guild and the event is closed only castle owners have access) but if the event START the (you are not in a guild) get ignored and it calls...
  9. L

    Movement doesnt work as intended

    Hey guys! I tried but none solution till the moment. If the event is CLOSED it runs fine (return your guild is not the owner of the castle, you are not in a guild and the event is closed only castle owners have access) but if the event START the (you are not in a guild) get ignored and it calls...
  10. L

    Lua Problem with event lib

    Hey guys, me again! Trying to edit some code but Im having some problems. Could anyone help me fixing the code? Thanks. FIXED: Wrong functions
  11. L

    TFS 1.2 Some commands request

    For aol use: local price_aol = 50000 function onSay(player, words, param) if player:removeMoney(price_aol) then player:getPosition():sendMagicEffect(CONST_ME_MAGIC_RED) player:addItem(2173, 1) else player:getPosition():sendMagicEffect(CONST_ME_POFF)...
  12. L

    [TFS 1.3] [Lua] Task System with unique room

    StreamSide, thanks for your help. I've made the changes, but, how the script will know what the boss it will summon, since the uid of the teleport is 3230? I mean, there's some way to check all the storages and if it is equal 1 it will select the boss name, or there is some way to do that...
  13. L

    [TFS 1.3] [Lua] Task System with unique room

    Hey guys, how are you? I'm importing a task system to my tfs 1.3 server but I need this system to be in a single room. In this script every task boss has its place. local function roomIsOccupied(centerPosition, rangeX, rangeY) local spectators = Game.getSpectators(centerPosition, false...
  14. L

    [TFS 1.3] Online Premium Points

    Thank you for your help. I have a question too, this value would be fixed every 12 points add 1 premium day, imagine that the player has 25 points, he would need to use talkaction only once to get two premium days and only one point left.
  15. L

    [TFS 1.3] Online Premium Points

    through a talkaction he will buy 1 day of premium time removing 12 points from the storage
Back
Top