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

Search results

  1. dervin13

    Lua Auto loot collecting item in bag

    Perfect!! thank you so much
  2. dervin13

    Lua Auto loot collecting item in bag

    @zxmatzx no errors, but nothing happens
  3. dervin13

    Lua Auto loot collecting item in bag

    @zxmatzx data/creaturescripts/scripts/autoloot.lua:onKill data/creaturescripts/scripts/autoloot.lua:35: attempt to index local 'corpse' (a nil value)
  4. dervin13

    Lua Auto loot collecting item in bag

    Did you check is collecting items inside bag? also i got this error Lua Script Error: [Main Interface] in a timer event called from: (Unknown scriptfile) data/creaturescripts/scripts/autoloot.lua:7: attempt to index a nil value
  5. dervin13

    Lua Auto loot collecting item in bag

    Nothing happens :(
  6. dervin13

    Lua Auto loot collecting item in bag

    bump
  7. dervin13

    Lua Auto loot collecting item in bag

    Is it possible to make this autoloot collect the item inside the bag in corpse when you kill it? thanks local function scanContainer(cid, position) local player = Player(cid) if not player then return end local corpse = Tile(position):getTopDownItem() if not corpse...
  8. dervin13

    Lua Make it work in globalevents cleanning specific area

    thank you so much
  9. dervin13

    Lua Make it work in globalevents cleanning specific area

    It's working, but if there's an water placed in the area I get this error data/globalevents/scripts/clean.lua:24: attempt to get length of local 'ti leItems' (a nil value) It's possible to solve or is better to remove this water?
  10. dervin13

    Lua Make it work in globalevents cleanning specific area

    Im getting this error Lua Script Error: [GlobalEvent Interface] data/globalevents/scripts/clean.lua:onThink data/globalevents/scripts/clean.lua:23: attempt to index local 'tile' (a n umber value) and with Evil Hero Lua Script Error: [GlobalEvent Interface]...
  11. dervin13

    Why this autoloot system doesnt work

    Check if you registered correctly in login.lua, my server is tfs 1.2 and it's working good. Did you get any errors?
  12. dervin13

    Why this autoloot system doesnt work

    You already checked if collect from body? It doesnt collect from bag
  13. dervin13

    Lua Make it work in globalevents cleanning specific area

    It's working now thanks function onThink(interval) local area = { fromPos = {x = 300, y = 300, z = 7}, toPos = {x = 400, y = 400, z = 7} } local itemIds = {2148, 2152} for x = area.fromPos.x, area.toPos.x do for y = area.fromPos.y, area.toPos.y do for...
  14. dervin13

    Lua Make it work in globalevents cleanning specific area

    no, only this, i think it was a part of action, but I want to use this to clean a part of the map
  15. dervin13

    Lua Make it work in globalevents cleanning specific area

    function onThink(interval) local configClean = { Map = { LS = {x = 651, y = 541, z = 7}, -- LIMIT NORT WEST LI = {x = 670, y = 556, z = 7}, -- LIMIT SUL EAST }, } local ItensIDS = {2148, 2152} -- IDS FOR REMOVE for x = configClean.Map.LS.x, configClean.Map.LI.x do...
  16. dervin13

    Lua Make it work in globalevents cleanning specific area

    I put function onThink(interval) at the topo and changed the positions then come this error [Error - GlobalEvents::think] Failed to execute event: cleantemple
  17. dervin13

    Lua Make it work in globalevents cleanning specific area

    I get this script in another place and trying to make it work in globalevent, but already chance to function onThink(interval) but not happens... Can anyone help? It's to clean a specific area thanks function cleanmap() local configClean = { Map = { LS = {x = 550, y = 441, z = 7}...
  18. dervin13

    Need help about my bless.lua not work

    Try this one, in the past I used this It's not necessary to have storage ID but if you want we can try to add this local bless = {1, 2, 3, 4, 5} local cost = 50000 function onSay(cid, words, param) for i = 1, table.maxn(bless) do if(getPlayerBlessing(cid, bless[i])) then...
  19. dervin13

    Need help about my bless.lua not work

    what's the tfs version?
Back
Top