Ir para conteúdo
  • Cadastre-se

(Resolvido)(Resolvido) -=[TFS]=- 0.4 8.60 [Error - CreatureScript Interface] buffer:onStatsChange Description: (luaGetThingPosition) Thing not found


Ir para solução Resolvido por L3K0T,

Posts Recomendados

Eu to com uma dificuldade imensa pra quebra a linha desse script eu não consigo resolve eu fiz o que optaram mais mesmo assim continua o erro.

 

Mata o monstro ele trava quando mata ai ele fica sem nome sem vida ai cai no chão e da esse erro ai aparece isso em sequencia no console GUI.

 

 

[11/08/2023 12:15:02] [Error - CreatureScript Interface] 
[11/08/2023 12:15:02] buffer:onStatsChange
[11/08/2023 12:15:03] Description: 
[11/08/2023 12:15:03] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:03] [Error - CreatureScript Interface] 
[11/08/2023 12:15:03] buffer:onStatsChange
[11/08/2023 12:15:04] Description: 
[11/08/2023 12:15:04] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:04] [Error - CreatureScript Interface] 
[11/08/2023 12:15:05] buffer:onStatsChange
[11/08/2023 12:15:05] Description: 
[11/08/2023 12:15:05] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:06] [Error - CreatureScript Interface] 
[11/08/2023 12:15:06] buffer:onStatsChange
[11/08/2023 12:15:06] Description: 
[11/08/2023 12:15:06] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:07] [Error - CreatureScript Interface] 
[11/08/2023 12:15:07] buffer:onStatsChange
[11/08/2023 12:15:07] Description: 
[11/08/2023 12:15:07] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:08] [Error - CreatureScript Interface] 
[11/08/2023 12:15:08] buffer:onStatsChange
[11/08/2023 12:15:08] Description: 
[11/08/2023 12:15:09] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:09] [Error - CreatureScript Interface] 
[11/08/2023 12:15:09] buffer:onStatsChange
[11/08/2023 12:15:09] Description: 
[11/08/2023 12:15:10] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:10] [Error - CreatureScript Interface] 
[11/08/2023 12:15:10] buffer:onStatsChange
[11/08/2023 12:15:11] Description: 
[11/08/2023 12:15:11] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:11] [Error - CreatureScript Interface] 
[11/08/2023 12:15:12] buffer:onStatsChange
[11/08/2023 12:15:12] Description: 
[11/08/2023 12:15:12] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:12] [Error - CreatureScript Interface] 
[11/08/2023 12:15:13] buffer:onStatsChange
[11/08/2023 12:15:13] Description: 
[11/08/2023 12:15:13] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:14] [Error - CreatureScript Interface] 
[11/08/2023 12:15:14] buffer:onStatsChange
[11/08/2023 12:15:14] Description: 
[11/08/2023 12:15:14] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:15] [Error - CreatureScript Interface] 
[11/08/2023 12:15:15] buffer:onStatsChange
[11/08/2023 12:15:15] Description: 
[11/08/2023 12:15:15] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:16] [Error - CreatureScript Interface] 
[11/08/2023 12:15:16] buffer:onStatsChange
[11/08/2023 12:15:17] Description: 
[11/08/2023 12:15:17] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:17] [Error - CreatureScript Interface] 
[11/08/2023 12:15:18] buffer:onStatsChange
[11/08/2023 12:15:18] Description: 
[11/08/2023 12:15:18] (luaGetThingPosition) Thing not found
[11/08/2023 12:15:24] > Broadcasted message: "[Skill] O nosso servidor conta com magias especiais, digite Fusion Buff e receba +50 de skill e regenen de mana/life por segundo.".

[11/08/2023 12:15:41] [Error - CreatureScript Interface] 
[11/08/2023 12:15:42] buffer:onStatsChange
[11/08/2023 12:15:42] Description: 
[11/08/2023 12:15:42] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:43] [Error - CreatureScript Interface] 
[11/08/2023 12:15:43] buffer:onStatsChange
[11/08/2023 12:15:43] Description: 
[11/08/2023 12:15:43] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:44] [Error - CreatureScript Interface] 
[11/08/2023 12:15:44] buffer:onStatsChange
[11/08/2023 12:15:44] Description: 
[11/08/2023 12:15:44] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:45] [Error - CreatureScript Interface] 
[11/08/2023 12:15:45] buffer:onStatsChange
[11/08/2023 12:15:45] Description: 
[11/08/2023 12:15:46] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:46] [Error - CreatureScript Interface] 
[11/08/2023 12:15:46] buffer:onStatsChange
[11/08/2023 12:15:47] Description: 
[11/08/2023 12:15:47] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:47] [Error - CreatureScript Interface] 
[11/08/2023 12:15:48] buffer:onStatsChange
[11/08/2023 12:15:48] Description: 
[11/08/2023 12:15:48] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:49] [Error - CreatureScript Interface] 
[11/08/2023 12:15:49] buffer:onStatsChange
[11/08/2023 12:15:49] Description: 
[11/08/2023 12:15:49] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:50] [Error - CreatureScript Interface] 
[11/08/2023 12:15:50] buffer:onStatsChange
[11/08/2023 12:15:50] Description: 
[11/08/2023 12:15:50] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:51] [Error - CreatureScript Interface] 
[11/08/2023 12:15:51] buffer:onStatsChange
[11/08/2023 12:15:51] Description: 
[11/08/2023 12:15:52] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:52] [Error - CreatureScript Interface] 
[11/08/2023 12:15:52] buffer:onStatsChange
[11/08/2023 12:15:52] Description: 
[11/08/2023 12:15:53] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:53] [Error - CreatureScript Interface] 
[11/08/2023 12:15:53] buffer:onStatsChange
[11/08/2023 12:15:54] Description: 
[11/08/2023 12:15:54] (luaGetThingPosition) Thing not found

