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

Help , Spawn.

ilpoonu

New Member
Joined
Jan 4, 2008
Messages
127
Reaction score
1
Made Monster , Added Spawn but when starting server says

Monster name Couldn't be found.

What to do to fix this?

Thanks.
 
Oops , Wont work after all.

<?xml version="1.0" encoding="UTF-8"?>
<monster name="Amazon Leader" species="human" nameDescription="an Amazon Leader" race="blood" experience="200" speed="176" manacost="800">
<health now="500" max="500"/>
<look type="139" head="113" body="57" legs="95" feet="113" corpse="3065"/>
<targetchange interval="60000" chance="0"/>
<strategy attack="100" defense="0"/>
<flags>
<flag summonable="1"/>
<flag attackable="1"/>
<flag hostile="1"/>
<flag illusionable="0"/>
<flag convinceable="1"/>
<flag pushable="0"/>
<flag canpushitems="0"/>
<flag staticattack="50"/>
<flag lightlevel="0"/>
<flag lightcolor="0"/>
<flag targetdistance="1"/>
<flag runonhealth="0"/>
</flags>
<attacks>
<attack name="melee" interval="2000" min="-1" max="-50"/>
<attack name="spear" interval="1000" chance="75" min="-10" max="-20"/>
<attack name="spear" interval="1000" chance="100" min="-10" max="-25"/>
<attack name="throwing knife" interval="2000" chance="10" min="-5" max="-150"/>
</attacks>
<defenses armor="17" defense="15"/>
<immunities>
<immunity physical="0"/>
<immunity energy="0"/>
<immunity fire="0"/>
<immunity poison="0"/>
<immunity lifedrain="0"/>
<immunity paralyze="0"/>
<immunity outfit="0"/>
<immunity drunk="0"/>
<immunity invisible="0"/>
</immunities>
<voices interval="2000" chance="5">
<voice sentence="Veel Yks Pea Mulle!"/>
<voice sentence="Pea Maha!"/>
<voice sentence="Su Pea on Minu!"/>
<voice sentence="Seisa Paigal!"/>
</voices>
<loot>
<item id="2159" countmax="4" chance1="100000" chancemax="0"/>
<inside>
</inside>
</item>
</loot>
</monster>

Is the script.

Parser error : Ending and opening tag mismatch
&
Parser error : Extra content at the end of the document
 
Oops , Wont work after all.



Is the script.

Parser error : Ending and opening tag mismatch
&
Parser error : Extra content at the end of the document

I've edited it to make it work.
Replace everything with
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="amazon leader" nameDescription="an amazon leader" race="blood" experience="200" speed="176" manacost="800">
  <health now="500" max="500"/>
  <look type="139" head="113" body="57" legs="95" feet="113" corpse="3065"/>
  <targetchange interval="60000" chance="0"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="1"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="0"/>
    <flag convinceable="1"/>
    <flag pushable="0"/>
    <flag canpushitems="0"/>
    <flag staticattack="50"/>
    <flag lightlevel="0"/>
    <flag lightcolor="0"/>
    <flag targetdistance="1"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-1" max="-50"/>
    <attack name="spear" interval="1000" chance="75" min="-10" max="-20"/>
    <attack name="spear" interval="1000" chance="100" min="-10" max="-25"/>
    <attack name="throwing knife" interval="2000" chance="10" min="-5" max="-150"/>
    </attack>
  </attacks>
  <defenses armor="17" defense="15"/>
  <elements>
  </elements>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="0"/>
    <immunity paralyze="0"/>
    <immunity outfit="0"/>
    <immunity drunk="0"/>
    <immunity invisible="0"/>
  </immunities>
  <voices interval="2000" chance="5">
    <voice sentence="Veel Yks Pea Mulle!"/>
    <voice sentence="Pea Maha!"/>
    <voice sentence="Su Pea on Minu!"/>
    <voice sentence="Seisa Paigal!"/>
  </voices>
  <loot>
    <item id="2159" countmax="4" chance1="100000" chancemax="0"/>
      <inside>
      </inside>
    </item>
  </loot>
</monster>
 
my.php


ImageShack - Image Hosting :: error111l.jpg
 

Fixed
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="amazon leader" nameDescription="an amazon leader" race="blood" experience="200" speed="176" manacost="800">
  <health now="500" max="500"/>
  <look type="139" head="113" body="57" legs="95" feet="113" corpse="3065"/>
  <targetchange interval="60000" chance="0"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="1"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="0"/>
    <flag convinceable="1"/>
    <flag pushable="0"/>
    <flag canpushitems="0"/>
    <flag staticattack="50"/>
    <flag lightlevel="0"/>
    <flag lightcolor="0"/>
    <flag targetdistance="1"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-1" max="-50"/>
    <attack name="spear" interval="1000" chance="75" min="-10" max="-20"/>
    <attack name="spear" interval="1000" chance="100" min="-10" max="-25"/>
    <attack name="throwing knife" interval="2000" chance="10" min="-5" max="-150"/>
  </attacks>
    <defenses armor="17" defense="15">
    </defenses>
  <elements>
  </elements>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="0"/>
    <immunity paralyze="0"/>
    <immunity outfit="0"/>
    <immunity drunk="0"/>
    <immunity invisible="0"/>
  </immunities>
  <voices interval="2000" chance="5">
    <voice sentence="Veel Yks Pea Mulle!"/>
    <voice sentence="Pea Maha!"/>
    <voice sentence="Su Pea on Minu!"/>
    <voice sentence="Seisa Paigal!"/>
  </voices>
  <loot>
    <item id="2159" countmax="4" chance1="100000" chancemax="0"/>
      <inside>
      </inside>
    </item>
  </loot>
</monster>
 

New fix:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="amazon leader" nameDescription="an amazon leader" race="blood" experience="200" speed="176" manacost="800">
  <health now="500" max="500"/>
  <look type="139" head="113" body="57" legs="95" feet="113" corpse="3065"/>
  <targetchange interval="60000" chance="0"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="1"/>
    <flag attackable="1"/>
    <flag hostile="1"/>
    <flag illusionable="0"/>
    <flag convinceable="1"/>
    <flag pushable="0"/>
    <flag canpushitems="0"/>
    <flag staticattack="50"/>
    <flag lightlevel="0"/>
    <flag lightcolor="0"/>
    <flag targetdistance="1"/>
    <flag runonhealth="0"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-1" max="-50"/>
    <attack name="spear" interval="1000" chance="75" min="-10" max="-20"/>
    <attack name="spear" interval="1000" chance="100" min="-10" max="-25"/>
    <attack name="throwing knife" interval="2000" chance="10" min="-5" max="-150"/>
  </attacks>
    <defenses armor="17" defense="15">
    </defenses>
  <elements>
  </elements>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="0"/>
    <immunity paralyze="0"/>
    <immunity outfit="0"/>
    <immunity drunk="0"/>
    <immunity invisible="0"/>
  </immunities>
  <voices interval="2000" chance="5">
    <voice sentence="Veel Yks Pea Mulle!"/>
    <voice sentence="Pea Maha!"/>
    <voice sentence="Su Pea on Minu!"/>
    <voice sentence="Seisa Paigal!"/>
  </voices>
  <loot>
    <item id="7449" chance="1"/>
  </loot>
</monster>
 
Back
Top