Postado Setembro 29, 2015 9 anos Bom como o titulo ja fala tudo! Erro referido a um monstro :/ uso base 8.54 tfs 0.3.6 Valendo Rep+ Erro: [Warning - Monsters::loadMonster] Cannot load monster (Torcedor) file (data/monster/pokes/System/torcedor.xml). [29/09/2015 13:30:00] Line: 19, Info: Extra content at the end of the document Script: <?xml version="1.0" encoding="UTF-8"?> <monster name="Torcedor" nameDescription="a torcedor" race="blood" experience="0" speed="0" manacost="250"> <health now="20" max="20"/> <look type="255" head="114" body="132" legs="132" feet="132" corpse="6080"/> <targetchange interval="2000" chance="20"/> <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="1"/> <flag staticattack="90"/> <flag runonhealth="20"/> </flag></flag></flag></flag></flag></flag></flag></flag></flag></flag></flag></flags> <attacks> <attack name="melee" interval="2000" skill="0" attack="0"> </attack></attacks> <defenses armor="1" defense="2"> <elements> <element firepercent="-10"> </element></elements> <voices interval="5000" chance="10"> </voices> <loot> <item id="3976" countmax="10" chance="50000"><!-- worm --> <item id="2666" countmax="3" chance="80000"><!-- meat --> <item id="2671" countmax="2" chance="70000"><!-- ham --> </item></item></item></loot> </defenses></strategy></targetchange></look></health></monster> Tag .xml: <monster name="Torcedor" file="pokes/System/torcedor.xml"/> Editado Setembro 29, 2015 9 anos por Sepultura (veja o histórico de edições)
Postado Setembro 29, 2015 9 anos Tente: <?xml version="1.0" encoding="UTF-8"?> <monster name="Torcedor" nameDescription="a torcedor" race="blood" experience="0" speed="0" manacost="250"> <health now="20" max="20"/> <look type="255" head="114" body="132" legs="132" feet="132" corpse="6080"/> <targetchange interval="2000" chance="20"/> <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="1"/> <flag staticattack="90"/> <flag runonhealth="20"/> </flags> <attacks> <attack name="melee" interval="2000" skill="0" attack="0"> </attack></attacks> <defenses armor="1" defense="2"> <elements> <element firepercent="-10"> </element></elements> <voices interval="5000" chance="10"> </voices> <loot> <item id="3976" countmax="10" chance="50000"><!-- worm --> <item id="2666" countmax="3" chance="80000"><!-- meat --> <item id="2671" countmax="2" chance="70000"><!-- ham --> </item></item></item></loot> </defenses></strategy></targetchange></look></health></monster> Editado Setembro 29, 2015 9 anos por Absolute (veja o histórico de edições)
Postado Setembro 29, 2015 9 anos Autor Tente: <?xml version="1.0" encoding="UTF-8"?> <monster name="Torcedor" nameDescription="a torcedor" race="blood" experience="0" speed="0" manacost="250"> <health now="20" max="20"/> <look type="255" head="114" body="132" legs="132" feet="132" corpse="6080"/> <targetchange interval="2000" chance="20"/> <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="1"/> <flag staticattack="90"/> <flag runonhealth="20"/> </flags> <attacks> <attack name="melee" interval="2000" skill="0" attack="0"> </attack></attacks> <defenses armor="1" defense="2"> <elements> <element firepercent="-10"> </element></elements> <voices interval="5000" chance="10"> </voices> <loot> <item id="3976" countmax="10" chance="50000"><!-- worm --> <item id="2666" countmax="3" chance="80000"><!-- meat --> <item id="2671" countmax="2" chance="70000"><!-- ham --> </item></item></item></loot> </defenses></strategy></targetchange></look></health></monster> Da esse erro ai :/ [Warning - Monsters::loadMonster] Cannot load monster (Torcedor) file (data/monster/pokes/System/torcedor.xml). [29/09/2015 14:07:32] Line: 34, Info: Extra content at the end of the document
Postado Setembro 29, 2015 9 anos Solução <?xml version="1.0" encoding="UTF-8"?> <monster name="Torcedor" nameDescription="a torcedor" race="blood" experience="0" speed="0" manacost="250"> <health now="20" max="20"/> <look type="255" head="114" body="132" legs="132" feet="132" corpse="6080"/> <targetchange interval="2000" chance="20"/> <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="1"/> <flag staticattack="90"/> <flag runonhealth="20"/> </flags> <attacks> <attack name="melee" interval="2000" skill="0" attack="0"/> </attacks> <defenses armor="1" defense="2"/> <elements> <element firepercent="-10"/> </elements> <voices interval="5000" chance="10"> </voices> <loot> <item id="3976" countmax="10" chance="50000"/> <!-- worm --> <item id="2666" countmax="3" chance="80000"/> <!-- meat --> <item id="2671" countmax="2" chance="70000"/> <!-- ham --> </loot> </monster>
Postado Setembro 29, 2015 9 anos Da esse erro ai :/ [Warning - Monsters::loadMonster] Cannot load monster (Torcedor) file (data/monster/pokes/System/torcedor.xml). [29/09/2015 14:07:32] Line: 34, Info: Extra content at the end of the document sim, agora seu erro foi outro em outra linha, mais abaixo do script rs
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.