Ir para conteúdo
  • 0

Ajuda para encontrar o erro em scripts de monstros


kaizy536

Pergunta

Alguem pode por favor me dizer onde esta o error em cada script?

 

 

Script 1 -

 

 

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

<monster name="Rabbit of Hell" nameDescription="Rabbit of Hell" race="undead" experience="930000000" speed="195">
<health now="60000000" max="60000000"/>
<look type="262" corpse="7349"/>
<targetchange interval="2000" chance="5"/>
<strategy attack="100" defense="0"/>
<flags>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="78"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-2200000" max="-2900000"/>
<attack name="physical" interval="1000" chance="11" length="5" spread="0" min="-100000" max="-500000">
<attribute key="areaEffect" value="energyarea"/>
</attack>
<attack name="speed" interval="1000" chance="10" radius="3" duration="10000" speedchange="-400">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="ice" interval="1000" chance="9" radius="1" target="1" range="5" min="600000" max="-850000">
<attribute key="shootEffect" value="smallice"/>
</attack>
</attacks>
<defenses armor="26" defense="27">
</defenses>
<immunities>
<immunity name="earth"/>
<immunity name="invisible"/>
</immunities>
<elements>
<element firePercent="30"/>
<element energyPercent="-10"/>
<element holyPercent="-15"/>
<element holydeath="-35"/>
</elements>
<inside>
<item id="2393" chance="3800"/> -- giantsword
<item id="2432" chance="3800"/> --fire axe
<item id="2160" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
<item id="2160" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
<item id="2160" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
<item id="2795" countmax="6" chance1="13000"/> --fire mushroom
<item id="2678" countmax="3" chance1="10000" chancemax="0"/> --coconut
<item id="9971" countmax="30" chance1="100000" chancemax="0"/> -- gold coin
<item id="9971" countmax="100" chance1="100000" chancemax="0"/> -- gold coin
<item id="2470" chance="1350"/> --golden legs
</inside>
</item>
</loot>
</monster>
  • Erro:

    Line: 50, Info: Extra content at the end of the document

 

 

 

Script 2 -

 

 

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

<monster name="Dryn" nameDescription="Dryn" race="Fire" experience="650000000" speed="500" manacost="500">
<health now="25000000" max="25000000"/>
<look type="12" head="85" body="85" legs="85" feet="85" corpse="5995" addons="3"/>
<targetchange interval="100" chance="100"/>
<strategy attack="" defense=""/>
<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="1"/>
<flag staticattack="85"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-500000" max="-650000"/>
<attack name="holy" interval="3000" chance="100" range="7" min="-800000" max="-1300000">
<attribute key="shootEffect" value="whirlwindsword"/>
<attribute key="areaEffect" value="holydamage"/>
</attack>
</attacks>
<defenses armor="0" defense="0">
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<summons max="">
</summons>
<voices interval="5000" chance="10">
<voice sentence="Fdp, Vou te pegar" />
</voices>
<loot>
<item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
<item id="2148" countmax="100" chance1="100000" chancemax="0"/> -- gold coins
<item id="2152" countmax="3" chance1="33333" chancemax="2000"/> --Plat
<item id="2514" chance="1900"/> --mastermind shield
<item id="2472" chance="200"/> --magic plate armor
<item id="2795" countmax="6" chance1="7500"/> --Fire Mushroom
<item id="5906" countmax="1" chance="2000"/> -- demon dust
<item id="5954" countmax="1" chance="2345"/> -- demon horn
<item id="2164" chance="2100"/> --might ring
<item id="2176" chance="3500"/> --orb
<item id="1982" chance="1300"/> --purpel tome
<item id="2165" chance="2300"/> --stealth ring
<item id="7591" chance="4500"/> -- GHP
<item id="1987" chance="100000">
<loot>
<item id="2160" countmax="100" chance="40000"/> -- gold coin
<item id="9971" countmax="50" chance="40000"/> -- barra de ouro
<item id="2146" countmax="1" chance="10000"/> -- small saphire
<item id="2666" countmax="4" chance="20000"/> -- meat
<item id="2214" chance="10000"/> -- ring of healing
<item id="8929" chance="1200"/> --Club Perdido
<item id="1987" chance="100000">
<inside>
<item id="2672" countmax="3" chance="20000"/> -- dragon ham
<item id="2470" chance="3100"/> -- GL
<item id="2514" chance="1500"/> -- MMS
<item id="2472" chance="2600"/> -- MPA
</inside>
</item>
</loot>
</monster>

 

  • Erro:
    Line: 77, Info: Premature end of data in tag monster line 2

     

 

 

