• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Monster Error?

Ray Rewind

Doctor
Joined
Jun 6, 2009
Messages
1,349
Reaction score
76
Location
Germany
[11/11/2013 16:03:08] [Warning - Monsters::loadMonster] Cannot load monster (Apocalypse) file (data/monster/Bosses/apocalypse.xml).
[11/11/2013 16:03:08] Line: 1, Info: Start tag expected, '<' not found


PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Apocalypse" nameDescription="Apocalypse" race="fire" experience="35000" speed="380" manacost="0">
  <health now="80000" max="80000"/>
  <look type="12" head="38" body="114" legs="0" feet="94" corpse="6068"/>
  <targetchange interval="5000" chance="20"/>
  <strategy attack="65" defense="5"/>
  <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="230" attack="210"/>
    <attack name="death" interval="1000" chance="8" radius="9" target="0" min="-800" max="-1900">
      <attribute key="areaEffect" value="mortarea"/>
    </attack>
    <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-850" duration="60000">
      <attribute key="areaEffect" value="poison"/>
    </attack>
    <attack name="strength" interval="1000" chance="10" radius="5" target="0" min="-600" max="-1450">
      <attribute key="areaEffect" value="blackspark"/>
    </attack>
    <attack name="fire" interval="3000" chance="13" range="7" radius="7" target="1" min="-300" max="-800">
      <attribute key="shootEffect" value="fire"/>
      <attribute key="areaEffect" value="firearea"/>
    </attack>
    <attack name="manadrain" interval="3000" chance="8" radius="10" target="0" min="-600" max="-700">
      <attribute key="areaEffect" value="energyarea"/>
    </attack>
    <attack name="energy" interval="2000" chance="9" length="8" spread="0" min="-400" max="-800">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    <attack name="poisoncondition" interval="5000" chance="18" length="0" spread="0" min="-800" max="-1000">
      <attribute key="areaEffect" value="greenspark"/>
    </attack>
    <attack name="lifedrain" interval="2000" chance="6" radius="14" target="0" min="-600" max="-1200">
      <attribute key="areaEffect" value="greenshimmer"/>
    </attack>
  </attacks>
  <defenses armor="188" defense="145">
    <defense name="healing" interval="1000" chance="15" min="1000" max="3000">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
    <defense name="speed" interval="2000" chance="8" speedchange="480" duration="6000">
      <attribute key="areaEffect" value="redshimmer"/>
    </defense>
  </defenses>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="1"/>
    <immunity fire="1"/>
    <immunity poison="1"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="BOW TO THE POWER OF THE RUTHLESS SEVEN!" yell="1"/>
    <voice sentence="DESTRUCTION!" yell="1"/>
    <voice sentence="CHAOS!" yell="1"/>
    <voice sentence="DEATH TO ALL!" yell="1"/>
  </voices>
  <loot capacity="5000">
    <item id="2142" countmax="1" chance="3500"/>
    <item id="2231" countmax="1" chance="9000"/>
    <item id="2144" countmax="15" chance="15000"/>
    <item id="2158" countmax="1" chance="1500"/>
    <item id="2195" countmax="1" chance="4000"/>
    <item id="2192" countmax="1" chance="2500"/>
    <item id="2125" countmax="1" chance="1500"/>
    <item id="2124" countmax="1" chance="5500"/>
    <item id="2520" countmax="1" chance="15500"/>
    <item id="2462" countmax="1" chance="11000"/>
    <item id="2387" countmax="1" chance="20000"/>
    <item id="2434" countmax="1" chance="4500"/>
    <item id="2167" countmax="1" chance="13500"/>
    <item id="2432" countmax="1" chance="17000"/>
    <item id="2393" countmax="1" chance="12500"/>
    <item id="2148" countmax="100" chance="99900"/>
    <item id="2148" countmax="100" chance="88800"/>
    <item id="2148" countmax="100" chance="77700"/>
    <item id="2148" countmax="100" chance="66600"/>
    <item id="2179" countmax="1" chance="8000"/>
    <item id="2470" countmax="1" chance="5000"/>
    <item id="2033" countmax="1" chance="7500"/>
    <item id="2418" countmax="1" chance="4500"/>
    <item id="2155" countmax="1" chance="1500"/>
    <item id="2396" countmax="1" chance="7500"/>
    <item id="2177" countmax="1" chance="1000"/>
    <item id="2162" countmax="1" chance="11500"/>
    <item id="2472" countmax="1" chance="3000"/>
    <item id="2514" countmax="1" chance="7500"/>
    <item id="2164" countmax="1" chance="5000"/>
    <item id="2178" countmax="1" chance="4000"/>
    <item id="2186" countmax="1" chance="3500"/>
    <item id="2176" countmax="1" chance="12000"/>
    <item id="2171" countmax="1" chance="4500"/>
    <item id="2200" countmax="1" chance="4500"/>
    <item id="1982" countmax="1" chance="2600"/>
    <item id="2214" countmax="1" chance="13000"/>
    <item id="2123" countmax="1" chance="3500"/>
    <item id="2170" countmax="1" chance="13000"/>
    <item id="2402" countmax="1" chance="15500"/>
    <item id="2436" countmax="1" chance="5000"/>
    <item id="2150" countmax="20" chance="13500"/>
    <item id="2145" countmax="5" chance="9500"/>
    <item id="2149" countmax="10" chance="15500"/>
    <item id="2146" countmax="10" chance="13500"/>
    <item id="2182" countmax="1" chance="3500"/>
    <item id="2165" countmax="1" chance="9500"/>
    <item id="2197" countmax="1" chance="4000"/>
    <item id="2174" countmax="1" chance="2500"/>
    <item id="2151" countmax="7" chance="14000"/>
    <item id="2112" countmax="1" chance="14500"/>
    <item id="2421" countmax="1" chance="13500"/>
    <item id="2377" countmax="1" chance="20000"/>
    <item id="2185" countmax="1" chance="3500"/>
    <item id="3955" countmax="1" chance="100"/>
    <item id="2188" countmax="1" chance="2500"/>
    <item id="2143" countmax="15" chance="12500"/>
  </loot>
