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

Solved Unknown immunity

This is what happens when you move unknown scripts from 0.4 to 1.0
Your scripts have misspelled immunities so they can't load(eg bad letter case or pointless space somewhere).
Allowed immunities(others will result errors):
"physical"
"energy"
"fire"
"poison"/"earth"
"drown"
"ice"
"holy"
"death"
"lifedrain"
"manadrain"
"paralyze"
"outfit"
"drunk"
"invisible"/"invisibility"
"bleed"
 
I fixed it, but i'm not in home now, if you want, I can send you the right file or post here the fix, but you have to wait until tomorrow.
 
this error is what ive had ever since i changed to 1.0
i didnt copy anything from any other file other than my map. but alright trovar ill wait til you get home.
 
This is what happens when you move unknown scripts from 0.4 to 1.0
Your scripts have misspelled immunities so they can't load(eg bad letter case or pointless space somewhere).
Allowed immunities(others will result errors):
"physical"
"energy"
"fire"
"poison"/"earth"
"drown"
"ice"
"holy"
"death"
"lifedrain"
"manadrain"
"paralyze"
"outfit"
"drunk"
"invisible"/"invisibility"
"bleed"

Well I went through all the monsters scripts and removed the firePercent type things but it seems to just double the errors
 
heres a script of a monster.

Code:
    <?xml version="1.0" encoding="UTF-8"?>
<monster name="Hideous Fungus" nameDescription="hideous fungus" race="blood" experience="2600" speed="570" manacost="0">
  <health now="3400" max="3400"/>
  <look type="517" corpse="17428"/>
  <targetchange interval="5000" chance="8"/>
  <strategy attack="90" defense="10"/>
  <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="50" attack="80"/>
     <attack name="physical" interval="2800" chance="100" range="7" min="-140" max="-340">
       <attribute key="shootEffect" value="poisonarrow"/>
     </attack>
     <attack name="drunk" interval="1000" chance="10" range="7"/>
  </attacks>
  <defenses armor="55" defense="55">   
  </defenses>
   <elements>     
     <element death="-10"/>     
     <element ice="-10"/>     
     <element fire="+30"/>
   </elements>
  <immunities>
  <immunity earth="1"/>
  <immunity lifedrain="0"/>
  <immunity paralyze="100"/>
  <immunity invisible="100"/>
  </immunities>   
   <voices interval="2500" chance="10">
     <voice sentence="Hissss!"/>
     <voice sentence="Munch munch munch!"/>
   </voices>
  <loot>
   <item id="2148" countmax="100" chance="30000"/>
   <item id="2148" countmax="100" chance="33333"/>
   <item id="2152" countmax="2" chance="33333"/>
   <item id="2149" countmax="4" chance="33333"/>
   <item id="18436" countmax="15" chance="3333"/>
  <item id="7436" chance="8080"/>   
  <item id="7632" chance="4600"/>
  <item id="7440" chance="500"/>
  <item id="7419" chance="500"/>
  <item id="5909" chance="1450"/>
  <item id="5913" chance="900"/>
  <item id="5912" chance="450"/>
  <item id="18411" chance="400"/>
  <item id="7886" chance="5332"/>   
     
</loot>
</monster>
[code/]
 
Immunities can have only 0 or 1 value(you can't damage it - true or false) Replace those 100 with 1 and should be fine.
Elements is what means %weaker/stronger against specified kind of attack.
 
Immunities can have only 0 or 1 value(you can't damage it - true or false) Replace those 100 with 1 and should be fine.
Elements is what means %weaker/stronger against specified kind of attack.
Solved it! The errors were doubling because I was removing the Percent part from firePercent etc.
The original errors were coming from the few creatures who were MISSING that part and just said fire.
As for the elements you were spot on. Thanks!
 
Back
Top