Ir para conteúdo
  • Cadastre-se

Posts Recomendados

Começo a aparecer esse erro no distro, alguem saberia me dizer oque é e como arruma?

 

[0:4:54.733] [Error - CreatureScript Interface] 
[0:4:54.733] local slotPos = {CONST_SLOT_NECKLACE, CONST_SLOT_FEET, CONST_SLOT_RING}
[0:4:54.733]    
[0:4:54.733] function onStatsChange(cid, attacker, type, combat, value)
[0:4:54.733]            local reflectPercent = 0
[0:4:54.733]    local dmg = value
[0:4:54.733]    local playerPos = getCreaturePosition(cid)
[0:4:54.733]    local attackerPos = getCreaturePosition(attacker)
 
[0:4:54.733]    for i = 1, #slotPos do
[0:4:54.733]            if getPlayerSlotItem(cid, slotPos).uid > 1 then
[0:4:54.734]                    if getItemReflectPercent(getPlayerSlotItem(cid, slotPos).uid) then
[0:4:54.734]                            reflectPercent = reflectPercent + getItemReflectPercent(getPlayerSlotItem(cid, slotPos).uid)
[0:4:54.734]                    end
[0:4:54.734]            end
[0:4:54.734]    end
[0:4:54.734]    
[0:4:54.734]    if reflectPercent > 0 then
[0:4:54.734]            dmg = math.ceil(-value*((100-reflectPercent)/100))
[0:4:54.734]            if (dmg < 0) then
[0:4:54.734]                    doCreatureAddHealth(cid, dmg)   
[0:4:54.734]                    doSendAnimatedText(playerPos, -dmg, COLOR_RED)
[0:4:54.734]                    doSendMagicEffect(playerPos, 0) 
[0:4:54.734]            else
[0:4:54.734]                    doSendMagicEffect(playerPos, 3)
[0:4:54.734]            end
 
[0:4:54.734]            dmg = math.ceil(-value*(reflectPercent/100))
[0:4:54.734]            if (dmg < 0) then
[0:4:54.734]                    doCreatureAddHealth(attacker, dmg)
[0:4:54.734]                    doSendAnimatedText(attackerPos, -dmg, COLOR_RED)
[0:4:54.734]                    doSendDistanceShoot(playerPos, attackerPos, CONST_ANI_SMALLHOLY)
[0:4:54.734]            end
[0:4:54.734]    else
[0:4:54.734]            return true
[0:4:54.734]    end
[0:4:54.734] end:onStatsChange
[0:4:54.734] Description: 
[0:4:54.734] (luaGetThingPosition) Thing not found

Link para o post
Compartilhar em outros sites

Posta o script aí..

                                                                     Ajudei? De nada \o/                                            Att Rusherzin

Link para o post
Compartilhar em outros sites

[Error - CreatureScript Interface] 

 

é um erro no creaturescripts, poste um spoiler de seu creaturescripts.xml

SOU: Exelente Mapper

ENTENDO DE: Scripts/Programação

 

OT'S  EM  GERAL!

 ~ Playing Every Day ~ START IN VERSION: 7.1 ~

Link para o post
Compartilhar em outros sites

Desculpa a demora para responder, ai está a creaturescripts.xml