</monster>

where-.-?
 
Hi guy.

Try this:

PHP:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Apocalypse" nameDescription="Apocalypse" race="fire" experience="30000" speed="340" manacost="0">
    <health now="40000" max="40000"/>
    <look type="35" head="0" body="0" legs="0" feet="0" corpse="5995"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="65" defense="5"/>
    <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="3000"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" skill="150" attack="165" poison="500"/>
      <attack name="lifedrain" interval="1000" chance="13" radius="8" target="0" min="-400" max="-600">
        <attribute key="areaEffect" value="mortarea"/>
      </attack>
      <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-850" duration="60000">
        <attribute key="areaEffect" value="poison"/>
      </attack>
      <attack name="strength" interval="1000" chance="12" radius="3" target="0">
        <attribute key="areaEffect" value="blackspark"/>
      </attack>
      <attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-100" max="-900">
        <attribute key="shootEffect" value="fire"/>
        <attribute key="areaEffect" value="firearea"/>
      </attack>
      <attack name="manadrain" interval="1000" chance="7" length="0" spread="3" min="-600" max="-1100">
        <attribute key="areaEffect" value="energyarea"/>
      </attack>
      <attack name="physical" interval="1000" chance="7" length="8" spread="3" min="-300" max="-900"/>
      <attack name="energy" interval="1000" chance="9" length="8" spread="0" min="-500" max="-1500">
        <attribute key="areaEffect" value="redshimmer"/>
      </attack>
      <attack name="poisoncondition" interval="1000" chance="10" length="0" spread="0" min="-1000" max="-2000">
        <attribute key="areaEffect" value="greenspark"/>
      </attack>
      <attack name="lifedrain" interval="1000" chance="15" length="8" spread="0" min="-500" max="-1000">
        <attribute key="areaEffect" value="redshimmer"/>
      </attack>
    </attacks>
    <defenses armor="188" defense="145">
      <defense name="healing" interval="1000" chance="15" min="1000" max="3000">
        <attribute key="areaEffect" value="blueshimmer"/>
      </defense>
      <defense name="speed" interval="2000" chance="8" speedchange="360" duration="6000">
        <attribute key="areaEffect" value="redshimmer"/>
      </defense>
    </defenses>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="1"/>
      <immunity fire="1"/>
      <immunity poison="1"/>
      <immunity lifedrain="1"/>
      <immunity paralyze="1"/>
      <immunity outfit="1"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
      <voice sentence="BOW TO THE POWER OF THE RUTHLESS SEVEN!" yell="1"/>
      <voice sentence="DESTRUCTION!" yell="1"/>
      <voice sentence="CHAOS!" yell="1"/>
      <voice sentence="DEATH TO ALL!" yell="1"/>
    </voices>
    <loot capacity="5000">
      <item id="2142" countmax="1" chance="3500"/>
      <item id="2231" countmax="1" chance="9000"/>
      <item id="2144" countmax="15" chance="15000"/>
      <item id="2158" countmax="1" chance="1500"/>
      <item id="2195" countmax="1" chance="4000"/>
      <item id="2192" countmax="1" chance="2500"/>
      <item id="2125" countmax="1" chance="1500"/>
      <item id="2124" countmax="1" chance="5500"/>
      <item id="2520" countmax="1" chance="15500"/>
      <item id="2462" countmax="1" chance="11000"/>
      <item id="2387" countmax="1" chance="20000"/>
      <item id="2434" countmax="1" chance="4500"/>
      <item id="2167" countmax="1" chance="13500"/>
      <item id="2432" countmax="1" chance="17000"/>
      <item id="2393" countmax="1" chance="12500"/>
      <item id="2148" countmax="100" chance="99900"/>
      <item id="2148" countmax="100" chance="88800"/>
      <item id="2148" countmax="100" chance="77700"/>
      <item id="2148" countmax="100" chance="66600"/>
      <item id="2179" countmax="1" chance="8000"/>
      <item id="2470" countmax="1" chance="5000"/>
      <item id="2033" countmax="1" chance="7500"/>
      <item id="2418" countmax="1" chance="4500"/>
      <item id="2155" countmax="1" chance="1500"/>
      <item id="2396" countmax="1" chance="7500"/>
      <item id="2177" countmax="1" chance="1000"/>
      <item id="2162" countmax="1" chance="11500"/>
      <item id="2472" countmax="1" chance="3000"/>
      <item id="2514" countmax="1" chance="7500"/>
      <item id="2164" countmax="1" chance="5000"/>
      <item id="2178" countmax="1" chance="4000"/>
      <item id="2186" countmax="1" chance="3500"/>
      <item id="2176" countmax="1" chance="12000"/>
      <item id="2171" countmax="1" chance="4500"/>
      <item id="2200" countmax="1" chance="4500"/>
      <item id="1982" countmax="1" chance="2600"/>
      <item id="2214" countmax="1" chance="13000"/>
      <item id="2123" countmax="1" chance="3500"/>
      <item id="2170" countmax="1" chance="13000"/>
      <item id="2402" countmax="1" chance="15500"/>
      <item id="2436" countmax="1" chance="5000"/>
      <item id="2150" countmax="20" chance="13500"/>
      <item id="2145" countmax="5" chance="9500"/>
      <item id="2149" countmax="10" chance="15500"/>
      <item id="2146" countmax="10" chance="13500"/>
      <item id="2182" countmax="1" chance="3500"/>
      <item id="2165" countmax="1" chance="9500"/>
      <item id="2197" countmax="1" chance="4000"/>
      <item id="2174" countmax="1" chance="2500"/>
      <item id="2151" countmax="7" chance="14000"/>
      <item id="2112" countmax="1" chance="14500"/>
      <item id="2421" countmax="1" chance="13500"/>
      <item id="2377" countmax="1" chance="20000"/>
      <item id="2185" countmax="1" chance="3500"/>
      <item id="3955" countmax="1" chance="100"/>
      <item id="2188" countmax="1" chance="2500"/>
      <item id="2143" countmax="15" chance="12500"/>
    </loot>
  </monster>
 