[11/08/2023 12:15:54] [Error - CreatureScript Interface] 
[11/08/2023 12:15:55] buffer:onStatsChange
[11/08/2023 12:15:55] Description: 
[11/08/2023 12:15:55] (luaGetThingPosition) Thing not found

 

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

91-thais.png

Link para o post
Compartilhar em outros sites
  • Respostas 17
  • Created
  • Última resposta

Top Posters In This Topic

Top Posters In This Topic

Popular Posts

Remove os script 1 por 1 que contém onstatschange no xml do cresturescripts, inclusive de eventos, é um deles que está dando esse erro... e testa sem ele, depois mata  um monstro e vê se some. Aquele que vc excluir da tag xml sumir, ai vc manda aqui

Eu ja fiz isso não resolveu mais mesmo assim muito obrigado LEKOT pelo suporte.

Lembre-se você não precisa aguardar a equipe aprovar seu novo comentário, você pode editar o seu último comentário e mencionar membros, eles serão notificados.

  • Sub-Admin

testa esse onstatschange pois creio que no seu esteja "getCreaturePos" que não existe no seu server, então mudei para "getCreaturePosition"

 

function onStatsChange(cid, attacker, type, combat, value)
    if type == STATSCHANGE_HEALTHLOSS or type == STATSCHANGE_MANALOSS then
        if isCreature(attacker) and isCreature(cid) then
            local attackerPosition = getCreaturePosition(attacker)
            if attackerPosition then
                local playerLvlCrit = getPlayerStorageValue(attacker, LVL_CRIT_STORAGE)
                if playerLvlCrit ~= -1 then
                    local critThreshold = playerLvlCrit * 3
                    local randomValue = math.random(0, 1000)

                    if critThreshold >= randomValue then
                        local boostedDamage = math.ceil(value * (MULTIPLIER - 1))
                        doTargetCombatHealth(attacker, cid, combat, -boostedDamage, -boostedDamage, boostedDamage)
                        doSendAnimatedText(attackerPosition, "+BOOSTER", 1000)
                        return false
                    end
                end
            else      
            end
        end
    end
    return true
end
 

 

 

20230912_034613.png.cf49b650c34dd7d7b1f79bd49c70f53c.png

Eu sou um entusiasta da programação apaixonado por ajudar a comunidade open source a crescer. Sempre em busca de novos desafios e oportunidades para contribuir com meu código.  #OpenSource #Programação #Contribuição

 

Link para o post
Compartilhar em outros sites

da mesmo erro monstro travam e da erro no console

91-thais.png

Link para o post
Compartilhar em outros sites
  • Sub-Admin
  • Solução
15 minutos atrás, Muvuka disse:

da mesmo erro monstro travam e da erro no console

Remove os script 1 por 1 que contém onstatschange no xml do cresturescripts, inclusive de eventos, é um deles que está dando esse erro... e testa sem ele, depois mata  um monstro e vê se some. Aquele que vc excluir da tag xml sumir, ai vc manda aqui

 

20230912_034613.png.cf49b650c34dd7d7b1f79bd49c70f53c.png

Eu sou um entusiasta da programação apaixonado por ajudar a comunidade open source a crescer. Sempre em busca de novos desafios e oportunidades para contribuir com meu código.  #OpenSource #Programação #Contribuição

 

Link para o post
Compartilhar em outros sites
  • Muvuka mudou o título para (Resolvido) -=[TFS]=- 0.4 8.60 [Error - CreatureScript Interface] buffer:onStatsChange Description: (luaGetThingPosition) Thing not found

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.

  • Quem Está Navegando   0 membros estão online

    Nenhum usuário registrado visualizando esta página.

  • Estatísticas dos Fóruns

    96846
    Tópicos
    519603
    Posts



×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo