Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''mods''.



Mais opções de pesquisa

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • A Cidade OTBR
    • OTServ Brasil
    • Atendimento
    • Taverna
  • Projetos Open Source
    • Canary
    • OTServBR-Global
    • Mehah OTClient
    • MyAAC
  • OpenTibia
    • Notícias e Discussões
    • Suporte - Dúvidas, Bugs, Erros
    • Downloads
    • Tutoriais
    • Show-Off
  • Outros
    • Design

Encontrado 1 registro

  1. Descreva em algumas palavras a base utilizada. (Nome do servidor / Nome do cliente / Nome do website / etc.). The OTX Server Version: (2.100 - 6000) - Codename: (FINAL) Base: 7,72 Qual é a sua pergunta? Tenho um mod de autoloot que funciona perfeitamennte bem, a não ser pelo comando básico dele de mostrar os comandos disponíveis e informações do mod. Os comandos de add, remover item, etc funcionam perfeitamente e ele recolhe todos os itens, mas o comando "/autoloot" da erro na console, conforme informações abaixo. [3/1/2021 9:30:32] [Error - TalkAction Interface] [3/1/2021 9:30:32] local cid = 268448572 [3/1/2021 9:30:32] local words = "/autoloot" [3/1/2021 9:30:32] local param = "" [3/1/2021 9:30:32] local channel = 65534 [3/1/2021 9:30:32] domodlib('Loot_func') [3/1/2021 9:30:32] local param, slots = param:lower(), isPremium(cid) and info.Max_Slots.premium or info.Max_Slots.free [3/1/2021 9:30:32] if not param or param == "" then [3/1/2021 9:30:32] ShowItemsTabble(cid) return true [3/1/2021 9:30:32] elseif tonumber(param) then [3/1/2021 9:30:32] doPlayerSendCancel(cid, "enter commands: !autoloot item name [+] !autoloot clean [+] !autoloot money [+] !autoloot on/off") return true [3/1/2021 9:30:32] elseif isInArray({"clean","limpar", "clear"}, param) then [3/1/2021 9:30:32] if existsAutoloot(cid) then doCleanAutoloot(cid) end [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Auto Loot] Your list has been cleaned.") return true [3/1/2021 9:30:32] elseif isInArray({"start","stop","on","off"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[1], getPlayerStorageValue(cid, info.Storages[1]) <= 0 and 1 or 0) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Auto Loot "..(getPlayerStorageValue(cid, info.Storages[1]) > 0 and "Stopped" or "Started")..".") return true [3/1/2021 9:30:32] elseif isInArray({"warn","aviso"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[3], getPlayerStorageValue(cid, info.Storages[3]) <= 0 and 1 or 0) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Auto Loot Backpack Warn "..(getPlayerStorageValue(cid, info.Storages[3]) > 0 and "disabled" or "Activated")..".") return true [3/1/2021 9:30:32] elseif isInArray({"mensagem","message","mensagen","msg"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[6], getPlayerStorageValue(cid, info.Storages[6]) <= 0 and 1 or 0) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Auto Loot Message "..(getPlayerStorageValue(cid, info.Storages[6]) > 0 and "disabled" or "Activated")..".") return true [3/1/2021 9:30:32] elseif isInArray({"cor","color","type"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[5], getPlayerColorLootMessage(cid) == #Color_Loot and 0 or getPlayerColorLootMessage(cid)+1) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Auto Loot Message Color Changed to "..Color_Loot[getPlayerColorLootMessage(cid)][2]..".") return true [3/1/2021 9:30:32] elseif isInArray({"money","gold","gps","dinheiro"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[2], getPlayerStorageValue(cid, info.Storages[2]) <= 0 and 1 or 0) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"Auto Loot Gold Colleting "..(getPlayerStorageValue(cid, info.Storages[2]) > 0 and "Activated" or "disabled")..".") return true [3/1/2021 9:30:32] elseif isInArray({"deposito","bank","gbank","deposit","autodeposit"}, param) then [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[4], getPlayerStorageValue(cid, info.Storages[4]) <= 0 and 1 or 0) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_ORANGE,"[Auto Loot] Automatic Gold Bank "..(getPlayerStorageValue(cid, info.Storages[4]) > 0 and "Activated" or "disabled")..".") return true [3/1/2021 9:30:32] end [3/1/2021 9:30:32] local item = ExistItemByName(tostring(param)) [3/1/2021 9:30:32] if not item then [3/1/2021 9:30:32] doPlayerSendCancel(cid, "This item does not exist.") return true [3/1/2021 9:30:32] end [3/1/2021 9:30:32] local item = getItemIdByName(tostring(param)) [3/1/2021 9:30:32] local var = isInTable(cid, item) [3/1/2021 9:30:32] if isInArray(info.Money_ids, item) then [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_FIRST, "Enter !autoloot money to add money in your list!") return true [3/1/2021 9:30:32] elseif isInArray(info.BlockItemsList, item) then [3/1/2021 9:30:32] doPlayerSendCancel(cid, "You can not add this item in the list!") return true [3/1/2021 9:30:32] elseif not var and #getItensFromAutoloot(cid) >= slots then [3/1/2021 9:30:32] doPlayerSendCancel(cid, "max "..slots.." from auto loot") return true [3/1/2021 9:30:32] elseif getPlayerStorageValue(cid, info.Storages[7]) - os.time() > 0 then [3/1/2021 9:30:32] doPlayerSendCancel(cid, "Wait a second to use this command again.") return true [3/1/2021 9:30:32] end [3/1/2021 9:30:32] if not var then [3/1/2021 9:30:32] doAddItemFromAutoloot(cid, item) [3/1/2021 9:30:32] else [3/1/2021 9:30:32] doremoveItemFromAutoloot(cid, item) [3/1/2021 9:30:32] end [3/1/2021 9:30:32] setPlayerStorageValue(cid, info.Storages[7], os.time()+info.Talkaction_delay) [3/1/2021 9:30:32] doPlayerSendTextMessage(cid, MESSAGE_STATUS_CONSOLE_BLUE,not var and "You added the item "..param.." in the list." or "You removed the item "..param.." from the list, please wait 5 seconds to save the directory.") [3/1/2021 9:30:32] return true [3/1/2021 9:30:32] Description: [3/1/2021 9:30:32] [string "info = {..."]:85: attempt to call global 'doPlayerPopupFYI' (a nil value) Você tem o código disponível? Se tiver poste-o na caixa de código que está dentro do spoiler abaixo: Você tem alguma imagem que possa auxiliar no problema? Se sim, anexe-a dentro do spoiler abaixo:
×