Distro?, also, are you sure that that file is the one in data/monster/Bosses/apocalypse.xml?, it seems to be fine

as you can see in my signature tfs 0.3.6 Crying Damson V8 xD

Hi guy.

Try this:

PHP:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Apocalypse" nameDescription="Apocalypse" race="fire" experience="30000" speed="340" manacost="0">
    <health now="40000" max="40000"/>
    <look type="35" head="0" body="0" legs="0" feet="0" corpse="5995"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="65" defense="5"/>
    <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="3000"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" skill="150" attack="165" poison="500"/>
      <attack name="lifedrain" interval="1000" chance="13" radius="8" target="0" min="-400" max="-600">
        <attribute key="areaEffect" value="mortarea"/>
      </attack>
      <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-850" duration="60000">
        <attribute key="areaEffect" value="poison"/>
      </attack>
      <attack name="strength" interval="1000" chance="12" radius="3" target="0">
        <attribute key="areaEffect" value="blackspark"/>
      </attack>
      <attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-100" max="-900">
        <attribute key="shootEffect" value="fire"/>
        <attribute key="areaEffect" value="firearea"/>
      </attack>
      <attack name="manadrain" interval="1000" chance="7" length="0" spread="3" min="-600" max="-1100">
        <attribute key="areaEffect" value="energyarea"/>
      </attack>
      <attack name="physical" interval="1000" chance="7" length="8" spread="3" min="-300" max="-900"/>
      <attack name="energy" interval="1000" chance="9" length="8" spread="0" min="-500" max="-1500">
        <attribute key="areaEffect" value="redshimmer"/>
      </attack>
      <attack name="poisoncondition" interval="1000" chance="10" length="0" spread="0" min="-1000" max="-2000">
        <attribute key="areaEffect" value="greenspark"/>
      </attack>
      <attack name="lifedrain" interval="1000" chance="15" length="8" spread="0" min="-500" max="-1000">
        <attribute key="areaEffect" value="redshimmer"/>
      </attack>
    </attacks>
    <defenses armor="188" defense="145">
      <defense name="healing" interval="1000" chance="15" min="1000" max="3000">
        <attribute key="areaEffect" value="blueshimmer"/>
      </defense>
      <defense name="speed" interval="2000" chance="8" speedchange="360" duration="6000">
        <attribute key="areaEffect" value="redshimmer"/>
      </defense>
    </defenses>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="1"/>
      <immunity fire="1"/>
      <immunity poison="1"/>
      <immunity lifedrain="1"/>
      <immunity paralyze="1"/>
      <immunity outfit="1"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
      <voice sentence="BOW TO THE POWER OF THE RUTHLESS SEVEN!" yell="1"/>
      <voice sentence="DESTRUCTION!" yell="1"/>
      <voice sentence="CHAOS!" yell="1"/>
      <voice sentence="DEATH TO ALL!" yell="1"/>
    </voices>
    <loot capacity="5000">
      <item id="2142" countmax="1" chance="3500"/>
      <item id="2231" countmax="1" chance="9000"/>
      <item id="2144" countmax="15" chance="15000"/>
      <item id="2158" countmax="1" chance="1500"/>
      <item id="2195" countmax="1" chance="4000"/>
      <item id="2192" countmax="1" chance="2500"/>
      <item id="2125" countmax="1" chance="1500"/>
      <item id="2124" countmax="1" chance="5500"/>
      <item id="2520" countmax="1" chance="15500"/>
      <item id="2462" countmax="1" chance="11000"/>
      <item id="2387" countmax="1" chance="20000"/>
      <item id="2434" countmax="1" chance="4500"/>
      <item id="2167" countmax="1" chance="13500"/>
      <item id="2432" countmax="1" chance="17000"/>
      <item id="2393" countmax="1" chance="12500"/>
      <item id="2148" countmax="100" chance="99900"/>
      <item id="2148" countmax="100" chance="88800"/>
      <item id="2148" countmax="100" chance="77700"/>
      <item id="2148" countmax="100" chance="66600"/>
      <item id="2179" countmax="1" chance="8000"/>
      <item id="2470" countmax="1" chance="5000"/>
      <item id="2033" countmax="1" chance="7500"/>
      <item id="2418" countmax="1" chance="4500"/>
      <item id="2155" countmax="1" chance="1500"/>
      <item id="2396" countmax="1" chance="7500"/>
      <item id="2177" countmax="1" chance="1000"/>
      <item id="2162" countmax="1" chance="11500"/>
      <item id="2472" countmax="1" chance="3000"/>
      <item id="2514" countmax="1" chance="7500"/>
      <item id="2164" countmax="1" chance="5000"/>
      <item id="2178" countmax="1" chance="4000"/>
      <item id="2186" countmax="1" chance="3500"/>
      <item id="2176" countmax="1" chance="12000"/>
      <item id="2171" countmax="1" chance="4500"/>
      <item id="2200" countmax="1" chance="4500"/>
      <item id="1982" countmax="1" chance="2600"/>
      <item id="2214" countmax="1" chance="13000"/>
      <item id="2123" countmax="1" chance="3500"/>
      <item id="2170" countmax="1" chance="13000"/>
      <item id="2402" countmax="1" chance="15500"/>
      <item id="2436" countmax="1" chance="5000"/>
      <item id="2150" countmax="20" chance="13500"/>
      <item id="2145" countmax="5" chance="9500"/>
      <item id="2149" countmax="10" chance="15500"/>
      <item id="2146" countmax="10" chance="13500"/>
      <item id="2182" countmax="1" chance="3500"/>
      <item id="2165" countmax="1" chance="9500"/>
      <item id="2197" countmax="1" chance="4000"/>
      <item id="2174" countmax="1" chance="2500"/>
      <item id="2151" countmax="7" chance="14000"/>
      <item id="2112" countmax="1" chance="14500"/>
      <item id="2421" countmax="1" chance="13500"/>
      <item id="2377" countmax="1" chance="20000"/>
      <item id="2185" countmax="1" chance="3500"/>
      <item id="3955" countmax="1" chance="100"/>
      <item id="2188" countmax="1" chance="2500"/>
      <item id="2143" countmax="15" chance="12500"/>
    </loot>
  </monster>

