• 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!

monster error

Rivao

New Member
Joined
Mar 2, 2010
Messages
58
Reaction score
0
can someone fix this monsters for me?

the error is this:

[11/03/2010 12:08:32] [Warning - Monsters::loadMonster] Cannot load monster (The Plasmother) file (data/monster/Bosses/the plasmother.xml).
[11/03/2010 12:08:32] Line: 63, Info: StartTag: invalid element name


[11/03/2010 12:08:33] [Warning - Monsters::loadMonster] Cannot load monster (Young Sea Serpent) file (data/monster/Reptiles/young sea serpent.xml).
[11/03/2010 12:08:33] Line: 69, Info: StartTag: invalid element name

monster scrips

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="The plasmother" nameDescription="a plasmother" race="venom" experience="8900" speed="310" manacost="0">
  <health now="16050" max="16050"/>
  <look type="238" corpse="6532"/>
  <targetchange interval="5500" 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="0"/>
    <flag canpushitems="1"/>
    <flag canpushcreatures="1"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="30" attack="50"/>
    <attack name="speed" interval="1000" chance="8" radius="6" target="0" speedchange="-800" duration="10000">
		<attribute key="areaEffect" value="bigplants"/>
    </attack>
	<attack name="earth" interval="2000" chance="15" target="0" radius="4" min="-200" max="-350">
		<attribute key="areaEffect" value="bigplants"/>
	</attack>
	<attack name="earth" interval="3000" chance="15" target="1" radius="4" min="-200" max="-530">
		<attribute key="areaEffect" value="greenspark"/>
		<attribute key="shootEffect" value="bigplants"/>
	</attack>
  </attacks>
  <defenses armor="30" defense="30">
    <defense name="healing" interval="1000" chance="75" min="505" max="605">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
  </defenses>

    <elements>
        <element deathPercent="100"/>
        <element firePercent="-25"/>
        <element energyPercent="-20"/>
        <element earthPercent="100"/>
        <element icePercent="10"/>
        <element holyPercent="-25"/>
</elements>
  <immunities>  
        <immunity invisible="1"/>
</immunities>
  <voices interval="5000" chance="10">
    <voice sentence="Blubb"/>

  </voices>
  <loot>
	<item id="2148" countmax="70" chance1="20000" chancemax="0"/><-- gold coins -->
      <item id="2148" countmax="60" chance1="20000" chancemax="0"/><-- gold coins -->
      <item id="2148" countmax="45" chance1="20000" chancemax="0"/><-- gold coins -->
	<item id="2152" countmax="13" chance1="25000" chancemax="0"/><-- Platinum Coin -->
	<item id="6500" chance1="45000" chancemax="0"/><-- Demonic Essence -->
      <item id="2144" countmax="3" chance1="5000" chancemax="0"/><-- black pearl -->
      <item id="2146" countmax="3" chance1="5000" chancemax="0"/><-- small sapphire -->
	<item id="5944" chance="35000"/><-- Soul Orb -->
	<item id="6535" chance="100000"/><-- The plasmother's remains -->
 </loot>
</monster>
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Young Sea Serpent" nameDescription="a young sea serpent" race="blood" experience="1000" speed="350" manacost="390">
	<health now="1050" max="1050"/>
	<look type="317" head="0" body="0" legs="0" feet="0" corpse="8307"/>
	<targetchange interval="2000" 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 canpushcreatures="1"/>
        <flag targetdistance="0"/>
        <flag runonhealth="300"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" skill="75" attack="70"/>
        <attack name="earth" interval="1000" chance="8" length="9" spread="3" min="-60" max="-275">
            <attribute key="areaEffect" value="bigplants"/>
        </attack>
        <attack name="ice" interval="1000" chance="10" length="9" spread="3" min="-120" max="-300">
            <attribute key="areaEffect" value="icearea"/>
        </attack>
        <attack name="drown" interval="1000" chance="11" radius="4" target="1" min="-15" max="-20">
            <attribute key="areaEffect" value="bluebubble"/>
        </attack>
    </attacks>
    <defenses armor="16" defense="25">
        <defense name="healing" interval="1000" chance="25" min="50" max="100">
            <attribute key="areaEffect" value="blueshimmer"/>
        </defense>
    </defenses>
    <immunities>
        <immunity ice="1"/>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="3000" chance="200">
        <voice sentence="CHHHRRRR"/>
        <voice sentence="HISSSS"/>
    </voices>
    <elements>
        <element firePercent="20"/>
        <element energyPercent="-15"/>
        <element physicalPercent="-15"/>
        <element deathPercent="-15"/>
    </elements>

 <loot>
    <item id="2148" countmax="65" chance="31000"/><-- gold coin
    <item id="2148" countmax="55" chance="31000"/><-- gold coin
    <item id="2148" countmax="45" chance="31000"/><-- gold coin
    <item id="2666" countmax="4" chance="20000"/><-- meat
    <item id="2146" chance="1500" countmax="2"/><-- small saphire
    <item id="2165" chance="750"/><--stealth ring
    <item id="7589" chance="1000"/><-- strong mana potion
    <item id="2489" chance="2500"/><-- dark armor
    <item id="9808" chance="1000"/><-- rusty armor
    <item id="1987" chance="100000"/>-- bag
      <inside>
       	<item id="2672" countmax="2" chance="16000"/><--dragon ham
    		<item id="9808" chance="1000"/><-- rusty armor
            <item id="2394" chance="8000"/><--morningstar
		<item id="2177" chance="800"/><--life crystal
            <item id="2417" chance="5000"/><--battle hammer
            <item id="2378" chance="3000"/><--battle axe
      </inside>
  </loot>