<?xml version="1.0" encoding="UTF-8" ?>
- <creaturescripts>
  <event type="death" name="SkullAmulet" event="script" value="preparedeath.lua" />
  <event type="login" name="PlayerLogin" event="script" value="login.lua" />
  <event type="login" name="AntiMbCrash" event="script" value="antimbcrash.lua" />
  <event type="kill" name="killitem" event="script" value="lootkill.lua" />
  <event type="logout" name="perderefeito" event="script" value="perderefeito.lua" />
  <event type="statschange" name="zombieevent" event="script" value="zombie event.lua" />
  <event type="death" name="guardablood" event="script" value="BloodCreatureGuarda.lua" />
  <event type="death" name="arcanjoblood" event="script" value="BloodCreatureAnjo.lua" />
  <event type="death" name="morrerblood" event="script" value="BloodCreature.lua" />
  <event type="death" name="loginblood" event="script" value="BloodCreature.lua" />
  <event type="login" name="BattleLogin" event="script" value="BattleCreatureScript.lua" />
  <event type="PrepareDeath" name="BattleDeath" event="script" value="BattleCreatureScript.lua" />
  <event type="combat" name="BattleTeam" event="script" value="BattleCreatureScript.lua" />
  <event type="death" name="DeathBroadcast" event="script" value="deathBroadcast.lua" />
  <event type="statschange" name="dodgecombat" event="script" value="dodgecombat.lua" />
  <event type="kill" name="pvpsystem" event="script" value="pvpsystem.lua" />
  <event type="login" name="AntiMageBomb" event="script" value="antimagebomb.lua" />
  <event type="login" name="CheckMcManager" event="script" value="checkmcmanager.lua" />
  <event type="login" name="antiacc" event="script" value="antiacc.lua" />
  <event type="login" name="Mensagem" script="msg.lua" />
  <event type="login" name="FragsGuildLogin" script="GuildFragsLogin.lua" />
  <event type="kill" name="FragsGuildKill" script="GuildFragsKill.lua" />
  <event type="advance" name="PointSystem" event="script" value="PointsSystem.lua" />
  <event type="kill" name="petKill" event="script" value="petkill.lua" />
  <event type="death" name="petDeath" event="script" value="petdeath.lua" />
  <event type="statschange" name="petStats" event="script" value="petstats.lua" />
  <event type="think" name="TiraBattle" event="script" value="tirabattle.lua" />
  <event type="login" name="HeadshotLogin" event="script" value="headshot.lua" />
  <event type="statschange" name="HeadshotCritical" event="script" value="headshot.lua" />
  <event type="statschange" name="ReflectSpellKnight" event="script" value="spells/reflectknight.lua" />
  <event type="statschange" name="ReflectSpellPally" event="script" value="spells/reflectpally.lua" />
  <event type="statschange" name="ReflectSpellMage" event="script" value="spells/reflectmage.lua" />
  <event type="logout" name="CTFLogout" event="script" value="CTFMax.lua" />
  <event type="combat" name="CTFCombat" event="script" value="CTFMax.lua" />
  <event type="attack" name="CTFAttack" event="script" value="CTFMax.lua" />
  <event type="statschange" name="CTFDeath" event="script" value="CTFMax.lua" />
  <event type="login" name="SurvivalOfTheFittestLogin" script="fittest.lua" />
  <event type="death" name="SurvivalOfTheFittest" script="fittest.lua" />
  <event type="login" name="AntiMc" event="script" value="antimc.lua" />
  <event type="login" name="AuraLogin" script="auralogin.lua" />
  <event type="death" name="deathnoob" event="script" value="noobsay.lua" />
  <event type="death" name="huntdeath" event="script" value="death.lua" />
  <event type="logout" name="loguthunt" event="script" value="logouthunt.lua" />
  <event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua" />
  <event type="receivemail" name="Mail" event="script" value="mail.lua" />
  <event type="reportbug" name="SaveReportBug" script="reportbug.lua" />
  <event type="preparedeath" name="forever amulet" event="script" value="aol.lua" />
  <event type="death" name="teleportmonster" script="tpmonster.lua" />
  <event type="think" name="Idle" event="script" value="idle.lua" />
  <event type="think" name="SkullCheck" event="script" value="skullcheck.lua" />
  <event type="death" name="PlayerDeath" event="script" value="playerdeath.lua" />
  <event type="login" name="FirstItems" event="script" value="firstitems.lua" />
  <event type="login" name="fraglook_register" event="script" value="fraglook.lua" />
  <event type="look" name="fraglook" event="script" value="fraglook.lua" />
  <event type="PrepareDeath" name="pvparena" script="pvparena.lua" />
  <event type="attack" name="attackguild" script="attackguild.lua" />
  <event type="death" name="incendio" script="incendioMonster.lua" />
- <!--
Addons
  -->
  <event type="death" name="teleportmonster2" script="tpmonster2.lua" />