what has been changed?
 
This really, really shouldnt matter.. make a new notepad file and copy paste it in there, save & rename. If you are using wordpad there is potential for things to not be recognised..maybe.
 
got another error!

[12/11/2013 09:26:44] [Warning - Monsters::loadMonster] Cannot load monster (Snake Thing) file (data/monster/wote/snake thing.xml).
[12/11/2013 09:26:44] Line: 33, Info: Extra content at the end of the document

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Snake Thing" nameDescription="a Snake Thing" race="venom" experience="4600" speed="220" manacost="0">
<health now="700000" max="700000"/>
<look type="220" corpse="8964"/>
<targetchange interval="1000" chance="15"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="1"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="1"/>
<flag convinceable="0"/>
<flag pushable="0"/>
<flag canpushitems="1"/>
<flag canpushcreatures="0"/>
<flag targetdistance="1"/>
<flag staticattack="90"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="0" max="-400"/>
       
<attack name="manadrain" interval="2000" chance="10" length="8" spread="3" min="0" max="-2398"/>
</attack>

<attack name="poison" interval="2000" chance="20" length="8" spread="3" min="0" max="-500">
            <attribute key="areaEffect" value="poison"/>
</attack>
<attack name="earth" interval="1000" chance="9" radius="6" poison="30">
                        <attribute key="areaEffect" value="greenshimmer"/>
