Ir para conteúdo

Pesquisar na Comunidade

Mostrando resultados para as tags ''!pokeballs''.

  • Pesquisar por Tags

    Digite tags separadas por vírgulas
  • Pesquisar por Autor

Tipo de Conteúdo


Fóruns

  • xTibia - Notícias e Suporte
    • Regras
    • Noticias
    • Soluções
    • Projetos Patrocinados
    • Tutoriais para Iniciantes
    • Imprensa
  • OTServ
    • Notícias e Debates
    • OTServlist
    • Downloads
    • Recursos
    • Suporte
    • Pedidos
    • Show-Off
    • Tutoriais
  • OFF-Topic
    • Barzinho do Éks
    • Design
    • Informática

Encontrar resultados em...

Encontrar resultados que contenham...


Data de Criação

  • Início

    FIM


Data de Atualização

  • Início

    FIM


Filtrar pelo número de...

Data de Registro

  • Início

    FIM


Grupo


Sou

Encontrado 2 registros

  1. [24/02/2020 21:19:57] [Error - Action Interface] [24/02/2020 21:19:57] In a timer event called from: [24/02/2020 21:19:57] data/actions/scripts/catch.lua:onUse [24/02/2020 21:19:57] Description: [24/02/2020 21:19:57] data/lib/catch system.lua:22: attempt to perform arithmetic on local 'g' (a string value) [24/02/2020 21:19:57] stack traceback: [24/02/2020 21:19:57] data/lib/catch system.lua:22: in function 'doBrokesCount' [24/02/2020 21:19:57] data/lib/catch system.lua:277: in function <data/lib/catch system.lua:243> ALGUEM SABE RESOLVER ESSE ERRO PORFAVOR? SEMPRE QUE VOU USAR COMANDO !POKEBALLS (PRA VER QUANTAS BALLS GASTEI) DA ESSE ERRO O CATCH SYSTEM TA AI
  2. Olá galera uso a base Pokemon Stage com megas. o comando !pokeballs nome do pokemon (Ex: !pokeballs scyther), não está contando quantas ball você joga no pokemon. Mesmo se vc jogar 10 pokeballs e usar o comando ele vai dizer que você não jogou nenhuma. local function sendBrokesMsg2(cid, name, str) --alterado v1.9 \/ TUDO!! if not isCreature(cid) then return false end local storage = getPlayerStorageValue(cid, str) if storage == -1 then return sendMsgToPlayer(cid, 27, "Você ainda não gastou nenhuma ball para catar esse pokemon!") end local t = "normal = (.-), great = (.-), super = (.-), ultra = (.-), saffari = (.-), dark = (.-);" local msg = {} table.insert(msg, "Você ja gastou: ") for n, g, s, u, s2, d in storage:gmatch(t) do if tonumber(n) and tonumber(n) > 0 then table.insert(msg, tostring(n).." Poke ball".. (tonumber(n) > 1 and "s" or "")) end if tonumber(g) and tonumber(g) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(g).." Great ball".. (tonumber(g) > 1 and "s" or "")) end if tonumber(s) and tonumber(s) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(s).." Super ball".. (tonumber(s) > 1 and "s" or "")) end if tonumber(u) and tonumber(u) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(u).." Ultra ball".. (tonumber(u) > 1 and "s" or "")) end if tonumber(s2) and tonumber(s2) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(s2).." Saffari ball".. (tonumber(s2) > 1 and "s" or "")) end if tonumber(d) and tonumber(d) > 0 then table.insert(msg, (#msg > 1 and ", " or "").. tostring(d).." Dark ball".. (tonumber(d) > 1 and "s" or "")) end end if #msg == 1 then return doPlayerSendTextMessage(cid, 27, "Você ainda não gastou nenhuma ball para catar um "..name..".") end if string.sub(msg[#msg], 1, 1) == "," then msg[#msg] = " and".. string.sub(msg[#msg], 2, #msg[#msg]) end table.insert(msg, " tentando catar um "..name..".") return sendMsgToPlayer(cid, 27, table.concat(msg)) end function onSay(cid, words, param) if(param == '') then doPlayerSendTextMessage(cid, 27, "Coloque um nome de pokemon...") return true end if newpokedex[doCorrectPokemonName(param)] then local storage = newpokedex[doCorrectPokemonName(param)].stoCatch local name = doCorrectPokemonName(param) sendBrokesMsg2(cid, name, storage) else doPlayerSendTextMessage(cid, 27, "Issu não e um pokemon...") end return true end
×
×
  • Criar Novo...