Ir para conteúdo

Featured Replies

Postado

Olá pessoas e Humanos, 

 

estou aqui para pedir suporte sobre um bug que apareceu no meu servidor cyan 2.0 by senhor H simplesmente do nada postarei prints abaixo

post-153218-0-43395800-1424138229_thumb.

post-153218-0-19068600-1424138310_thumb.

 

quando eu tento logar em alguma conta:

post-153218-0-68093800-1424138514_thumb.

 

 

 

Se alguem poder me dar suporte agradeço desde já 

 

(se estiver na areá errada me desculpe essa é minha primeira postagem)

Editado por softanon (veja o histórico de edições)

Resolvido por softanon

Ir para solução
  • Respostas 7
  • Visualizações 754
  • Created
  • Última resposta

Top Posters In This Topic

Most Popular Posts

  • [.spoiler]mensagem[./spoiler] sem os pontos. Mas enfim, baixarei os arquivos. EDIT: em IconSys.lua, troque: local x = icons[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")] local y = icon

  • Envie seu login.lua (data/creaturescripts/scripts) e seu IconSys.lua (data/lib). PS: Em spoiler, se possível.

Posted Images

Postado
  • Autor

Envie seu login.lua (data/creaturescripts/scripts) e seu IconSys.lua (data/lib).

PS: Em spoiler, se possível.

como eu não sei mexer nesses forum  coloquei os 2 para download 

http://www.4shared.com/file/ozHziIJrba/login.html

http://www.4shared.com/file/0zKztJtKce/IconSys.html

Postado

[.spoiler]mensagem[./spoiler]

sem os pontos.

Mas enfim, baixarei os arquivos.

EDIT: em IconSys.lua, troque:

local x = icons[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")]
local y = icons[getItemAttribute(getPlayerSlotItem(cid, 3).uid, "poke")]
por:
    local x, y = false, false
    if getPlayerSlotItem(cid, 8).uid > 0 then
        x = icons[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")]
    end
    if getPlayerSlotItem(cid, 3).uid > 0 then
        y = icons[getItemAttribute(getPlayerSlotItem(cid, 3).uid, "poke")]
    end
Troque, também:
    local balls = getItemsInContainerById(bp.uid, 12831) -- Shiny Dark
    if #balls >= 1 then 
        for _, ball in pairs (balls) do
            local x = icons[getItemAttribute(ball, "poke")]
            doTransformItem(ball, x.off)
            doItemSetAttribute(ball, "ball", "Icone")
            doItemSetAttribute(ball, "morta", "yes")
            doItemSetAttribute(ball, "Icone", "yes")
        end 
    end
por:
    local balls = getItemsInContainerById(bp.uid, 12831) -- Shiny Dark
    if #balls >= 1 then 
        for _, ball in pairs (balls) do
            local x = icons[getItemAttribute(ball, "poke")]
            if x and x.off then
                doTransformItem(ball, x.off)
                doItemSetAttribute(ball, "ball", "Icone")
                doItemSetAttribute(ball, "morta", "yes")
                doItemSetAttribute(ball, "Icone", "yes")
            end
        end 
    end

E, por último:

acima de:

local pokeball = getItemAttribute(getPlayerSlotItem(cid, 8).uid, "ball")

coloque:

if getPlayerSlotItem(cid, 8).uid > 0 then

depois, abaixo de:

    elseif pokeball == "Icone" and mortano == "yes" then
        doTransformItem(getPlayerSlotItem(cid, 8).uid, 12831)
        doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "Icone", "no")
    end
coloque:
end
ficando:
    elseif pokeball == "Icone" and mortano == "yes" then
        doTransformItem(getPlayerSlotItem(cid, 8).uid, 12831)
        doItemSetAttribute(getPlayerSlotItem(cid, 8).uid, "Icone", "no")
    end
end

Se o erro ao logar permanecer, procure pelo código da função onPokeHealthChange(cid).

Editado por zipter98 (veja o histórico de edições)

não respondo pms solicitando suporte em programação/scripting

Postado
  • Autor

 

[.spoiler]mensagem[./spoiler]

sem os pontos.

Mas enfim, baixarei os arquivos.

EDIT: em IconSys.lua, troque:

local x = icons[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")]
local y = icons[getItemAttribute(getPlayerSlotItem(cid, 3).uid, "poke")]
por:
   local x, y = false, false
    if getPlayerSlotItem(cid, 8) then
        x = icons[getItemAttribute(getPlayerSlotItem(cid, 8).uid, "poke")]
    end
    if getPlayerSlotItem(cid, 3) then
        y = icons[getItemAttribute(getPlayerSlotItem(cid, 3).uid, "poke")]
    end
Troque, também:
   local balls = getItemsInContainerById(bp.uid, 12831) -- Shiny Dark
    if #balls >= 1 then 
        for _, ball in pairs (balls) do
            local x = icons[getItemAttribute(ball, "poke")]
            doTransformItem(ball, x.off)
            doItemSetAttribute(ball, "ball", "Icone")
            doItemSetAttribute(ball, "morta", "yes")
            doItemSetAttribute(ball, "Icone", "yes")
        end 
    end
por:
   local balls = getItemsInContainerById(bp.uid, 12831) -- Shiny Dark
    if #balls >= 1 then 
        for _, ball in pairs (balls) do
            local x = icons[getItemAttribute(ball, "poke")]
            if x and x.off then
                doTransformItem(ball, x.off)
                doItemSetAttribute(ball, "ball", "Icone")
                doItemSetAttribute(ball, "morta", "yes")
                doItemSetAttribute(ball, "Icone", "yes")
            end
        end 
    end

Se o erro ao logar permanecer, procure pelo código da função onPokeHealthChange(cid).

 

 olha como que está agora, e toda vez que eu logo forma a imagem do coins no chão http://prntscr.com/66gwqr

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.7k

Informação Importante

Confirmação de Termo