• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Cannot load monster

SeCo

New Member
Joined
Jul 14, 2014
Messages
20
Reaction score
0
Hello everyone! :D
my server is cryingdamson 0.3.6 (8.60) V8.2
and some monsters are having the following errors.

Code:
[16/07/2014 21:40:03] [Warning - Monsters::loadMonster] Cannot load monster (Inky) file (data/monster/bosses/inky.xml).
[16/07/2014 21:40:03] Line: 52, Info: Premature end of data in tag monster line 2


[16/07/2014 21:40:03] [Warning - Monsters::loadMonster] Cannot load monster (Eternal Guardian) file (data/monster/Geo-Elementals/eternal guardian.xml).
[16/07/2014 21:40:03] Line: 59, Info: Premature end of data in tag monster line 2


[16/07/2014 21:40:03] [Warning - Monsters::loadMonster] Cannot load monster (Lizard Magistratus) file (data/monster/lizards/lizard magistratus.xml).
[16/07/2014 21:40:03] Line: 46, Info: Premature end of data in tag monster line 2


[16/07/2014 21:40:03] [Warning - Monsters::loadMonster] Cannot load monster (Deaththrower) file (data/monster/traps/deaththrower.xml).
[16/07/2014 21:40:03] Line: 25, Info: Extra content at the end of the document


[16/07/2014 21:40:04] [Warning - Monsters::loadMonster] Cannot load monster (Stampor) file (data/monster/ungulates/stampor.xml).
[16/07/2014 21:40:04] Line: 61, Info: Premature end of data in tag monster line 2

Follow the script of one monster
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Inky" nameDescription="Inky" race="blood" experience="250" speed="240" manacost="0">
<health now="600" max="600"/>
<look type="46" corpse="6065"/>
<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 staticattack="90"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-156" poison="2"/>
<attack name="lifedrain" interval="2000" chance="15" radius="3" target="0" min="0" max="-87">
<attribute key="areaEffect" value="blackspark"/>
</attack>
<attack name="ice" interval="2000" chance="19" radius="3" target="0" min="0" max="-80">
<attribute key="shootEffect" value="poison"/>
</attack>
<attack name="ice" interval="2000" chance="7" radius="4" target="0" min="-56" max="-87">
<attribute key="areaEffect" value="icearea"/>
</attacks>
<defenses armor="15" defense="15"/>
<elements>
<element earthPercent="90"/>
<element energyPercent="-5"/>
</elements>
<immunities>
<immunity drown="1"/>
<immunity ice="1"/>
<immunity fire="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Tssss!"/>
<voice sentence="Gaaahhh!"/>
<voice sentence="Gluh! Gluh!"/>
<voice sentence="Boohaa!"/>
</voices>
<loot>
<item id="2148" countmax="13" chance="12000"/> <!-- gold coin -->
</loot>
</monster>
Anny help? thanks
 
change
Code:
<monster name="Inky" nameDescription="Inky" race="blood" experience="250" speed="240" manacost="0">


to
Code:
<monster name="Inky" nameDescription="Inky" race="blood" experience="250" speed="240" manacost="0"/>


Why are you getting this error? you didn't add a slash at the end :)
 
Missing </attack> (under <attribute key="areaEffect" value="icearea"/>).
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Inky" nameDescription="Inky" race="blood" experience="250" speed="240" manacost="0">
   <health now="600" max="600"/>
   <look type="46" corpse="6065"/>
   <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 staticattack="90"/>
       <flag targetdistance="1"/>
       <flag runonhealth="0"/>
   </flags>
   <attacks>
       <attack name="melee" interval="2000" min="0" max="-156" poison="2"/>
       <attack name="lifedrain" interval="2000" chance="15" radius="3" target="0" min="0" max="-87">
           <attribute key="areaEffect" value="blackspark"/>
       </attack>
       <attack name="ice" interval="2000" chance="19" radius="3" target="0" min="0" max="-80">
           <attribute key="shootEffect" value="poison"/>
       </attack>
       <attack name="ice" interval="2000" chance="7" radius="4" target="0" min="-56" max="-87">
           <attribute key="areaEffect" value="icearea"/>
       </attack>
   </attacks>
   <defenses armor="15" defense="15"/>
   <elements>
       <element earthPercent="90"/>
       <element energyPercent="-5"/>
   </elements>
   <immunities>
       <immunity drown="1"/>
       <immunity ice="1"/>
       <immunity fire="1"/>
       <immunity invisible="1"/>
   </immunities>
   <voices interval="5000" chance="10">
       <voice sentence="Tssss!"/>
       <voice sentence="Gaaahhh!"/>
       <voice sentence="Gluh! Gluh!"/>
       <voice sentence="Boohaa!"/>
   </voices>
   <loot>
       <item id="2148" countmax="13" chance="12000"/> <!-- gold coin -->
   </loot>