Script 3 -

 

 

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

<monster name="Spectral Assassin" nameDescription="a spectral assassin" race="venom" experience="615000000" speed="2000" manacost="0">
<health now="21200000" max="21200000"/>
<look type="145" head="20" body="95" legs="114" feet="114" corpse="3128" addons="3"/>
<targetchange interval="2000" chance="20"/>
<strategy attack="90" 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="1"/>
<flag runonhealth="2500"/>
</flags>
<attacks>
<attack name="melee" interval="800" min="-91000" max="-172000"/>
</attacks>
<defenses armor="90" defense="110">
<defense name="healing" interval="1000" chance="25" min="600" max="1000">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="healing" interval="1000" chance="10" min="1400" max="2600">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="4" speedchange="1901" duration="7000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="3" duration="9000">
<attribute key="areaEffect" value="blueshimmer"/>
<summons maxSummons="4">
<summon name="warlock" interval="1000" chance="25" max="4"/>
</summons>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Want to feel some Aim?"/>
<voice sentence="You can Run but never Hide!"/>
</voices>
<loot>
<item id="2160" countmax="99" chance1="10000" chancemax="70"/>
<item id="9971" countmax="20" chance1="12500" chancemax="70"/>
</loot>
</monster>

 

  • Erro:
    Line: 56, Info: Premature end of data in tag monster line 2
    

 

 

 

Bom, é isso, espero ajuda :) Tentei achar mais nao consegui x.x

Link para o comentário
Compartilhar em outros sites

6 respostass a esta questão

Posts Recomendados

  • 0

O título do seu tópico não possui informações sobre o conteúdo dele, portanto está desrespeitando as regras. Por favor, preste mais atenção da próxima vez e leia as regras da seção antes de postar.

 

Título editado.

Link para o comentário
Compartilhar em outros sites

  • 0

Substitui na mesma ordem.

 

 

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

