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

Whats wrong with this monster?

fredde3436

Member
Joined
Jul 6, 2009
Messages
226
Reaction score
7
Hey. Im gonna kill this server soon xD
I get this error, all i did was changing the name and dmg, and added custom spell and summons.

Error in console:
Code:
[08/05/2010 14:52:02] [Warning - Monsters::loadMonster] Cannot load monster (Grim Reaper Queen) file (data/monster/Undead Humanoids/grim reaper queen.xml).
[08/05/2010 14:52:02] Line: 39, Info: Extra content at the end of the document

Grim Reaper Queen.xml:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Grim Reaper queen" nameDescription="a grim reaper queen" race="undead" experience="15000" speed="500" manacost="0">
	<health now="56000" max="56000"/>
	<look type="300" corpse="8955"/>
	<targetchange interval="5000" 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="120" attack="140"/>
		<attack name="death" interval="1000" chance="9" range="7" min="0" max="-500">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-1000">
			<attribute key="areaEffect" value="redspark"/>
		</attack>
		<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-600">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="redspark"/>
	 	</attack>
		<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-600">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="partum nex" interval="5000" chance="15" min="-100" max="-200"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="50">
		<defense name="healing" interval="1000" chance="25" min="100" max="195">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="-10"/>
		<element earthPercent="40"/>
		<element icePercent="65"/>
		<element holyPercent="-10"/>
		<element deathPercent="80"/>
		<element firePercent="-10"/>
		<element physicalPercent="20"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="6">
		<summon name="grim slave" interval="4000" chance="50" max="6"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Where's my flesh!?" yell="1"/>
		<voice sentence="Come a little closer!" yell="1"/>
		<voice sentence="The end is near!" yell="1"/>
		<voice sentence="I smell humans!" yell="1"/>
		<voice sentence="Who's disturbing me?" yell="1"/>
		<voice sentence="What do you want?" yell="1"/>
	</voices>
	<loot>
    <item id="10576" chance="4950" /><!-- mystical hourglass -->
    <item id="5022" countmax="4" chance="900" /><!-- orichalcum pearl -->
    <item id="7418" chance="675" /><!-- nightmare blade -->
    <item id="7590" chance="9750" /><!-- great mana potion -->
    <item id="9808" chance="3050" /><!-- rusty armor -->
    <item id="2162" chance="5050" /><!-- magic light wand -->
    <item id="2521" chance="2850" /><!-- dark shield -->
    <item id="6500" chance="10900" /><!-- demonic essence -->
    <item id="8473" chance="10025" /><!-- ultimate health potion -->
    <item id="1987" chance="100000"><!-- bag -->
        <inside>
            <item id="2550" chance="10175" /><!-- scythe -->
            <item id="2152" countmax="4" chance="3100" /><!-- platinum coin -->
            <item id="6558" chance="35000" /><!-- concentrated demonic blood -->
            <item id="2148" countmax="100" chance="40050" /><!-- gold coin -->
            <item id="2148" countmax="100" chance="40050" /><!-- gold coin -->
            <item id="2148" countmax="65" chance="40050" /><!-- gold coin -->
            <item id="8910" chance="1100" /><!-- underworld rod -->
            <item id="6300" chance="200" /><!-- death ring -->
            <item id="8889" chance="175" /><!-- skullcracker armor -->
            <item id="7896" chance="225" /><!-- glacier kilt -->
        </inside>
    </item>
</loot>
</monster>
 
Try this:

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Grim Reaper queen" nameDescription="a grim reaper queen" race="undead" experience="15000" speed="500" manacost="0">
	<health now="56000" max="56000"/>
	<look type="300" corpse="8955"/>
	<targetchange interval="5000" 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="120" attack="140"/>
		<attack name="death" interval="1000" chance="9" range="7" min="0" max="-500">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-1000">
			<attribute key="areaEffect" value="redspark"/>
		</attack>
		<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-600">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="redspark"/>
	 	</attack>
		<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-600">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
		<attack name="partum nex" interval="5000" chance="15" min="-100" max="-200"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="50">
		<defense name="healing" interval="1000" chance="25" min="100" max="195">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="10"/>
		<element earthPercent="-20"/>
		<element icePercent="-10"/>
		<element holyPercent="10"/>
		<element deathPercent="-20"/>
		<element firePercent="10"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Death!" yell="1"/>
		<voice sentence="Come a little closer!" yell="1"/>
		<voice sentence="The end is near!" yell="1"/>
	</voices>
	<loot>
		<item id="2148" countmax="98" chance="40000"/><!-- gold coin -->
		<item id="2148" countmax="100" chance="40000"/><!-- gold coin -->
		<item id="2152" countmax="4" chance="20000"/><!-- Platinum Coin -->
		<item id="2150" countmax="3" chance="10000"/><!-- small amethyst -->
		<item id="6558" chance="7500"/><!-- concentrated demonic blood -->
		<item id="6500" countmax="1" chance="7500"/><!-- demonic essence -->
		<item id="6300" chance="7500"/><!-- death ring -->
		<item id="5909" countmax="1" chance="12500"/><!-- white piece of cloth -->
		<item id="2521" chance="25000"/><!-- dark shield -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="5022" countmax="4" chance="40000"/><!-- orichalcum pearl -->
				<item id="8889" chance="1500"/><!-- skullcracker armor -->
				<item id="7418" chance="3000"/><!-- nightmare blade -->
				<item id="7589" chance="5000"/><!-- strong mana potion -->
				<item id="8910" chance="3333"/><!-- underworld rod -->
				<item id="8473" chance="3333"/><!-- ultimate health potion -->
			</inside>
		</item>
	</loot>