</monster>
 
not work, now it apear
Code:
[16/07/2014 22:28:40] [Warning - Monsters::loadMonster] Cannot load monster (Inky) file (data/monster/bosses/inky.xml).
[16/07/2014 22:28:40] Line: 3, Info: Extra content at the end of the document
 
Missing </attack> (under <attribute key="areaEffect" value="icearea"/>).
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Inky" nameDescription="Inky" race="blood" experience="250" speed="240" manacost="0">
   <health now="600" max="600"/>
   <look type="46" corpse="6065"/>
   <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 staticattack="90"/>
       <flag targetdistance="1"/>
       <flag runonhealth="0"/>
   </flags>
   <attacks>
       <attack name="melee" interval="2000" min="0" max="-156" poison="2"/>
       <attack name="lifedrain" interval="2000" chance="15" radius="3" target="0" min="0" max="-87">
           <attribute key="areaEffect" value="blackspark"/>
       </attack>
       <attack name="ice" interval="2000" chance="19" radius="3" target="0" min="0" max="-80">
           <attribute key="shootEffect" value="poison"/>
       </attack>
       <attack name="ice" interval="2000" chance="7" radius="4" target="0" min="-56" max="-87">
           <attribute key="areaEffect" value="icearea"/>
       </attack>
   </attacks>
   <defenses armor="15" defense="15"/>
   <elements>
       <element earthPercent="90"/>
       <element energyPercent="-5"/>
   </elements>
   <immunities>
       <immunity drown="1"/>
       <immunity ice="1"/>
       <immunity fire="1"/>
       <immunity invisible="1"/>
   </immunities>
   <voices interval="5000" chance="10">
       <voice sentence="Tssss!"/>
       <voice sentence="Gaaahhh!"/>
       <voice sentence="Gluh! Gluh!"/>
       <voice sentence="Boohaa!"/>
   </voices>
   <loot>
       <item id="2148" countmax="13" chance="12000"/> <!-- gold coin -->
   </loot>
</monster>