<monster name="Rabbit of Hell" nameDescription="Rabbit of Hell" race="undead" experience="930000000" speed="195">
<health now="60000000" max="60000000"/>
<look type="262" corpse="7349"/>
<targetchange interval="2000" chance="5"/>
<strategy attack="100" defense="0"/>
<flags>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag staticattack="78"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-2200000" max="-2900000"/>
<attack name="physical" interval="1000" chance="11" length="5" spread="0" min="-100000" max="-500000">
<attribute key="areaEffect" value="energyarea"/>
</attack>
<attack name="speed" interval="1000" chance="10" radius="3" duration="10000" speedchange="-400">
<attribute key="areaEffect" value="poff"/>
</attack>
<attack name="ice" interval="1000" chance="9" radius="1" target="1" range="5" min="600000" max="-850000">
<attribute key="shootEffect" value="smallice"/>
</attack>
</attacks>
<defenses armor="26" defense="27">
</defenses>
<immunities>
<immunity name="earth"/>
<immunity name="invisible"/>
</immunities>
<elements>
<element firePercent="30"/>
<element energyPercent="-10"/>
<element holyPercent="-15"/>
<element holydeath="-35"/>
</elements>
<loot>
<item id="2393" chance="3800"/> -- giantsword
<item id="2432" chance="3800"/> --fire axe
<item id="2160" countmax="100" chance="100000" /> -- gold coins
<item id="2160" countmax="100" chance="100000" /> -- gold coins
<item id="2160" countmax="100" chance="100000" /> -- gold coins
<item id="2795" countmax="6" chance="13000"/> --fire mushroom
<item id="2678" countmax="3" chance="10000" /> --coconut
<item id="9971" countmax="30" chance="100000" /> -- gold coin
<item id="9971" countmax="100" chance="100000" /> -- gold coin
<item id="2470" chance="1350"/> --golden legs
</item>
</loot>
</monster>

 

 

 

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Dryn" nameDescription="Dryn" race="fire" experience="650000000" speed="500" manacost="500">
<health now="25000000" max="25000000"/>
<look type="12" head="85" body="85" legs="85" feet="85" corpse="5995" addons="3"/>
<targetchange interval="100" chance="100"/>
<strategy attack="" defense=""/>
<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="1"/>
<flag staticattack="85"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-500000" max="-650000"/>
<attack name="holy" interval="3000" chance="100" range="7" min="-800000" max="-1300000">
<attribute key="shootEffect" value="whirlwindsword"/>
<attribute key="areaEffect" value="holydamage"/>
</attack>
</attacks>
<defenses armor="0" defense="0">
</defenses>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="0"/>
<immunity drunk="0"/>
<immunity invisible="1"/>
</immunities>
<summons max="">
</summons>
<voices interval="5000" chance="10">
<voice sentence="Fdp, Vou te pegar" />
</voices>
<loot>
<item id="2148" countmax="100" chance="100000" /> -- gold coins
<item id="2148" countmax="100" chance="100000" /> -- gold coins
<item id="2152" countmax="3" chance="33333" /> --Plat
<item id="2514" chance="1900"/> --mastermind shield
<item id="2472" chance="200"/> --magic plate armor
<item id="2795" countmax="6" chance="7500"/> --Fire Mushroom
<item id="5906" countmax="1" chance="2000"/> -- demon dust
<item id="5954" countmax="1" chance="2345"/> -- demon horn
<item id="2164" chance="2100"/> --might ring
<item id="2176" chance="3500"/> --orb
<item id="1982" chance="1300"/> --purpel tome
<item id="2165" chance="2300"/> --stealth ring
<item id="7591" chance="4500"/> -- GHP
<item id="1987" chance="100000">
<item id="2160" countmax="100" chance="40000"/> -- gold coin
<item id="9971" countmax="50" chance="40000"/> -- barra de ouro
<item id="2146" countmax="1" chance="10000"/> -- small saphire
<item id="2666" countmax="4" chance="20000"/> -- meat
<item id="2214" chance="10000"/> -- ring of healing
<item id="8929" chance="1200"/> --Club Perdido
<item id="1987" chance="100000">
<inside>
<item id="2672" countmax="3" chance="20000"/> -- dragon ham
<item id="2470" chance="3100"/> -- GL
<item id="2514" chance="1500"/> -- MMS
<item id="2472" chance="2600"/> -- MPA
</inside>
</item>
</loot>
</monster>

 

 

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

<monster name="Spectral Assassin" nameDescription="a spectral assassin" race="venom" experience="615000000" speed="2000" manacost="0">
<health now="21200000" max="21200000"/>
<look type="145" head="20" body="95" legs="114" feet="114" corpse="3128" addons="3"/>
<targetchange interval="2000" chance="20"/>
<strategy attack="90" 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="1"/>
<flag runonhealth="2500"/>
</flags>
<attacks>
<attack name="melee" interval="800" min="-91000" max="-172000"/>
</attacks>
<defenses armor="90" defense="110">
<defense name="healing" interval="1000" chance="25" min="600" max="1000">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="healing" interval="1000" chance="10" min="1400" max="2600">
<attribute key="areaEffect" value="greenshimmer"/>
</defense>
<defense name="speed" interval="1000" chance="4" speedchange="1901" duration="7000">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
<defense name="invisible" interval="1000" chance="3" duration="9000">
<attribute key="areaEffect" value="blueshimmer"/>
<summons maxSummons="4">
<summon name="warlock" interval="1000" chance="25" max="4"/>
</summons>
<immunities>
<immunity physical="0"/>
<immunity energy="1"/>
<immunity fire="1"/>
<immunity poison="1"/>
<immunity lifedrain="0"/>
<immunity paralyze="1"/>
<immunity outfit="1"/>
<immunity drunk="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Want to feel some Aim?"/>
<voice sentence="You can Run but never Hide!"/>
</voices>
<loot>
<item id="2160" countmax="99" chance="10000" />
<item id="9971" countmax="20" chance="12500" />
</item>
</loot>
</monster>
Link para o comentário
Compartilhar em outros sites

×
×
  • Criar Novo...