Ir para conteúdo

Posts Recomendados

Iae pessoal do Xtibia aqui estou eu de novo XD Então estou com um erro ao dar loader No Abra, Erro a baixo:

[02/11/2012 20:56:43] [Warning - Monsters::loadMonster] Cannot load monster (Abra) file (data/monster/pokes/geracao 1/Abra.xml).

[02/11/2012 20:56:43] Line: 41, Info: Premature end of data in tag monster line 2

Este erro apareceu depois que eu Adicionei ataques ao Abra.Resumindo eu quero deixar os ataques e tirar o erro.REP+ Pra quem ajudar.



 

Script Do abra:

<?xml version="1.0" encoding="UTF-8"?>

<monster name="Abra" nameDescription="a abra" race="psychic" experience="204" speed="104" manacost="0">

<health now="45" max="45"/>

<look type="613" head="10" body="30" legs="95" feet="113" corpse="11838"/>

<targetchange interval="10000" chance="0"/>

<strategy attack="100" defense="0"/>

<flags>

<flag summonable="1"/>

<flag attackable="1"/>

<flag hostile="1"/>

<flag illusionable="1"/>

<flag convinceable="1"/>

<flag pushable="1"/>

<flag canpushitems="0"/>

<flag canpushcreatures="0"/>

<flag targetdistance="3"/>

<flag staticattack="100"/>

<flag runonhealth="0"/>

<flag hungerdelay="24"/>

</flags>

<attacks>

<attack name="physical" interval="2000" chance="100" range="4" min="-50" max="-100">

<attribute key="shootEffect" value="eartharrow"/>

<attack name="Confusion" interval="2617" chance="35" range="6"/>

<attack name="Restore" interval="3500" chance="25" range="6"/>

<attack name="Psy Pulse" interval="2852" chance="29" range="4"/>

<attack name="Psycho Shift" interval="3040" chance="29" range="8"/>

<attack name="Thunder Punch" interval="2946" chance="28" range="1">

</attacks>

<defenses armor="0" defense="0"/>

<voices interval="5000" chance="10">

<voice sentence="ABRA!"/>

</voices>

<loot>

<item id="12194" chance="4000" chance1="129" chancemax="156" count="1" countmax="1"/>

</loot>

<script>

<event name="Spawn"/>

</script>

</monster>

Link para o comentário
https://xtibia.com/forum/topic/198097-encerrado-ajuda-poketibia-erro-ao-dar-loader-no-abra/
Compartilhar em outros sites

Troca por isso


<?xml version="1.0" encoding="UTF-8"?>
<monster name="Abra" nameDescription="a abra" race="psychic" experience="204" speed="104" manacost="0">
<health now="45" max="45"/>
<look type="613" head="10" body="30" legs="95" feet="113" corpse="11838"/>
<targetchange interval="10000" chance="0"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="1"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="1"/>
<flag pushable="1"/>
<flag canpushitems="0"/>
<flag canpushcreatures="0"/>
<flag targetdistance="3"/>
<flag staticattack="100"/>
<flag runonhealth="0"/>
<flag hungerdelay="24"/>
</flags>
<attacks>
<attack name="physical" interval="2000" chance="100" range="4" min="-50" max="-100"/>
<attribute key="shootEffect" value="eartharrow"/>
<attack name="Confusion" interval="2617" chance="35" range="6"/>
<attack name="Restore" interval="3500" chance="25" range="6"/>
<attack name="Psy Pulse" interval="2852" chance="29" range="4"/>
<attack name="Psycho Shift" interval="3040" chance="29" range="8"/>
<attack name="Thunder Punch" interval="2946" chance="28" range="1">
</attacks>
<defenses armor="0" defense="0"/>
<voices interval="5000" chance="10">
<voice sentence="ABRA!"/>
</voices>
<loot>
<item id="12194" chance="4000" chance1="129" chancemax="156" count="1" countmax="1"/>
</loot>
<script>
<event name="Spawn"/>
</script>
</monster>

 

Era um erro nessa linha

<attack name="physical" interval="2000" chance="100" range="4" min="-50" max="-100">

Esta faltando o / pra fechar o <

 

só tinha o >

Editado por Cleberadm

ta faltando aki tb..

<attack name="Thunder Punch" interval="2946" chance="28" range="1">

 

e thunder punch? serio? kkk

deixa assim..

<attack name="Thunder Punch" interval="2946" chance="28" range="1"/> 

 

ou n.. o.O

Editado por Slicer
  • 5 years later...
A questão neste tópico de suporte foi encerrada por falta de respostas. Este tópico está fechado e foi movido para Suporte - Tópicos Sem Resposta.

+ Caso a dúvida não tenha sido resolvida você poderá criar outro tópico solicitando ajuda.
* Lembre-se que é permitido dar UP no tópico a cada 24 horas para assim o destacar e manter movimentado.
Visitante
Este tópico está impedido de receber novos posts.
×
×
  • Criar Novo...