DI
poketibia

[Encerrado] (Ajuda Poketibia) Erro Ao Dar Loader No Abra.

Por diogodt, 02 de nov. de 2012 em Tópicos Sem Resposta

poketibia pokemon erro abra
otserv
tibia
script
7
1k
diogodtD
02 de novembro de 2012 às 21:27

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>

Session StartS
02 de novembro de 2012 às 21:32

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 Novembro 2 por Cleberadm

diogodtD
02 de novembro de 2012 às 21:50

@Cleberadm

 

 

Vlw vei Amanha te dou REP+ O de hoje eu já gastei mas amanha eu te dou REP Obrigado mesmo >.<

SlicerS
02 de novembro de 2012 às 21:51

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 Novembro 2 por Slicer

diogodtD
02 de novembro de 2012 às 22:07

@Slicer

 

Eu tinha botado pra testar XDD Eu não tinha visto lá

o.O Vlw, por isso tava dando erro aqui de novo, Obrigado aos dois.

SlicerS
02 de novembro de 2012 às 22:09

nds ^^ topico movido!

5 anos depois...
StigalS
20 de abril de 2018 às 00:34
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.