Kluivert 142 Postado Julho 28, 2013 Share Postado Julho 28, 2013 Aqui no meu serv mano fuciona normalmente sahsahsa !!! Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1544971 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 28, 2013 Share Postado Julho 28, 2013 mano esse 'erro' q tu postou no 1* topico na real n eh erro --' eh tu q n sabe usar o comando f3 local expl = param:explode(':') local action, rst = expl[1], expl[2] tens q usar... /words ... : ... eh soh um exemplo, no caso, os parametros da talk tem q tar separados por ':' Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1544984 Compartilhar em outros sites More sharing options...
BrunooMaciell 85 Postado Julho 28, 2013 Autor Share Postado Julho 28, 2013 /\ slicer cara nao entendi =s Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545009 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 29, 2013 Share Postado Julho 29, 2013 ¬¬ como tas usando o comando do auto-loot? Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545077 Compartilhar em outros sites More sharing options...
BrunooMaciell 85 Postado Julho 29, 2013 Autor Share Postado Julho 29, 2013 ¬¬ como tas usando o comando do auto-loot? /aloot Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545276 Compartilhar em outros sites More sharing options...
StyloMaldoso 330 Postado Julho 29, 2013 Share Postado Julho 29, 2013 acho que o slicer tento dizer para voce usa assim o comando.. /words aloot Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545282 Compartilhar em outros sites More sharing options...
Slicer 1070 Postado Julho 29, 2013 Share Postado Julho 29, 2013 ¬¬ tu pega o script e nem sabe usar? f3 o script precisa de parametros... pelo q intendi eh... /aloot check /aloot add:id do item ou /aloot add:nome do item /aloot remove:id do item ou /aloot remove:nome do item com esse aki \/ n vai mais da o 'erro'... ¬¬ local stor, limit = 7575, 5 --storage, limit to add.local allow_container = false --empty! not looted with items, atleast for now.function onSay(cid, words, param) if not param or param == "" then return doPlayerSendTextMessage(cid, 27, "Command need params! check, add or remove.") end local expl = param:explode(':') local action, rst = expl[1], expl[2] if (action:lower() == 'check') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):explode(',') end local txt = 'Autoloot List:\n' if (#list > 0) then for k, id in ipairs(list) do id = id:gsub('_', '') if tonumber(id) then txt = txt .. getItemNameById(tonumber(id)) .. ((k < #list) and '\n' or '') end end else txt = 'Empty' end doPlayerPopupFYI(cid, txt) elseif (action:lower() == 'add') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list >= limit) then return doPlayerSendCancel(cid, 'Você já tem ' .. limit .. ' autolooting itens.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'Esse item nao existe.') end end if not allow_container and isItemContainer(item) then return doPlayerSendCancel(cid, 'Este item não pode se adicionado no autoloot lista.') end local attrs = getItemInfo(item) if not attrs then return doPlayerSendCancel(cid, 'Esse item nao existe.') elseif not attrs.movable or not attrs.pickupable then return doPlayerSendCancel(cid, 'Este item não pode se adicionado no autoloot lista.') end if isInArray(list, item) then return doPlayerSendCancel(cid, 'Ja foi adicionado.') end table.insert(list, tostring(item)) local new = '' for v, id in ipairs(list) do new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< Foi adicionado à lista autoloot.') elseif (action:lower() == 'remove') then local infos, list = getPlayerStorageValue(cid, stor), {} if (infos ~= -1) then list = tostring(infos):gsub('_', ''):explode(',') end if (#list == 0) then return doPlayerSendCancel(cid, 'Você não tem nenhum item adicionado.') end local item = tonumber(rst) if not item then item = getItemIdByName(rst, false) if not item then return doPlayerSendCancel(cid, 'Este item não existi.') end end if not isInArray(list, item) then return doPlayerSendCancel(cid, 'Este item não está na lista.') end local new = '' for v, id in ipairs(list) do if (tonumber(id) ~= item) then new = new .. '_' .. id:gsub('_' ,'') .. ((v < #list) and ',' or '') end end doPlayerSetStorageValue(cid, stor, tostring(new)) doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE, 'Item >>' .. getItemNameById(item) .. '<< Removido da lista autoloot.')endreturn trueend Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545295 Compartilhar em outros sites More sharing options...
BrunooMaciell 85 Postado Julho 29, 2013 Autor Share Postado Julho 29, 2013 (editado) ok vlw slicer !! DUVIDA SANADA Editado Julho 29, 2013 por Brunnoo Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1545351 Compartilhar em outros sites More sharing options...
vital900 570 Postado Agosto 4, 2013 Share Postado Agosto 4, 2013 Tópico movido para a seção de dúvidas e pedidos resolvidos. Tópico movido para a seção de dúvidas e pedidos resolvidos. Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1547749 Compartilhar em outros sites More sharing options...
Stigal 585 Postado Abril 21, 2018 Share Postado Abril 21, 2018 A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta. + Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda. * Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado. Link para o comentário https://xtibia.com/forum/topic/218162-encerrado-bug-auto-loot/page/2/#findComment-1734844 Compartilhar em outros sites More sharing options...
Posts Recomendados