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

Why doesn't this mob work?

Muzzy

New Member
Joined
Jul 8, 2008
Messages
125
Reaction score
1
Hey,

Not sure what's wrong with this guy, but he just refuses to be spawned, throwing this error at my face:

Code:
[23/07/2013 12:42:17] [Spawn::addMonster] Can not find Arafin, the Dragon Caller

This is my monsters.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monsters>
	<!-- Elves -->
	<monster name="Elf Arcanist" file="Elves/elf arcanist.xml"/>
	<monster name="Elf Scout" file="Elves/elf scout.xml"/>
	<monster name="Elf" file="Elves/elf.xml"/>
	<monster name="Elf Beastmaster" file="Elves/elf beastmaster.xml"/>
	<monster name="Arafin, the Dragon Caller" file="Elves/arafin, the dragon caller.xml"/>
</monsters>

Arafin, the Dragon Caller.xml:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Arafin, the Dragon Caller" nameDescription="Arafin, the Dragon Caller" race="venom" experience="2250" speed="280" manacost="0">
	<health now="2400" max="2400"/>
	<look type="62" corpse="6003"/>
	<targetchange interval="2000" 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="4"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="30" attack="55"/>
		</attack>
		<attack name="poison" interval="2000" chance="33" range="7" min="-90" max="-120">
		<attribute key="shootEffect" value="poison"/>
		</attack>
		<attack name="fire" interval="1000" chance="33" range="7" min="-120" max="-140">
		<attribute key="shootEffect" value="fire"/>
		</attack>
		<attack name="physical" interval="2000" chance="25" range="7" min="-65" max="-70">
		<attribute key="shootEffect" value="arrow"/>
		</attack>
		<attack name="manadrain" interval="1000" chance="6" range="7" min="-20" max="-40">
		<attribute key="areaEffect" value="blueshimmer"/>
		</attack>
		<attack name="speed" interval="2000" chance="75" range="7" speedchange="-65" duration="10000">
		<attribute key="areaEffect" value="redshimmer"/>
		</attack>
	</attacks>
	<defenses armor="18" defense="32"/>
	<elements>
		<element earthPercent="100"/>
		<element energyPercent="25"/>
		<element icePercent="-10"/>
		<element deathPercent="12"/>
		<element firePercent="100"/>
	</elements>
	<immunities>
		<immunity lifedrain="1"/>
		<immunity invisible="1"/>
	</immunities>
	<summons maxSummons="2"
		<summon name="Dragon" interval="2000" chance="25" max="2"/>
	</summons>
	<voices interval="5000" chance="10">
		<voice sentence="Smirk."/>
		<voice sentence="Shi'han bol nanir...!"/>
	</voices>
	<loot>
		<item id="2152" countmax="3" chance="30000"/><!-- platinum coin -->
		<item id="2148" countmax="63" chance="30000"/><!-- gold coin -->
		<item id="2148" countmax="37" chance="30000"/><!-- gold coin -->
		<item id="2377" chance="12500"/><!-- two handed sword -->
		<item id="2391" chance="8500"/><!-- war hammer -->
		<item id="8900" chance="5000"/><!-- spellbook of enlightenment -->
		<item id="2532" chance="6000"/><!-- ancient shield -->
		<item id="7364" countmax="13" chance="10000"/><!-- sniper arrow -->
		<item id="7589" chance="10000"/><!-- strong mana potion -->
		<item id="12420" countmax="3" chance="22500"/><!-- elven scouting glass -->
		<item id="2181" chance="7550"/><!-- terra rod -->
		<item id="2149" countmax="3" chance="7500"/><!-- small emerald -->
		<item id="2198" chance="4000"/><!-- elven amulet -->
	</loot>
</monster>

He's also added in RME:
Code:
<creature name="Arafin, the Dragon Caller" type="monster" looktype="62" lookhead="20" lookbody="30" looklegs="40" lookfeet="50"/>
What am I missing? I've already tried changing the name, it's not the ','.

Thanks in advance,
~Muzzy
 
Hi Muzzy,

Everything looks good there. Have you ensured the file, arafin, the dragon caller.xml, is actually in the folder Elves and that it's extension is .xml?

Of course those are a couple of obvious things but sometimes overlooked.

Cheers,
Yodot.
 
<monster name="Arafin, the Dragon Caller" file="Elves/arafin, the dragon caller.xml"/>

Idk about this dots
 
i think just remove the , in the file name and in the xml register
the , will show up anyway when its summoned

if you use linux you must put everywhere a capital letter where you have put it to either
like the file is "dRaGon.xml" u must register it also dRaGon.xml



BTW:

you must add ">"
<summons maxSummons="2">
 
Last edited:
I've double checked everything you adviced(triple now), but I did miss the summon part, though it didn't work anyway.

Thanks a lot for the responses though. :)
 
Back
Top