WORK! but i dont know to fix other. follow...
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Eternal Guardian" nameDescription="an eternal guardian" race="undead" experience="1800" speed="180" manacost="0">
<health now="2500" max="2500"/>
<look type="345" corpse="11300"/>
<targetchange interval="4000" chance="10"/>
<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="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="50" attack="100"/>
</attacks>
<defenses armor="40" defense="40"/>
<elements>
<element deathPercent="20"/>
<element firePercent="70"/>
<element holyPercent="20"/>
<element energyPercent="10"/>
<element icePercent="10"/>
<element physicalPercent="25"/>
</elements>
<immunities>
<immunity earth="1"/>
<immunity drown="1"/>
<immunity paralyze="1"/>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Zzrkrrch!"/>
<voice sentence="<crackle>"/>
</voices>
<loot>
<item id="2148" countmax="100" chance="99930" /><!-- gold coin -->
<item id="2152" countmax="4" chance="99540" /><!-- platinum coin -->
<item id="1294" countmax="10" chance="30230" /><!-- small stone -->
<item id="11227" chance="800" /><!-- shiny stone -->
<item id="10549" chance="20020" /><!-- ancient stone -->
<item id="11325" chance="9960" /><!-- spicked iron ball -->
<item id="11323" chance="1860" /><!-- zaoan halberd -->
<item id="13757" chance="400" /><!-- coal -->
<item id="5880" chance="1700" /><!-- iron ore -->
<item id="11339" chance="720" /><!-- clay lump -->
<item id="11343" chance="430" /><!-- piece of marble rock -->
<item id="2528" chance="820" /><!-- tower shield -->
<item id="2427" chance="560" /><!-- guardian halberd -->
<item id="11307" chance="100" /><!-- zaoan sword -->
</loot>
</monster>
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Earth Elemental" nameDescription="an earth elemental" race="undead" experience="450" speed="330" manacost="0">
<health now="650" max="650"/>
<look type="301" corpse="8933"/>
<targetchange interval="20000" chance="50"/>
<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 staticattack="80"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="1"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="45" attack="40"/>
</attack>
<attack name="physical" interval="2000" chance="20" range="7" min="-25" max="-195">
<attribute key="shootEffect" value="largerock"/>
</attack>
<attack name="poisoncondition" interval="1000" chance="10" length="6" spread="0" min="0" max="-260">
<attribute key="areaEffect" value="groundshaker"/>
</attack>
<attack name="speed" interval="2000" chance="20" range="7" speedchange="-450" duration="4000">
<attribute key="areaEffect" value="redshimmer"/>
</attack>
</attacks>
<defenses armor="30" defense="30"/>
<elements>
<element deathPercent="20"/>
<element icePercent="20"/>
<element physicalPercent="20"/>
<element holyPercent="20"/>
<element firePercent="-25"/>
</elements>
<immunities>
<immunity paralyze="1"/>
<immunity invisible="1"/>
<immunity earth="1"/>
<immunity energy="1"/>
</immunities>
<loot>
<item id="2148" countmax="80" chance="37000"/><!-- gold coin -->
<item id="2148" countmax="49" chance="37000"/><!-- gold coin -->
<item id="2260" chance="7850"/><!-- blank rune -->
<item id="7850" countmax="30" chance="9200"/><!-- earth arrow -->
<item id="2398" chance="8500"/><!-- mace -->
<item id="2394" chance="4250"/><!-- morning star -->
<item id="1987" chance="100000"><!-- bag -->
<inside>
<item id="9808" chance="5600"/><!-- rusty armor -->
<item id="1294" countmax="10" chance="4250"/><!-- small stone -->
<item id="9970" chance="1300"/><!-- small topaz -->
<item id="2509" chance="8000"/><!-- steel shield -->
<item id="7589" chance="2600"/><!-- strong mana potion -->
<item id="2150" countmax="2" chance="300"/><!-- small amethyst -->
</inside>
</item>
</loot>
</monster>
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Lizard Magistratus" nameDescription="a lizard magistratus" race="blood" experience="2000" speed="200" manacost="0">
<health now="8000" max="8000"/>
<look type="115" corpse="6041"/>
<targetchange interval="4000" chance="10"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="0"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="1"/>
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="4"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" skill="30" attack="30"/>
</attack>
</attacks>
<defenses armor="15" defense="15">
<defense name="healing" interval="2000" chance="50" min="200" max="250">
<attribute key="areaEffect" value="blueshimmer"/>
</defense>
</defenses>
<elements>
<element firePercent="80"/>
</elements>
<immunities>
<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="Shhhhhhhh"/>
</voices>
<loot>
<item id="2148" countmax="50" chance="77230" /><!-- gold coin -->
<item id="2152" countmax="19" chance="13400" /><!-- platinum coin -->
<item id="7590" chance="4480" /><!-- great mana potion -->
<item id="2147" countmax="5" chance="8970" /><!-- small ruby -->
<item id="7589" chance="6280" /><!-- smp -->
<item id="5881" chance="450" /><!-- lizard scale -->
<item id="5876" chance="220" /><!-- lizard leather -->
</loot>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Eternal Guardian" nameDescription="an eternal guardian" race="undead" experience="1800" speed="180" manacost="0">
   <health now="2500" max="2500"/>
   <look type="345" corpse="11300"/>
   <targetchange interval="4000" chance="10"/>
   <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="1"/>
       <flag staticattack="90"/>
       <flag runonhealth="0"/>
   </flags>
   <attacks>
       <attack name="melee" interval="2000" skill="50" attack="100"/>
   </attacks>
   <defenses armor="40" defense="40"/>
   <elements>
       <element deathPercent="20"/>
       <element firePercent="70"/>
       <element holyPercent="20"/>
       <element energyPercent="10"/>
       <element icePercent="10"/>
       <element physicalPercent="25"/>
   </elements>
   <immunities>
       <immunity earth="1"/>
       <immunity drown="1"/>
       <immunity paralyze="1"/>
       <immunity invisible="1"/>
   </immunities>
   <voices interval="5000" chance="10">
       <voice sentence="Zzrkrrch!"/>
       <voice sentence="crackle"/>
   </voices>
   <loot>
       <item id="2148" countmax="100" chance="99930" /><!-- gold coin -->
       <item id="2152" countmax="4" chance="99540" /><!-- platinum coin -->
       <item id="1294" countmax="10" chance="30230" /><!-- small stone -->
       <item id="11227" chance="800" /><!-- shiny stone -->
       <item id="10549" chance="20020" /><!-- ancient stone -->
       <item id="11325" chance="9960" /><!-- spicked iron ball -->
       <item id="11323" chance="1860" /><!-- zaoan halberd -->
       <item id="13757" chance="400" /><!-- coal -->
       <item id="5880" chance="1700" /><!-- iron ore -->
       <item id="11339" chance="720" /><!-- clay lump -->
       <item id="11343" chance="430" /><!-- piece of marble rock -->
       <item id="2528" chance="820" /><!-- tower shield -->
       <item id="2427" chance="560" /><!-- guardian halberd -->
       <item id="11307" chance="100" /><!-- zaoan sword -->
   </loot>
