Postado Março 10, 2018 7 anos Gente, estou com um problema no meu sistema autoloot, a primeira vez funcionou normal, depois fui reiniciar o servidor novamente agora tá dando esse erro: Error - CreatureScript Interface] In a timer event called from: data/creaturescripts/scripts/Auto_Loot.lua:onKill Description: (luaDoRemoveItem) Item not found Esse é meu Auto_Loott.lua:onKill --[[ Auto Loot System by Danyel Varejão Created in 02/07/2017 ]] function onLogin(cid) registerCreatureEvent(cid, "Auto_Loot_Login") registerCreatureEvent(cid, "Auto_Loot_Kill") return true end function onKill(cid, target, lastHit) if isPlayer(cid) and isMonster(target) then if getPlayerStorageValue(cid, AutoLoot.Storage_On_Items) == 1 and #AutoLoot.getPlayerList(cid) > 0 then addEvent(AutoLoot.Items, 500, cid, getCreaturePosition(target)) end if getPlayerStorageValue(cid, AutoLoot.Storage_On_Gold) == 1 then addEvent(AutoLoot.Gold, 500, cid, getCreaturePosition(target)) end if getPlayerStorageValue(cid, AutoLoot.Storage_On_Items) == 1 or getPlayerStorageValue(cid, AutoLoot.Storage_On_Gold) == 1 then addEvent(AutoLoot.Message, 500, cid) end end return true end Fiz igual esse tutorial: a primeira vez funcionou , botei ontem... ai reiniciei server hoje deu isso.
Postado Setembro 16, 2018 6 anos @theeusata55 qual tfs? geralmente esse erro da em OTX por não reconhecer os item .
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.