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 >






info
Grupo: Campones
Registrado: 22/10/11
Posts: 9
Reputação: 0
[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>