Por Felp321, 13 de out. de 2009 em Archived
info
Grupo: Cavaleiro
Registrado: 08/01/08
Posts: 192
Reputação: +1
Char no Tibia: Felp Guardian
Olá.
Alguns dias atrás, criei um monstro chamado The Mad Mage Wies, adicionei ele no monsters.xml e etc, porém, quando fui iniciar meu servidor, ocorreu um problema:
[13/10/2009 19:59:03] [Warning - Monsters::loadMonster] Cannot load monster (The Mad Mage Wies) file (data/monster/dwarves/the mad mage wies.xml). [13/10/2009 19:59:03] Line: 53, Info: Extra content at the end of the document
[13/10/2009 19:59:03] Line: 53, Info: Extra content at the end of the document
Eu queria, caso possível, que vocês me ajudassem nesse script, pois quero muito que ele funcione logo ^^. Segue o script para ajudá-los:
<?xml version="1.0" encoding="UTF-8"?> <monster name="The Mad Mage Wies" nameDescription="The Mad Mage Wies" race="blood" experience="640" speed="220" manacost="433"> <health now="440" max="440"/> <look type="66" head="20" body="30" legs="40" feet="50" corpse="6015"/> <targetchange interval="5000" chance="8"/> <strategy attack="100" defense="0"/> <flags> <flag summonable="0"/> <flag attackable="1"/> <flag hostile="1"/> <flag illusionable="0"/> <flag convinceable="0"/> <flag pushable="0"/> <flag canpushitems="1"/> <flag canpushcreatures="1"/> <flag targetdistance="3"/> <flag staticattack="90"/> <flag runonhealth="30"/> </flags> <attacks> <attack name="melee" interval="2000" min="-0" max="-140"/> <attack name="fire" interval="1000" chance="10" range="7" radius="5" target="1" min="-40" max="-150"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="poisoncondition" interval="1000" chance="25" range="4" min="-5" max="-40"> <attribute key="shooteffect" value="poison"/> </attack> <attack name="fire" interval="1000" chance="10" range="7" radius="1" target="1" min="-50" max="-185"> <attribute key="shootEffect" value="fire"/> <attribute key="areaEffect" value="firearea"/> </attack> <attack name="energyfield" interval="1000" chance="9" range="5" radius="1" target="1"> <attribute key="shootEffect" value="energy"/> </attack> <attack name="energy" interval="2000" chance="5" range="7" radius="1" target="1" min="-50" max="-195"> <attribute key="shootEffect" value="energy"/> <attribute key="areaEffect" value="energy"/> </attack> <attack name="energy" interval="2000" chance="5" range="7" radius="3" target="0" min="-50" max="-195"> <attribute key="shootEffect" value="energy"/> <attribute key="areaEffect" value="energy"/> </attack> </attacks> <defenses armor="33" defense="44"/> <defense name="healing" interval="1000" chance="30" min="50" max="440"> <attribute key="areaEffect" value="blueshimmer"/> </defense> <defense name="speed" interval="1000" chance="8" speedchange="200" duration="4000"> <attribute key="areaeffect" value="redshimmer"/> </defense> </defenses> <elements> <element physicalPercent="20"/> <element firePercent="-50"/> <element earthPercent="-50"/> <element deathPercent="-15"/> <element icePercent="50"/> </elements> <immunities> <immunity physical="0"/> <immunity energy="1"/> <immunity fire="0"/> <immunity poison="0"/> <immunity lifedrain="0"/> <immunity paralyze="0"/> <immunity outfit="0"/> <immunity drunk="0"/> <immunity invisible="1"/> </immunities> <summons maxSummons="2"> <summon name="dwarf geomancer" interval="5000" chance="100"/> </summons> <voices interval="5000" chance="10"> <voice sentence="My magics will kill you! Muahahahaha!"/> <voice sentence="Where is my cat? C'mon little cat!"/> <voice sentence="Fire! Earth! Energy! Kill this pathetic human!"/> </voices> <loot> <item id="3976" countmax="10" chance1="50000" chancemax="0"/> <item id="2148" countmax="67" chance1="100000" chancemax="0"/> <item id="2483" chance="20000"/> <item id="2417" chance="33333"/> <item id="2387" chance="25000"/> <item id="2787" countmax="3" chance1="33333" chancemax="0"/> <item id="1987" chance="100000"> <inside> <item id="5880" chance="2500" countmax="2" /> -- iron ore <item id="2148" countmax="15" chance1="90000" chancemax="0"/> <item id="2459" chance="10000"/> <item id="2513" chance="6666"/> <item id="2150" countmax="2" chance1="4000" chancemax="0"/> <item id="2378" chance="5000"/> <item id="2169" chance="2500"/> </inside> </item> </loot> </monster>
<monster name="The Mad Mage Wies" nameDescription="The Mad Mage Wies" race="blood" experience="640" speed="220" manacost="433">
<health now="440" max="440"/>
<look type="66" head="20" body="30" legs="40" feet="50" corpse="6015"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="1"/>
<flag targetdistance="3"/>
<flag staticattack="90"/>
<flag runonhealth="30"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-0" max="-140"/>
<attack name="fire" interval="1000" chance="10" range="7" radius="5" target="1" min="-40" max="-150">
<attribute key="shootEffect" value="fire"/>
<attribute key="areaEffect" value="firearea"/>
</attack>
<attack name="poisoncondition" interval="1000" chance="25" range="4" min="-5" max="-40">
<attribute key="shooteffect" value="poison"/>
<attack name="fire" interval="1000" chance="10" range="7" radius="1" target="1" min="-50" max="-185">
<attack name="energyfield" interval="1000" chance="9" range="5" radius="1" target="1">
<attribute key="shootEffect" value="energy"/>
<attack name="energy" interval="2000" chance="5" range="7" radius="1" target="1" min="-50" max="-195">
<attribute key="areaEffect" value="energy"/>
<attack name="energy" interval="2000" chance="5" range="7" radius="3" target="0" min="-50" max="-195">
</attacks>
<defenses armor="33" defense="44"/>
<defense name="healing" interval="1000" chance="30" min="50" max="440">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="8" speedchange="200" duration="4000">
<attribute key="areaeffect" value="redshimmer"/>
</defenses>
<elements>
<element physicalPercent="20"/>
<element firePercent="-50"/>
<element earthPercent="-50"/>
<element deathPercent="-15"/>
<element icePercent="50"/>
</elements>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="0"/>
<immunity paralyze="0"/>
<immunity outfit="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<summons maxSummons="2">
<summon name="dwarf geomancer" interval="5000" chance="100"/>
</summons>
<voices interval="5000" chance="10">
<voice sentence="My magics will kill you! Muahahahaha!"/>
<voice sentence="Where is my cat? C'mon little cat!"/>
<voice sentence="Fire! Earth! Energy! Kill this pathetic human!"/>
</voices>
<loot>
<item id="3976" countmax="10" chance1="50000" chancemax="0"/>
<item id="2148" countmax="67" chance1="100000" chancemax="0"/>
<item id="2483" chance="20000"/>
<item id="2417" chance="33333"/>
<item id="2387" chance="25000"/>
<item id="2787" countmax="3" chance1="33333" chancemax="0"/>
<item id="1987" chance="100000">
<inside>
<item id="5880" chance="2500" countmax="2" /> -- iron ore
<item id="2148" countmax="15" chance1="90000" chancemax="0"/>
<item id="2459" chance="10000"/>
<item id="2513" chance="6666"/>
<item id="2150" countmax="2" chance1="4000" chancemax="0"/>
<item id="2378" chance="5000"/>
<item id="2169" chance="2500"/>
</inside>
</item>
</loot>
</monster>
Atenciosamente,
Felipe.
Editado Outubro 13 por Felp66
Grupo: Campones
Registrado: 28/10/06
Posts: 26
Reputação: 0
na linha 45:
remova a barra no final ficando assim
<defenses armor="33" defense="44">
info
Grupo: Cavaleiro
Registrado: 08/01/08
Posts: 192
Reputação: +1
Char no Tibia: Felp Guardian
Olá.
Alguns dias atrás, criei um monstro chamado The Mad Mage Wies, adicionei ele no monsters.xml e etc, porém, quando fui iniciar meu servidor, ocorreu um problema:
Eu queria, caso possível, que vocês me ajudassem nesse script, pois quero muito que ele funcione logo ^^. Segue o script para ajudá-los:
Atenciosamente,
Felipe.
Editado Outubro 13 por Felp66