Ir para conteúdo

Posts Recomendados

Postado

Então, o meu server sempre da o mesmo erro que é o seguinte :

56a2fe95b5e76_Semttulo.jpg.e8f5351d451de

 

aqui está o script ringseller.lua na linha 344 e linha 18:

 

 

function onCreatureSay(cid, type, msg)		npcHandler:onCreatureSay(cid, type, msg)		end     << linha 18


 // resto do código

                       if not doPlayerWithdrawMoney(cid, count[cid]) then
                                      selfSay("There is not enough gold on your account. Your account balance is " .. getPlayerBalance(cid) .. ".Please tell me the amount of gold coins you would like to withdraw.", cid)
                                       talkState[cid] = 0
                        else
                                       selfSay("Here you are, " .. count[cid] .. " gold. Please let me know if there is something else I can do for you.", cid)
                                       talkState[cid] = 0
                                       doPlayerSave(cid)    << linha 344
                        end

 E aqui está o script npchandler.lua linha 410

 

if self.keywordHandler ~= nil then
                    if self:isFocused(cid) and msgtype == TALKTYPE_PRIVATE_PN or not self:isFocused(cid) then
                        local ret = self.keywordHandler:processMessage(cid, msg)
                        if(not ret) then
                            local callback = self:getCallback(CALLBACK_MESSAGE_DEFAULT)
                            if callback ~= nil and callback(cid, msgtype, msg) then  << linha 410
                                self.talkStart[cid] = os.time()
                            end
                        else
                            self.talkStart[cid] = os.time()
                        end
                    end
                end
            end
        end
    end

 

Alguém sabe o porque do erro? 

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

×   Você colou conteúdo com formatação.   Remover formatação

  Apenas 75 emojis são permitidos.

×   Seu link foi automaticamente incorporado.   Mostrar como link

×   Seu conteúdo anterior foi restaurado.   Limpar o editor

×   Não é possível colar imagens diretamente. Carregar ou inserir imagens do URL.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo