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

Solved Monster Spawn error even i have the .xml

RockeTBunnYz

Trainee in progress
Joined
Jan 21, 2015
Messages
137
Reaction score
7
Location
sweden
Hey, i'm getting this error even i have Bone Beast.xml in my monster files
Code:
[08/02/2015 00:37:16] [Spawn::addMonster] Cannot find "Bonebeast"
here it's monster file
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="bone beast" nameDescription="a bone beast" race="UNDEAD" experience="580" speed="210" manacost="0">
  <health now="515" max="515"/>
  <look type="101" head="20" body="30" legs="40" feet="50" corpse="6030"/>
  <targetchange interval="5000" chance="8"/>
  <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="75" attack="47" poison="110"/>
    <attack name="poison" interval="1000" chance="10" range="7" min="-25" max="-65">
      <attribute key="shootEffect" value="poison"/>
      <attribute key="areaEffect" value="poison"/>
    </attack>
    <attack name="lifedrain" interval="1000" chance="15" radius="3" target="0" min="-30" max="-50">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    <attack name="poisoncondition" interval="1000" chance="13" radius="3" target="0" min="-60" max="-80">
      <attribute key="areaEffect" value="poison"/>
    </attack>
  </attacks>
  <defenses armor="20" defense="35">
    <defense name="healing" interval="1000" chance="12" min="30" max="60">
      <attribute key="areaEffect" value="greenspark"/>
    </defense>
  </defenses>
  <elements>
    <element deathPercent="100"/>
    <element earthPercent="100"/>
    <element firePercent="-10"/>
    <element holyPercent="-20"/>
  </elements>
  <immunities>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity invisible="1"/>
  </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="Cccchhhhhhhhh!"/>
    <voice sentence="Knooorrrrr!"/>
  </voices>
  <loot>
    <item id="2148" countmax="20" chance1="100000" chancemax="0"/>
    <item id="2229" countmax="2" chance1="20000" chancemax="0"/>
    <item id="2231" chance="33333"/>
    <item id="2463" chance="2500"/>
    <item id="5925" countmax="1" chance1="5000" chancemax="0"/>
    <item id="1987" chance="100000">
      <inside>
        <item id="2541" chance="2000"/>
        <item id="2148" countmax="10" chance1="50000" chancemax="0"/>
        <item id="2450" chance="1666"/>
        <item id="2449" chance="10000"/>
      </inside>
    </item>
  </loot>
</monster>
i also have this line in my monster.xml
Code:
<monster name="Bone beast" file="Undeads/bone beast.xml"/>

so there is something crazy here..
 
<monster name="Bone beast" file="Undeads/bone beast.xml"/>

Delete Space from the names man ... easy bug

FROM

?xml version="1.0" encoding="UTF-8"?>
<monster name="bone beast" nameDescription="a bone beast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>

TO

?xml version="1.0" encoding="UTF-8"?>
<monster name="bonebeast" nameDescription="a bone beast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>
 
Last edited by a moderator:
he don't need to edit , just give him a tip
when u call monster u should call the name as xxx.xml file not what u wrote inside

for example
my monster file is Black Hat Hacker.xml
and inside it i name it Black Hacker

when i summon it i should call it like this
/s black hat hacker

i hope u got it
 
FROM

?xml version="1.0" encoding="UTF-8"?>
<monster name="bone beast" nameDescription="a bone beast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>

TO

?xml version="1.0" encoding="UTF-8"?>
<monster name="bonebeast" nameDescription="a bone beast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>
that's doesnt help ....
 
ohh sorry miss in copy thats will help now :)

?xml version="1.0" encoding="UTF-8"?>
<monster name="bonebeast" nameDescription="a bonebeast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>
 
he don't need to edit , just give him a tip
when u call monster u should call the name as xxx.xml file not what u wrote inside

for example
my monster file is Black Hat Hacker.xml
and inside it i name it Black Hacker

when i summon it i should call it like this
/s black hat hacker

i hope u got it

i know what you mean but i already check that.... and also i have 3 bonebeast in my monster file 1 in undead file and 1 in skeleton file and 1 in engine monster file

ohh sorry miss in copy thats will help now :)

?xml version="1.0" encoding="UTF-8"?>
<monster name="bonebeast" nameDescription="a bonebeast" race="UNDEAD" experience="580" speed="210" manacost="0">
<health now="515" max="515"/>
i dont think that monster name or nameDescription have something to do with it i dont know but it's doesnt work anyway...
 
Last edited by a moderator:
it should work as i said lol :/

the error give
Code:
[08/02/2015 00:37:16] [Spawn::addMonster] Cannot find "Bonebeast"
so if i understand what you mean is i must have my bonebeast.xml as bonebeast.xml right?
if that i already have that.
excatly the name on .xml as script in monster.xml
 
look it's like amazon monster
name is amazon.xml
and in monster.xml
<monster name="Amazon" file="Amazons/amazon.xml"/>

but i believe if u called the xml file it should work
my bonebeast is call bonebeast.xml
and in monster.xml it's call
Code:
<monster name="Bone beast" file="Skeletons/bonebeast.xml"/>
so everything it's curret but i still getting this error ....
 
my bonebeast is call bonebeast.xml
and in monster.xml it's call
Code:
<monster name="Bone beast" file="Skeletons/bonebeast.xml"/>
so everything it's curret but i still getting this error ....
<monster name="Bonebeast" file="Skeletons/bonebeast.xml"/>
 