</monster>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Grim Reaper queen" nameDescription="a grim reaper queen" race="undead" experience="15000" speed="500" manacost="0">
	<health now="56000" max="56000"/>
	<look type="300" corpse="8955"/>
	<targetchange interval="5000" 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="120" attack="140"/>
		<attack name="death" interval="1000" chance="9" range="7" min="0" max="-500">
			<attribute key="shootEffect" value="suddendeath"/>
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="lifedrain" interval="1000" chance="9" length="7" spread="0" min="0" max="-1000">
			<attribute key="areaEffect" value="redspark"/>
		</attack>
		<attack name="physical" interval="1000" chance="8" range="7" radius="4" target="1" min="0" max="-600">
			<attribute key="shootEffect" value="fire"/>
			<attribute key="areaEffect" value="redspark"/>
	 	</attack>
		<attack name="physical" interval="1000" chance="11" lenght="7" spread="3" min="0" max="-600">
			<attribute key="areaEffect" value="redshimmer"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="50">
		<defense name="healing" interval="1000" chance="25" min="100" max="195">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<defenses armor="50" defense="50">
		<defense name="healing" interval="1000" chance="25" min="100" max="195">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element energyPercent="-10"/>
		<element earthPercent="40"/>
		<element icePercent="65"/>
		<element holyPercent="-10"/>
		<element deathPercent="80"/>
		<element firePercent="-10"/>
		<element physicalPercent="20"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="6">
		<summon name="grim slave" interval="4000" chance="50" max="6"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Where's my flesh!?" yell="1"/>
		<voice sentence="Come a little closer!" yell="1"/>
		<voice sentence="The end is near!" yell="1"/>
		<voice sentence="I smell humans!" yell="1"/>
		<voice sentence="Who's disturbing me?" yell="1"/>
		<voice sentence="What do you want?" yell="1"/>
	</voices>
	<loot>
		<item id="10576" chance="4950" /><!-- mystical hourglass -->
		<item id="5022" countmax="4" chance="900" /><!-- orichalcum pearl -->
		<item id="7418" chance="675" /><!-- nightmare blade -->
		<item id="7590" chance="9750" /><!-- great mana potion -->
		<item id="9808" chance="3050" /><!-- rusty armor -->
		<item id="2162" chance="5050" /><!-- magic light wand -->
		<item id="2521" chance="2850" /><!-- dark shield -->
		<item id="6500" chance="10900" /><!-- demonic essence -->
		<item id="8473" chance="10025" /><!-- ultimate health potion -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2550" chance="10175" /><!-- scythe -->
				<item id="2152" countmax="4" chance="3100" /><!-- platinum coin -->
				<item id="6558" chance="35000" /><!-- concentrated demonic blood -->
				<item id="2148" countmax="100" chance="40050" /><!-- gold coin -->
				<item id="2148" countmax="100" chance="40050" /><!-- gold coin -->
				<item id="2148" countmax="65" chance="40050" /><!-- gold coin -->
				<item id="8910" chance="1100" /><!-- underworld rod -->
				<item id="6300" chance="200" /><!-- death ring -->
				<item id="8889" chance="175" /><!-- skullcracker armor -->
				<item id="7896" chance="225" /><!-- glacier kilt -->
			</inside>
		</item>
	</loot>
</monster>
 
he had a small error;
he ended this 2 times;
Code:
[B]<attack name="partum nex"[/B] interval="5000" chance="15" min="-100" [B]max="-200"/>[/B]
                [B][COLOR="Red"]</attack>[/COLOR][/B]
 
he had a small error;
he ended this 2 times;
Code:
[B]<attack name="partum nex"[/B] interval="5000" chance="15" min="-100" [B]max="-200"/>[/B]
                [B][COLOR="Red"]</attack>[/COLOR][/B]

I saw that and changed, but i still got that error.
i copied ur xml and it seems to work, thanks!
 
Back
Top