</monster>
 
the plastmother:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="The Plasmother" nameDescription="the plasmother" race="venom" experience="8900" speed="310" manacost="0">
	<health now="16050" max="16050"/>
	<look type="238" corpse="6532"/>
	<targetchange interval="5500" 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="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="30" attack="50"/>
		<attack name="speed" interval="1000" chance="8" radius="6" target="0" speedchange="-800" duration="10000">
			<attribute key="areaEffect" value="poison"/>
		</attack>
		<attack name="earth" interval="2000" chance="15" target="0" radius="4" min="-200" max="-350">
			<attribute key="areaEffect" value="poison"/>
		</attack>
		<attack name="earth" interval="3000" chance="15" target="1" radius="4" min="-200" max="-530">
			<attribute key="areaEffect" value="greenspark"/>
			<attribute key="shootEffect" value="poison"/>
		</attack>
	</attacks>
	<defenses armor="30" defense="30">
		<defense name="healing" interval="1000" chance="75" min="505" max="605">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="-20"/>
		<element enerPercent="15"/>
	</elements>
	<immunities>
		<immunity poison="1"/>
		<immunity lifedrain="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Blubb"/>
	</voices>
	<loot>
		<item id="2148" countmax="70" chance1="20000" chancemax="0"/><!-- gold coins -->
		<item id="2148" countmax="60" chance1="20000" chancemax="0"/><!-- gold coins -->
		<item id="2148" countmax="45" chance1="20000" chancemax="0"/><!-- gold coins -->
		<item id="2152" countmax="13" chance1="25000" chancemax="0"/><!-- platinum coin -->
		<item id="6500" chance1="45000" chancemax="0"/><!-- demonic essence -->
		<item id="2144" countmax="3" chance1="5000" chancemax="0"/><!-- black pearl -->
		<item id="2146" countmax="3" chance1="5000" chancemax="0"/><!-- small sapphire -->
		<item id="5944" chance="35000"/><!-- soul orb -->
		<item id="6535" chance="100000"/><!-- the plasmother's remains -->
	</loot>
</monster>


young sea serpent:
PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Young Sea Serpent" nameDescription="a young sea serpent" race="blood" experience="1000" speed="350" manacost="390">
	<health now="1050" max="1050"/>
	<look type="317" head="0" body="0" legs="0" feet="0" corpse="8307"/>
	<targetchange interval="2000" 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="85"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="0"/>
		<flag runonhealth="300"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="25" attack="80"/>
		<attack name="earth" interval="1000" chance="5" length="9" spread="3" min="-50" max="-150">
			<attribute key="areaEffect" value="bigplants"/>
		</attack>
		<attack name="ice" interval="1000" chance="7" length="9" spread="3" min="-70" max="-180">
			<attribute key="areaEffect" value="icearea"/>
		</attack>
		<attack name="drowncondition" interval="1000" chance="8" radius="4" target="1" max="-100">
			<attribute key="areaEffect" value="bluebubble"/>
		</attack>
	</attacks>
	<defenses armor="16" defense="20">
		<defense name="healing" interval="1000" chance="25" min="20" max="60">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity ice="1"/>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
		<immunity drown="1"/>
	</immunities>
	<voices interval="3000" chance="20">
		<voice sentence="CHHHRRRR"/>
		<voice sentence="HISSSS"/>
	</voices>
	<elements>
		<element firePercent="30"/>
		<element energyPercent="-10"/>
		<element physicalPercent="-15"/>
		<element deathPercent="-10"/>
	</elements>
	<loot>
		<item id="2148" countmax="65" chance="31000"/><!-- gold coin -->
		<item id="2148" countmax="55" chance="31000"/><!-- gold coin -->
		<item id="2148" countmax="45" chance="31000"/><!-- gold coin -->
		<item id="2666" countmax="4" chance="20000"/><!-- meat -->
		<item id="2146" chance="1500" countmax="2"/><!-- small saphire -->
		<item id="2165" chance="750"/><!--stealth ring -->
		<item id="7589" chance="1000"/><!-- strong mana potion -->
		<item id="2489" chance="2500"/><!-- dark armor -->
		<item id="9808" chance="1000"/><!-- rusty armor -->
		<item id="1987" chance="100000"><!-- bag -->
			<item id="2672" countmax="2" chance="16000"/><!-- dragon ham -->
			<item id="9808" chance="1000"/><!-- rusty armor -->
			<item id="2394" chance="8000"/><!-- morningstar -->
			<item id="2177" chance="800"/><!-- life crystal -->
			<item id="2417" chance="5000"/><!-- battle hammer -->
			<item id="2378" chance="3000"/><!-- battle axe -->
		</item>
	</loot>
</monster>



Rep+ me if I helped you please ^^
 
Back
Top