so here is the last chance
the original files as 0.4
in monster/Skeletons delete you bone beast shit and create a new file called
bonebeast.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Bonebeast" nameDescription="a bonebeast" race="undead" experience="580" speed="210" manacost="0">
    <health now="515" max="515"/>
    <look type="101" corpse="6030"/>
    <targetchange interval="5000" chance="8"/>
    <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="40" attack="80" poison="110"/>
        <attack name="poison" interval="1000" chance="10" range="7" min="-25" max="-65">
            <attribute key="shootEffect" value="poison"/>
            <attribute key="areaEffect" value="poison"/>
        </attack>
        <attack name="lifedrain" interval="1000" chance="15" radius="3" target="0" min="-30" max="-50">
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>
        <attack name="poisoncondition" interval="1000" chance="13" radius="3" target="0" min="-60" max="-80">
            <attribute key="areaEffect" value="poison"/>
        </attack>
    </attacks>
    <defenses armor="20" defense="35">
        <defense name="healing" interval="1000" chance="12" min="30" max="60">
            <attribute key="areaEffect" value="greenspark"/>
        </defense>
    </defenses>
    <elements>
        <element deathPercent="100"/>
        <element earthPercent="100"/>
        <element firePercent="-10"/>
        <element holyPercent="-20"/>
    </elements>
    <immunities>
        <immunity lifedrain="1"/>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Cccchhhhhhhhh!"/>
        <voice sentence="Knooorrrrr!"/>
    </voices>
    <loot>
        <item id="2148" countmax="55" chance="15000"/><!-- gold coin -->
        <item id="2148" countmax="35" chance="15000"/><!-- gold coin -->
        <item id="2231" chance="11000"/><!-- big bone -->
        <item id="2230" chance="47750"/><!-- bone -->
        <item id="2449" chance="3250"/><!-- bone club -->
        <item id="2541" chance="2600"/><!-- bone shield -->
        <item id="1987" chance="100000"><!-- bag -->
            <inside>
        <item id="2796" chance="1750"/><!-- green mushroom -->
        <item id="5925" chance="900"/><!-- hardened bone -->  
        <item id="2463" chance="5650"/><!-- plate armor -->
        <item id="7618" chance="900"/><!-- health potion -->  
        <item id="2229" chance="21000"/><!-- skull -->
            </inside>
        </item>
    </loot>
</monster>

 
so here is the last chance
the original files as 0.4
in monster/Skeletons delete you bone beast shit and create a new file called
bonebeast.xml
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Bonebeast" nameDescription="a bonebeast" race="undead" experience="580" speed="210" manacost="0">
    <health now="515" max="515"/>
    <look type="101" corpse="6030"/>
    <targetchange interval="5000" chance="8"/>
    <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="40" attack="80" poison="110"/>
        <attack name="poison" interval="1000" chance="10" range="7" min="-25" max="-65">
            <attribute key="shootEffect" value="poison"/>
            <attribute key="areaEffect" value="poison"/>
        </attack>
        <attack name="lifedrain" interval="1000" chance="15" radius="3" target="0" min="-30" max="-50">
            <attribute key="areaEffect" value="redshimmer"/>
        </attack>
        <attack name="poisoncondition" interval="1000" chance="13" radius="3" target="0" min="-60" max="-80">
            <attribute key="areaEffect" value="poison"/>
        </attack>
    </attacks>
    <defenses armor="20" defense="35">
        <defense name="healing" interval="1000" chance="12" min="30" max="60">
            <attribute key="areaEffect" value="greenspark"/>
        </defense>
    </defenses>
    <elements>
        <element deathPercent="100"/>
        <element earthPercent="100"/>
        <element firePercent="-10"/>
        <element holyPercent="-20"/>
    </elements>
    <immunities>
        <immunity lifedrain="1"/>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Cccchhhhhhhhh!"/>
        <voice sentence="Knooorrrrr!"/>
    </voices>
    <loot>
        <item id="2148" countmax="55" chance="15000"/><!-- gold coin -->
        <item id="2148" countmax="35" chance="15000"/><!-- gold coin -->
        <item id="2231" chance="11000"/><!-- big bone -->
        <item id="2230" chance="47750"/><!-- bone -->
        <item id="2449" chance="3250"/><!-- bone club -->
        <item id="2541" chance="2600"/><!-- bone shield -->
        <item id="1987" chance="100000"><!-- bag -->
            <inside>
        <item id="2796" chance="1750"/><!-- green mushroom -->
        <item id="5925" chance="900"/><!-- hardened bone --> 
        <item id="2463" chance="5650"/><!-- plate armor -->
        <item id="7618" chance="900"/><!-- health potion --> 
        <item id="2229" chance="21000"/><!-- skull -->
            </inside>
        </item>
    </loot>
</monster>


well thanks now it's gone and the file you gave me did give me alots of missing monster so i just copy like for bonebeast and paste it's in my monster so now it's gone anyway ! thanks for your hard work haha !!!!
 
All i did was remove the old
Code:
<monster name="Bonebeast" file="Skeletons/bonebeast.xml"/>
from my monster.xml
and change it to this
Code:
<monster file="Skeletons/bonebeast.xml" name="Bonebeast"/>
<monster file="Skeletons/bonebeast.xml" name="Bone Beast"/>
notice the new one got 2 line and old one got 1 line.... so in order for it to work you had you add those 2lines.
 
All i did was remove the old
Code:
<monster name="Bonebeast" file="Skeletons/bonebeast.xml"/>
from my monster.xml
and change it to this
Code:
<monster file="Skeletons/bonebeast.xml" name="Bonebeast"/>
<monster file="Skeletons/bonebeast.xml" name="Bone Beast"/>
notice the new one got 2 line and old one got 1 line.... so in order for it to work you had you add those 2lines.

xD gj
but i didn't added anything in monsters.xml
i just sent u the original file <3
 
Back
Top