</monster>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Earth Elemental" nameDescription="an earth elemental" race="undead" experience="450" speed="330" manacost="0">
   <health now="650" max="650"/>
   <look type="301" corpse="8933"/>
   <targetchange interval="20000" chance="50"/>
   <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 staticattack="80"/>
       <flag lightlevel="0"/>
       <flag lightcolor="0"/>
       <flag targetdistance="1"/>
       <flag runonhealth="1"/>
   </flags>
   <attacks>
       <attack name="melee" interval="2000" skill="45" attack="40"/>
       <attack name="physical" interval="2000" chance="20" range="7" min="-25" max="-195">
           <attribute key="shootEffect" value="largerock"/>
       </attack>
       <attack name="poisoncondition" interval="1000" chance="10" length="6" spread="0" min="0" max="-260">
           <attribute key="areaEffect" value="groundshaker"/>
       </attack>
       <attack name="speed" interval="2000" chance="20" range="7" speedchange="-450" duration="4000">
           <attribute key="areaEffect" value="redshimmer"/>
       </attack>
   </attacks>
   <defenses armor="30" defense="30"/>
   <elements>
       <element deathPercent="20"/>
       <element icePercent="20"/>
       <element physicalPercent="20"/>
       <element holyPercent="20"/>
       <element firePercent="-25"/>
   </elements>
   <immunities>
       <immunity paralyze="1"/>
       <immunity invisible="1"/>
       <immunity earth="1"/>
       <immunity energy="1"/>
   </immunities>
   <loot>
       <item id="2148" countmax="80" chance="37000"/><!-- gold coin -->
       <item id="2148" countmax="49" chance="37000"/><!-- gold coin -->
       <item id="2260" chance="7850"/><!-- blank rune -->
       <item id="7850" countmax="30" chance="9200"/><!-- earth arrow -->
       <item id="2398" chance="8500"/><!-- mace -->
       <item id="2394" chance="4250"/><!-- morning star -->
       <item id="1987" chance="100000"><!-- bag -->
           <inside>
               <item id="9808" chance="5600"/><!-- rusty armor -->
               <item id="1294" countmax="10" chance="4250"/><!-- small stone -->
               <item id="9970" chance="1300"/><!-- small topaz -->
               <item id="2509" chance="8000"/><!-- steel shield -->
               <item id="7589" chance="2600"/><!-- strong mana potion -->
               <item id="2150" countmax="2" chance="300"/><!-- small amethyst -->
           </inside>
       </item>
   </loot>
</monster>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Lizard Magistratus" nameDescription="a lizard magistratus" race="blood" experience="2000" speed="200" manacost="0">
   <health now="8000" max="8000"/>
   <look type="115" corpse="6041"/>
   <targetchange interval="4000" chance="10"/>
   <strategy attack="100" defense="0"/>
   <flags>
       <flag summonable="0"/>
       <flag attackable="1"/>
       <flag hostile="1"/>
       <flag illusionable="1"/>
       <flag convinceable="0"/>
       <flag pushable="1"/>
       <flag canpushitems="1"/>
       <flag canpushcreatures="0"/>
       <flag targetdistance="4"/>
       <flag staticattack="90"/>
       <flag runonhealth="0"/>
   </flags>
   <attacks>
       <attack name="melee" interval="2000" skill="30" attack="30"/>
   </attacks>
   <defenses armor="15" defense="15">
       <defense name="healing" interval="2000" chance="50" min="200" max="250">
           <attribute key="areaEffect" value="blueshimmer"/>
       </defense>
   </defenses>
   <elements>
       <element firePercent="80"/>
   </elements>
   <immunities>
       <immunity invisible="1"/>
   </immunities>
   <voices interval="5000" chance="10">
       <voice sentence="Shhhhhhhh"/>
   </voices>
   <loot>
       <item id="2148" countmax="50" chance="77230" /><!-- gold coin -->
       <item id="2152" countmax="19" chance="13400" /><!-- platinum coin -->
       <item id="7590" chance="4480" /><!-- great mana potion -->
       <item id="2147" countmax="5" chance="8970" /><!-- small ruby -->
       <item id="7589" chance="6280" /><!-- smp -->
       <item id="5881" chance="450" /><!-- lizard scale -->
       <item id="5876" chance="220" /><!-- lizard leather -->
   </loot>
</monster>

If an attack has an attribute key, close it under it with </attack>
<attack name="physical" interval="2000" chance="20" range="7" min="-25" max="-195">
<attribute key="shootEffect" value="largerock"/>​
</attack>

If an attack doesn't have an attribute key, close it with a slash at the end.
<attack name="melee" interval="2000" skill="30" attack="30"/>
 
Back
Top