</attack>
</attacks>
        <defenses armor="70" defense="30">
                <defense name="healing" interval="1000" chance="17" min="500" max="800">
            <attribute key="areaEffect" value="blueshimmer"/>
            </defense>
        </defenses>
<elements>
        <element firePercent="-10"/>
        <element energyPercent="-10"/>
        <element icePercent="15"/>
</elements>
<immunities>
        <immunity invisible="1"/>
        <immunity earth="1"/>
        <immunity paralyze="1"/>
</immunities>
<voices interval="5000" chance="10">
<voice sentence="POWER! I SEED MORE POWER!"/>
</voices>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Snake Thing" nameDescription="a Snake Thing" race="venom" experience="4600" speed="220" manacost="0">
     <health now="700000" max="700000"/>
     <look type="220" corpse="8964"/>
     <targetchange interval="1000" chance="15"/>
     <strategy attack="100" defense="0"/>
     <flags>
         <flag summonable="1"/>
         <flag attackable="1"/>
         <flag hostile="1"/>
         <flag illusionable="1"/>
         <flag convinceable="0"/>
         <flag pushable="0"/>
         <flag canpushitems="1"/>
         <flag canpushcreatures="0"/>
         <flag targetdistance="1"/>
         <flag staticattack="90"/>
         <flag runonhealth="0"/>
     </flags>
     <attacks>
         <attack name="melee" interval="2000" min="0" max="-400"/>
         <attack name="manadrain" interval="2000" chance="10" length="8" spread="3" min="0" max="-2398"/>
         <attack name="poison" interval="2000" chance="20" length="8" spread="3" min="0" max="-500">
             <attribute key="areaEffect" value="poison"/>
         </attack>
         <attack name="earth" interval="1000" chance="9" radius="6" poison="30">
             <attribute key="areaEffect" value="greenshimmer"/>
         </attack>
     </attacks>
     <defenses armor="70" defense="30">
         <defense name="healing" interval="1000" chance="17" min="500" max="800">
             <attribute key="areaEffect" value="blueshimmer"/>
         </defense>
     </defenses>
     <elements>
         <element firePercent="-10"/>
         <element energyPercent="-10"/>
         <element icePercent="15"/>
     </elements>
     <immunities>
         <immunity invisible="1"/>
         <immunity earth="1"/>
         <immunity paralyze="1"/>
     </immunities>
     <voices interval="5000" chance="10">
         <voice sentence="POWER! I SEED MORE POWER!"/>
     </voices>
