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

Windows Monster problem

Hanoger

Member
Joined
Mar 7, 2011
Messages
247
Reaction score
6
Hello, I have got problem with monster feverish citizen, I have no error in console, but I can't spawn it or can't even import it to map editor, here I post it, I haven't found reason, please help..

XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Feverish Citizen" nameDescription="a feverish citizen" race="blood" experience="30" speed="70" manacost="0">
  <health now="125" max="125"/>
  <look type="425" head="58" body="58" legs="58" feet="58" corpse="2317"/>
  <targetchange interval="5000" chance="8"/>
  <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="0"/>
    <flag canpushcreatures="0"/>
    <flag targetdistance="1"/>
    <flag staticattack="10"/>
    <flag runonhealth="20"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="20" attack="40"/>
  <attack name="drunk" interval="2000" chance="13" length="8" spread="3" duration="10000">
    <attribute key="areaEffect" value="poison"/>
  </attack>
</attacks>
<defense name="outfit" interval="2000" chance="10" monster="bog raider" duration="10000">
  <attribute key="areaEffect" value="bigclouds"/>
</defense>
</defenses>
<elements>
<element firePercent="5"/>
<element holyPercent="-80"/>
</elements>
<voices interval="2000" chance="10">
<voice sentence="Aaaaargh!"/>
<voice sentence="I am the king of the world!"/>
<voice sentence="Die Ferumbras!"/>
<voice sentence="Tigerblood is running through my veins!"/>
<voice sentence="You! It's you again!"/>
<voice sentence="Stand still you tasty morsel!"/>
<voice sentence="giggle"/>
<voice sentence="Burn heretic! Burn!"/>
<voice sentence="Harrr!"/>
<voice sentence="This is Rookgaard!"/>
</voices>
<loot>
<item id="3976" countmax="3" chance="100000"/>
<!-- worm -->
  <item id="2148" countmax="35" chance="50000"/>
  <!-- gold coin -->
    <item id="8010" chance="45000"/>
    <!-- bone -->
      <item id="13926" chance="4400"/>
      <!-- plague bell -->
        <item id="13925" chance="4400"/>
        <!-- plague mask -->
          <item id="1987" chance="100000"/>
            <!-- bag -->
              <inside>
                <item id="13545" chance="1100"/>
                <!-- luminous piece of cloth -->
                  <item id="13544" chance="1100"/>
                  <!-- ludicrous piece of cloth -->
                    <item id="13543" chance="1100"/>
                    <!-- obvious piece of cloth -->
                      <item id="13542" chance="1100"/>
                      <!-- voluminous piece of cloth -->
                        <item id="13541" chance="1100"/>
                        <!-- dubious piece of cloth -->
                          <item id="13540" chance="1100"/>
                          <!-- ominous piece of cloth --></inside>
                        </item>
                      </loot>
                    </monster>
 
shouldn't there be <defenses> as opening as well?? because there is only 1 <defense name~> and then there is </defense> AND </defenses>

so like this:
Code:
[B][I]<defenses>[/I][/B]
<defense name="outfit" interval="2000" chance="10" monster="bog raider" duration="10000">
  <attribute key="areaEffect" value="bigclouds"/>
</defense>
</defenses>

and yea, as 2x up said, u must remove the / from bag loot at the end.

just try changing the defenses to what i said
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Feverish Citizen" nameDescription="a feverish citizen" race="blood" experience="30" speed="70" manacost="0">
	<health now="125" max="125"/>
	<look type="425" head="58" body="58" legs="58" feet="58" corpse="2317"/>
	<targetchange interval="5000" chance="8"/>
	<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="0"/>
	<flag canpushcreatures="0"/>
	<flag targetdistance="1"/>
	<flag staticattack="10"/>
	<flag runonhealth="20"/>
</flags>
<attacks>
    <attack name="melee" interval="2000" skill="20" attack="40"/>
	<attack name="drunk" interval="2000" chance="13" length="8" spread="3" duration="10000">
		<attribute key="areaEffect" value="poison"/>
	</attack>
</attacks>
<defenses armor="40" defense="50">
	<defense name="outfit" interval="2000" chance="10" monster="bog raider" duration="10000">
		<attribute key="areaEffect" value="bigclouds"/>
	</defense>
</defenses>
<elements>
	<element firePercent="5"/>
	<element holyPercent="-80"/>
</elements>
<voices interval="2000" chance="10">
	<voice sentence="Aaaaargh!"/>
	<voice sentence="I am the king of the world!"/>
	<voice sentence="Die Ferumbras!"/>
	<voice sentence="Tigerblood is running through my veins!"/>
	<voice sentence="You! It's you again!"/>
	<voice sentence="Stand still you tasty morsel!"/>
	<voice sentence="giggle"/>
	<voice sentence="Burn heretic! Burn!"/>
	<voice sentence="Harrr!"/>
	<voice sentence="This is Rookgaard!"/>
</voices>
<loot>
	<item id="3976" countmax="3" chance="100000"/><!-- worm -->
	<item id="2148" countmax="35" chance="50000"/><!-- gold coin -->
	<item id="8010" chance="45000"/><!-- bone -->
	<item id="13926" chance="4400"/><!-- plague bell -->
	<item id="13925" chance="4400"/><!-- plague mask -->
	<item id="1987" chance="100000"><!-- bag -->
		<inside>
			<item id="13545" chance="1100"/><!-- luminous piece of cloth -->
			<item id="13544" chance="1100"/><!-- ludicrous piece of cloth -->
			<item id="13543" chance="1100"/><!-- obvious piece of cloth -->
			<item id="13542" chance="1100"/><!-- voluminous piece of cloth -->
			<item id="13541" chance="1100"/><!-- dubious piece of cloth -->
			<item id="13540" chance="1100"/><!-- ominous piece of cloth -->
		</inside>
	</item>
</loot>
</monster>
 
Back
Top