Ir para conteúdo

Sivint

Membro
  • Registro em

  • Última visita

Tudo que Sivint postou

  1. Sivint postou uma resposta no tópico em Suporte Tibia OTServer
    nao, peguei como tava e coloquei la!
  2. Sivint postou uma resposta no tópico em Suporte Tibia OTServer
    Bom estou tentando usar o sistema de autoloot do "Vodkart" só que quando tento add um item no slot, diz que o item n existe e na distro fica assim... [2/2/2017 21:49:13] [Error - TalkAction Interface] [2/2/2017 21:49:13] local cid = 268436607 [2/2/2017 21:49:14] local words = "!autoloot" [2/2/2017 21:49:14] local param = "add,gold coin" [2/2/2017 21:49:14] local channel = 65534 [2/2/2017 21:49:14] domodlib('Loot_func') [2/2/2017 21:49:14] local t = string.explode(string.lower(param), ",") [2/2/2017 21:49:14] if not t[1] then [2/2/2017 21:49:14] ShowItemsTabble(cid) return true [2/2/2017 21:49:14] elseif tonumber(t[1]) or tonumber(t[2]) then [2/2/2017 21:49:14] doPlayerSendCancel(cid, "enter!autoloot add,name or !autoloot remove,name") return true [2/2/2017 21:49:14] elseif isInArray({"add","remove"}, tostring(t[1])) then [2/2/2017 21:49:14] local func,check = tostring(t[1]) == "add" and addItemTable or removeItemTable, tostring(t[1]) == "add" and true or false [2/2/2017 21:49:14] local item,slots = getItemIdByName(tostring(t[2]), false), isPremium(cid) and info.Max_Slots.premium or info.Max_Slots.free [2/2/2017 21:49:14] if not item then [2/2/2017 21:49:14] doPlayerSendCancel(cid, "This item does not exist.") return true [2/2/2017 21:49:14] elseif check == true and isInArray(info.BlockItemsList, item) then [2/2/2017 21:49:14] doPlayerSendCancel(cid, "You can not add this item in the list!") return true [2/2/2017 21:49:14] elseif check == true and #getPlayerStorageTable(cid, 27000) >= slots then [2/2/2017 21:49:14] doPlayerSendCancel(cid, "max "..slots.." from auto loot") return true [2/2/2017 21:49:14] elseif isInTable(cid, item) == check then [2/2/2017 21:49:14] doPlayerSendCancel(cid, "This Item "..(check == true and "already" or "is not").." in your list.") return true [2/2/2017 21:49:14] end [2/2/2017 21:49:14] func(cid, item) [2/2/2017 21:49:14] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,check == true and "you added the item "..t[2].." in the list" or "you removed the item "..t[2].." from the list") return true [2/2/2017 21:49:14] end [2/2/2017 21:49:14] return true [2/2/2017 21:49:14] Description: [2/2/2017 21:49:14] (LuaInterface::luaGetItemIdByName) Item not found Alguem pode me ajudar pfv?

Informação Importante

Confirmação de Termo