• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Console error "Cant load" monsters.xml

Lopaskurwa

Well-Known Member
Joined
Oct 6, 2017
Messages
936
Solutions
2
Reaction score
57
Untitled.png

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monsters>
<monster name="Trainer Android" file="monsters/trainer.xml" />
</monsters>
Code:
<?xml version="1.0"?>
<monster name="Trainer Machine" nameDescription="a Training Machine" level="100" experience="12000" manacost="0" speed="310" race="2">
  <health now="900000000" max="900000000"/>
  <strategy attack="0" defense="0"/>
  <targetchange speed="260" chance="0"/> 
<look type="93" head="20" body="30" legs="40" feet="50" addons="0" corpse="2807"/>

<flags>
 <flag summonable="0"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="0"/>
      <flag convinceable="0"/>
      <flag pushable="0"/>
     <flag canpushitems="1"/>
      <flag staticattack="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
  </flags> 
<attacks>
      <attack name="arrow" interval="2000" chance="100" min="-1" max="-1"/>
<attack name="arrow" interval="2000" chance="100" min="-2" max="-2"/>
<attack name="arrow" interval="2000" chance="100" min="-3" max="-3"/>
<attack name="arrow" interval="2000" chance="100" min="-4" max="-4"/>
<attack name="arrow" interval="2000" chance="100" min="-5" max="-5"/>
  <attack name="bolt" interval="2000" chance="100" min="-1" max="-1"/>
</attacks>
  <defenses defense="0" armor="0"/>
  <immunities/>

</monster>
 
Solution
The error is regarding to the <attacks>. There is no such a spell named "arrow" or "bolt", you must change that to a spell that actually exists.
The error is regarding to the <attacks>. There is no such a spell named "arrow" or "bolt", you must change that to a spell that actually exists.
 
Solution
Back
Top