Ir para conteúdo

Featured Replies

Postado

Pra mim tambem nao acusa nenhum erro no OT, aparece só aquela msg da foto...

  Em 13/09/2014 em 17:12, otaviogfl disse:

Vc usa qual servidor?

 

 

Da pra usar no tibia 8.6 TFS 0.3.7

test.JPG

  • 2 months later...
  • Respostas 43
  • Visualizações 12.9k
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • Tenta assim : lib na some fuctions.lua  no final end como o dono do topico fez!   vai actions/script   cria arquivo.lua e escreve autoloot.lua, dentro você coloka assim:     No tol

Posted Images

Postado
[Error - Action Interface]
data/actions/scripts/Autoloot.lua:onUse
Description:
(luaDoRemoveItem) Item not found

[Error - Action Interface]
data/actions/scripts/Autoloot.lua:onUse
Description:
(luaDoPlayerAddItem) Item not found

[Error - Action Interface]
data/actions/scripts/Autoloot.lua:onUse
Description:
data/lib/050-function.lua:398: attempt to index a boolean value
stack traceback:
        data/lib/050-function.lua:398: in function 'getItemNameById'
        data/actions/scripts/Autoloot.lua:21: in function <data/actions/scripts/Autoloot.lua:2>

alguém descobriu como tirar o error?

giphy.gif

   Pokemon PRO, Profissionais em diversão.

 

Servidor 24 Horas
Uptime: 100%

  • 3 months later...
  • 3 years later...
Postado

--local toloot = {11441, 11441, 11443, 11444, 11445, 11446, 11447, 11448, 11449,11450, 11451, 11452, 11453, 11454, 12618, 12232, 12244} -- PREFERENCIAL - SE QUISER APENAS COM ALGUNS ITENS
function onUse(cid, item, frompos, item2, topos)
if getItemAttribute(item.uid, "corpseowner") ~= cid then
doPlayerSendCancel(cid, "You're not the owner.")
return true
end
local items = {}
for x=0, getContainerSize(item.uid) - 1 do
local itens = getContainerItem(item.uid, 0)
--if isInArray(toloot, itens.itemid) then
if itens.uid ~= 0 then
table.insert(items, {i=itens.itemid, q=itens.type})
doRemoveItem(itens.uid)
end
--break
--end
end
for y=1, #items do
doPlayerAddItemStacking(cid, items[y].i, items[y].q)
doPlayerSendTextMessage(cid, 20, "AutoLoot: "..items[y].q.."x "..getItemNameById(items[y].i)..".")
end
if #items > 0 then
return true
else
return false
end
end
--[[
 AUTO LOOT BY GABRIEL SALES
 SE QUISER ATIVAR O AUTOLOOT APENAS PARA ALGUNS ITENS, ADICIONE OS IDS NA TABELA toloot E TIRE OS COMENTÁRIOS(--).
--]] 

 

 

 

 

2020 Script Atualizada

Participe da conversa

Você pode postar agora e se cadastrar mais tarde. Se você tem uma conta, faça o login para postar com sua conta.

Visitante
Responder

Quem Está Navegando 0

  • Nenhum usuário registrado visualizando esta página.

Estatísticas dos Fóruns

  • Tópicos 96.9k
  • Posts 519.6k

Informação Importante

Confirmação de Termo