</monster>

There was </attack> under the manadrain line, but /> already closes the attack line.
 
I never see what has been changed XD!

[12/11/2013 11:30:45] [Warning - Monsters::loadMonster] Cannot load monster (Spite of the Emperor) file (data/monster/wote/Spite of the Emperor.xml).
[12/11/2013 11:30:45] Line: 31, Info: Extra content at the end of the document

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Spite of the Emperor" nameDescription="Spite of the emperor" race="undead" experience="250" speed="410" manacost="0">
<health now="65000" max="65000"/>
<look type="351" corpse="8964"/>
<targetchange interval="2000" 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" min="0" max="-600"/>
            <attack name="manadrain" interval="2000" chance="15" radius="5" target="0" min="0" max="-350"/>
            </attack>                      
            <attack name="energy" interval="2000" chance="15" length="8" spread="3" min="0" max="-700">
                <attribute key="areaEffect" value="purpleenergy"/>
            </attack>
            <attack name="fire" interval="2000" chance="15" length="8" spread="0" min="0" max="-500">
                <attribute key="areaEffect" value="redshimmer"/>
            </attack>
    </attacks>
    <defenses armor="45" defense="35">
    </defenses>
    <elements>
                <element firePercent="10"/>
                <element icePercent="50"/>
                <element physicalPercent="-10"/>
                <element holyPercent="-15"/>
                <element energyPercent="-10"/>
    </elements>
    <immunities>
                <immunity paralyze="1"/>
                <immunity invisible="1"/>
                <immunity death="1"/>
                <immunity earth="1"/>
    </immunities>
    <summons maxSummons="1">
            <summon name="Draken Warmaster" interval="2000" chance="10" max="2"/>
    </summons>
</monster>
 
Same as the other monster: </attack> under the manadrain line.
This is not needed because /> at the end of the manadrain line already closes the attack line.

Code:
<attack name="manadrain" interval="2000" chance="15" radius="5" target="0" min="0" max="-350"/>
</attack>  <-- remove that
 
but the console shows the error in line 23 :eek:

[12/11/2013 11:56:41] [Warning - Monsters::loadMonster] Cannot load monster (Wrath of the Emperor) file (data/monster/wote/Wrath of the Emperor.xml).
[12/11/2013 11:56:41] Line: 56, Info: Premature end of data in tag monster line 2


In Line 56 it's </monster>