- <!--
 Jack Sparrow 
  -->
  <event type="death" name="teleportmonster3" script="tpmonster3.lua" />
- <!--
 Orochimaru 
  -->
  <event type="death" name="teleportmonster4" script="tpmonster4.lua" />
- <!--
 Merlin 
  -->
  <event type="death" name="teleportmonster5" script="tpmonster5.lua" />
- <!--
 Constantine 
  -->
  <event type="death" name="teleportmonster6" script="tpmonster6.lua" />
- <!--
 Conan o Barbaro 
  -->
  <event type="death" name="teleportmonster7" script="tpmonster7.lua" />
- <!--
 Konga 
  -->
  <event type="death" name="teleportmonster8" script="tpmonster8.lua" />
- <!--
 Esquimoh 
  -->
  <event type="death" name="teleportmonster9" script="tpmonster9.lua" />
- <!--
 Lament of Innocence 
  -->
  <event type="death" name="teleportmonster10" script="tpmonster10.lua" />
- <!--
 King Arthur 
  -->
  <event type="death" name="teleportmonster11" script="tpmonster11.lua" />
- <!--
 Drako 
  -->
  <event type="death" name="teleportmonster12" script="tpmonster12.lua" />
- <!--
 Chaos 
  -->
  <event type="death" name="teleportmonster13" script="tpmonster13.lua" />
- <!--
 Alucard 
  -->
  <event type="death" name="teleportmonster14" script="tpmonster14.lua" />
- <!--
 Symphony of the Night 
  -->
  <event type="death" name="teleportmonster15" script="tpmonster15.lua" />
- <!--
 Espirito da Natureza 
  -->
  <event type="death" name="teleportmonster16" script="tpmonster16.lua" />
- <!--
 Catatau 
  -->
  <event type="death" name="teleportmonster17" script="tpmonster17.lua" />
- <!--
 Moby Dick 
  -->
  <event type="death" name="teleportmonster18" script="tpmonster18.lua" />
- <!--
 Coringa 
  -->
  <event type="death" name="teleportmonster19" script="tpmonster19.lua" />
- <!--
 Robin Hood 
  -->
  <event type="death" name="teleportmonster20" script="tpmonster20.lua" />
- <!--
 Belmont's Revenge 
  -->
  <event type="death" name="teleportmonster21" script="tpmonster21.lua" />
- <!--
 Gaia 
  -->
  <event type="death" name="teleportmonster22" script="tpmonster22.lua" />
- <!--
 Gentleman 
  -->
- <!--
Arena
  -->
  <event type="death" name="teleportarena1" script="tparena1.lua" />
- <!--
 Elemental quest 
  -->
  <event type="death" name="teleportmonster23" script="tpmonster23.lua" />
- <!--
 Massive Energy Elemental 
  -->
  <event type="death" name="teleportmonster24" script="tpmonster24.lua" />
- <!--
 Massive Earth Elemental 
  -->
  <event type="death" name="teleportmonster25" script="tpmonster25.lua" />
- <!--
 Massive Fire Elemental 
  -->
  <event type="death" name="teleportmonster26" script="tpmonster26.lua" />
- <!--
 Massive Water Elemental 
  -->
  </creaturescripts>


 

Posta o script aí..

 

Postei está ai em cima

Editado por Amanditaah (veja o histórico de edições)
Link para o post
Compartilhar em outros sites

O erro esta nos seguintes arquivos :


<event type="statschange" name="ReflectSpellKnight" event="script" value="spells/reflectknight.lua" />

  <event type="statschange" name="ReflectSpellPally" event="script" value="spells/reflectpally.lua" />
  <event type="statschange" name="ReflectSpellMage" event="script" value="spells/reflectmage.lua" />

Senhoras e senhores, se alguma resposta lhe ajudou, marque-a como a melhor resposta e de ponto positivo, assim você incentiva quem lhe ajudou a continuar ajudando!!.

Link para o post
Compartilhar em outros sites

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.

×
×
  • Criar Novo...

Informação Importante

Confirmação de Termo