PHP:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Wrath of the Emperor" nameDescription="Wrath of the emperor" race="undead" experience="600" speed="350" manacost="0">
<health now="78000" max="78000"/>
<look type="351" corpse="8964"/>
<targetchange interval="2000" 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" min="0" max="-800"/> <!--Melee-->
            <attack name="energy" interval="2000" chance="15" length="8" spread="3" min="0" max="-800"/>  <!--Energy Wave-->
                <attribute key="areaEffect" value="purpleenergy"/>                  
            <attack name="manadrain" interval="2000" chance="15" radius="6"> <!--Mana Drain Bomb-->
                <attribute key="areaEffect" value="blueshimmer"/>
            </attack>
            <attack name="fire" interval="2000" chance="15" length="8" spread="0" min="0" max="-900"> <!--Soulfire Beam-->
                <attribute key="areaEffect" value="redshimmer"/>
            </attack>
            <attack name="lifedrain" interval="3000" chance="6" range="7" min="-200" max="-300"> <!--Distance life drain hit-->
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>
    </attacks>
        <defenses armor="70" defense="30">
    <elements>
                <element firePercent="60"/>
                <element physicalPercent="-8"/>
                <element holyPercent="-15"/>
                <element energyPercent="-10"/>
    </elements>
    <immunities>
                <immunity paralyze="1"/>
                <immunity invisible="1"/>
                <immunity death="1"/>
                <immunity earth="1"/>
    </immunities>
    <summons maxSummons="1">
            <summon name="Draken Warmaster" interval="2000" chance="10" max="2"/>
    </summons>
        <voices interval="5000" chance="9">
        <voice sentence="YOU DON'T VEN UNDERSTAND WHOM YOU ARE SERVING!" yell="1"/>
        <voice sentence="FLEE AND NEVER TRETURN!!" yell="1"/>
        <voice sentence="YOU HAVE BEEN USED AND FOOLED!" yell="1"/>
        <voice sentence="I WILL STOP YOU ONCE AND FOR ALL!" yell="1"/>
    </voices>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Wrath of the Emperor" nameDescription="Wrath of the emperor" race="undead" experience="600" speed="350" manacost="0">
     <health now="78000" max="78000"/>
     <look type="351" corpse="8964"/>
     <targetchange interval="2000" 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" min="0" max="-800"/> <!--Melee-->
         <attack name="energy" interval="2000" chance="15" length="8" spread="3" min="0" max="-800">  <!--Energy Wave-->
             <attribute key="areaEffect" value="purpleenergy"/>
         </attack>      
         <attack name="manadrain" interval="2000" chance="15" radius="6"> <!--Mana Drain Bomb-->
             <attribute key="areaEffect" value="blueshimmer"/>
         </attack>
         <attack name="fire" interval="2000" chance="15" length="8" spread="0" min="0" max="-900"> <!--Soulfire Beam-->
             <attribute key="areaEffect" value="redshimmer"/>
         </attack>
         <attack name="lifedrain" interval="3000" chance="6" range="7" min="-200" max="-300"> <!--Distance life drain hit-->
             <attribute key="areaEffect" value="redshimmer"/>
         </attack>
     </attacks>
     <defenses armor="70" defense="30"/>
     <elements>
         <element firePercent="60"/>
         <element physicalPercent="-8"/>
         <element holyPercent="-15"/>
         <element energyPercent="-10"/>
     </elements>
     <immunities>
         <immunity paralyze="1"/>
         <immunity invisible="1"/>
         <immunity death="1"/>
         <immunity earth="1"/>
     </immunities>
     <summons maxSummons="1">
         <summon name="Draken Warmaster" interval="2000" chance="10" max="2"/>
     </summons>
     <voices interval="5000" chance="9">
         <voice sentence="YOU DON'T VEN UNDERSTAND WHOM YOU ARE SERVING!" yell="1"/>
         <voice sentence="FLEE AND NEVER TRETURN!!" yell="1"/>
         <voice sentence="YOU HAVE BEEN USED AND FOOLED!" yell="1"/>
         <voice sentence="I WILL STOP YOU ONCE AND FOR ALL!" yell="1"/>
     </voices>
</monster>
al68ZT.png
 
Last edited:
Back
Top