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

Lua Monsters Will Not Die?

XxShallowxX

ಠ_ಠ
Joined
Dec 3, 2010
Messages
607
Reaction score
27
Location
USA
Hello, I have a problem, whenever I kill a "Custom Monster" on my OT, it doesn't die. It just stays there, attacking, without any health, and I also get this error in console :

qxq4xs.png
 
Some of The Ones That Don't Die :

XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="MindFreak" nameDescription="Apocalypse" race="fire" experience="1000000" speed="1200" manacost="0">
  <health now="300000" max="300000"/>
  <look type="12" head="38" body="114" legs="0" feet="94" corpse="6068"/>
  <targetchange interval="5000" chance="20"/>
  <strategy attack="65" defense="5"/>
  <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" min="-3500" max="-7000"/>
    <attack name="physical" interval="1000" chance="13" radius="8" target="0" min="-35000" max="-40000">
      <attribute key="areaEffect" value="mortarea"/>
    </attack>
    <attack name="speed" interval="1000" chance="12" radius="6" target="0" speedchange="-200" duration="60000">
      <attribute key="areaEffect" value="fire"/>
    </attack>
    <attack name="strength" interval="1000" chance="12" radius="3" target="0">
      <attribute key="areaEffect" value="blackspark"/>
    </attack>
    <attack name="fire" interval="1000" chance="34" range="7" radius="7" target="1" min="-10000" max="-15000">
      <attribute key="shootEffect" value="fire"/>
      <attribute key="areaEffect" value="firearea"/>
    </attack>
    <attack name="manadrain" interval="1000" chance="7" length="0" spread="3" min="-8000" max="-12000">
      <attribute key="areaEffect" value="energyarea"/>
    </attack>
    <attack name="physical" interval="1000" chance="7" length="8" spread="3" min="-300" max="-900"/>
    <attack name="energy" interval="1000" chance="9" length="8" spread="0" min="-1000" max="-3000">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    <attack name="poisoncondition" interval="1000" chance="10" length="0" spread="0" min="-3000" max="-5000">
      <attribute key="areaEffect" value="greenspark"/>
    </attack>
    <attack name="lifedrain" interval="1000" chance="15" length="8" spread="0" min="-500" max="-1000">
      <attribute key="areaEffect" value="redshimmer"/>
    </attack>
  </attacks>
  <defenses armor="188" defense="145">
    <defense name="healing" interval="1000" chance="15" min="10000" max="13500">
      <attribute key="areaEffect" value="blueshimmer"/>
    </defense>
    <defense name="speed" interval="2000" chance="8" speedchange="480" duration="6000">
      <attribute key="areaEffect" value="redshimmer"/>
    </defense>
  </defenses>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="0"/>
    <immunity poison="0"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
  <voices interval="5000" chance="10">
    <voice sentence="FINALLY I SMELL FOOD! THANKS BLOCKER!!" yell="1"/>
    <voice sentence="BABY FOOD? BLOCKER I THOUGHT U GET ME BETTER THAN THIS" yell="1"/>
    <voice sentence="IM ALWAYS HUNGRY" yell="1"/>
    <voice sentence="DEATH TO ALL!" yell="1"/>
  </voices>
  <loot capacity="5000">
    <item id="2144" countmax="15" chance="15000"/>
    <item id="2158" countmax="1" chance="1500"/>
    <item id="2195" countmax="1" chance="4000"/>
    <item id="2192" countmax="1" chance="2500"/>
    <item id="2125" countmax="1" chance="1500"/>
    <item id="2124" countmax="1" chance="5500"/>
    <item id="2520" countmax="1" chance="15500"/>
    <item id="2462" countmax="1" chance="11000"/>
    <item id="2387" countmax="1" chance="20000"/>
    <item id="2434" countmax="1" chance="4500"/>
    <item id="2167" countmax="1" chance="13500"/>
    <item id="2432" countmax="1" chance="17000"/>
    <item id="2393" countmax="1" chance="12500"/>
    <item id="7409" countmax="1" chance="100"/>
    <item id="7387" countmax="1" chance="100"/>
    <item id="2438" countmax="1" chance="100"/>
    <item id="6529" countmax="1" chance="100"/>
    <item id="7413" countmax="1" chance="100"/>
    <item id="7410" countmax="1" chance="100"/>
    <item id="2179" countmax="1" chance="8000"/>
    <item id="2470" countmax="1" chance="5000"/>
    <item id="2033" countmax="1" chance="7500"/>
    <item id="2418" countmax="1" chance="4500"/>
    <item id="2155" countmax="1" chance="1500"/>
    <item id="2396" countmax="1" chance="7500"/>
    <item id="2177" countmax="1" chance="1000"/>
    <item id="2162" countmax="1" chance="11500"/>
    <item id="2472" countmax="1" chance="3000"/>
    <item id="2514" countmax="1" chance="7500"/>
    <item id="2164" countmax="1" chance="5000"/>
    <item id="2178" countmax="1" chance="4000"/>
    <item id="2186" countmax="1" chance="3500"/>
    <item id="2176" countmax="1" chance="12000"/>
    <item id="2171" countmax="1" chance="4500"/>
    <item id="2200" countmax="1" chance="4500"/>
    <item id="1982" countmax="1" chance="2600"/>
    <item id="2214" countmax="1" chance="13000"/>
    <item id="2123" countmax="1" chance="3500"/>
    <item id="2170" countmax="1" chance="13000"/>
    <item id="2402" countmax="1" chance="15500"/>
    <item id="2436" countmax="1" chance="5000"/>
    <item id="2150" countmax="20" chance="13500"/>
    <item id="2145" countmax="5" chance="9500"/>
    <item id="2149" countmax="10" chance="15500"/>
    <item id="2146" countmax="10" chance="13500"/>
    <item id="2182" countmax="1" chance="3500"/>
    <item id="2165" countmax="1" chance="9500"/>
    <item id="2197" countmax="1" chance="4000"/>
    <item id="2174" countmax="1" chance="2500"/>
    <item id="2151" countmax="7" chance="14000"/>
    <item id="2112" countmax="1" chance="14500"/>
    <item id="2421" countmax="1" chance="13500"/>
    <item id="2377" countmax="1" chance="20000"/>
    <item id="2185" countmax="1" chance="3500"/>
    <item id="3955" countmax="1" chance="100"/>
    <item id="2188" countmax="1" chance="2500"/>
    <item id="2143" countmax="1" chance="12500"/>

  </loot>
</monster>

XML:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Betrayed Nigger" species="undead" nameDescription="a betrayed wraith" race="blood" experience="420000" speed="1200" manacost="0">
    <health now="120000" max="120000"/>
    <look type="233" corpse="6316"/>
    <targetchange interval="60000" chance="0"/>
    <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="1"/>
      <flag staticattack="80"/>
      <flag runonhealth="0"/>
    </flags>
  <attacks>
    <attack name="melee" interval="2000" min="-10000" max="-15000"/>

    <attack name="poison" interval="3000" chance="17" length="6" spread="3" min="-100" max="-350">
      <attribute key="areaEffect" value="yellowbubble"/>
	</attack>

	<attack name="speed" interval="1000" chance="25" range="1" target="1" speedchange="-600" duration="3000">
	<attribute key="areaEffect" value="redshimmer"/>
	</attack>

  </attacks>
    <defenses armor="15" defense="15">
      <defense name="healing" interval="1000" chance="50" min="75" max="125">
        <attribute key="areaEffect" value="blueshimmer"/>
      </defense>
    </defenses>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="0"/>
      <immunity poison="0"/>
      <immunity lifedrain="1"/>
      <immunity paralyze="1"/>
      <immunity outfit="1"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
      <voice sentence="Maybe im a betrayed nigger :/ But still I can PWN you alive!"/>
      
  
    </voices>
  <loot>
  <item id="2148" chance="100000" countmax="100" /> -- gold coin
  <item id="6558" chance="2222" /> -- concentrated demonic blood
  <item id="2387" chance="5000" /> -- double axe
  <item id="2226" chance="10000" /> -- fishbone
  <item id="2394" chance="6667" /> -- morning star
  <item id="2145" chance="2222" countmax="3" /> -- small diamond
  <item id="3976" chance="20000" countmax="25" /> -- worm
  <item id="7409" countmax="1" chance="100"/>
  <item id="7387" countmax="1" chance="100"/>
  <item id="2438" countmax="1" chance="100"/>
  <item id="6529" countmax="1" chance="100"/>
  <item id="7413" countmax="1" chance="100"/>
  <item id="7410" countmax="1" chance="100"/>
  </loot>
  </monster>

XML:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Kung Fu Panda" nameDescription="a panda" race="blood" experience="320000" speed="2000" manacost="300">
    <health now="120000" max="120000"/>
    <look type="123" head="0" body="0" legs="0" feet="0" corpse="4286"/>
    <targetchange interval="60000" chance="0"/>
    <strategy attack="100" defense="0"/>
    <flags>
      <flag summonable="0"/>
      <flag attackable="1"/>
      <flag hostile="1"/>
      <flag illusionable="0"/>
      <flag convinceable="1"/>
      <flag pushable="0"/>
      <flag canpushitems="0"/>
      <flag staticattack="80"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" min="-12000" max="-22000"/>
    </attacks>
    <defenses armor="3" defense="5"/>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="0"/>
      <immunity poison="0"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="1"/>
      <immunity outfit="0"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <loot>
      <item id="2666" countmax="2" chance1="50000" chancemax="0"/>
      <item id="2671" countmax="4" chance1="50000" chancemax="0"/>
      <item id="7409" countmax="1" chance="100"/>
      <item id="7387" countmax="1" chance="100"/>
      <item id="2438" countmax="1" chance="100"/>
      <item id="6529" countmax="1" chance="100"/>
      <item id="7413" countmax="1" chance="100"/>
      <item id="7410" countmax="1" chance="100"/>
    </loot>
  </monster>

XML:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Winged Fly" nameDescription="a terror bird" race="blood" experience="190000" speed="800" manacost="490">
    <health now="40000" max="40000"/>
    <look type="218" head="0" body="0" legs="0" feet="0" corpse="4317"/>
    <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="80"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" min="-6000" max="-8000"/>
    </attacks>
    <defenses armor="3" defense="5">
      <defense name="light healing" interval="5000" chance="80" min="10" max="40"/>
    </defenses>
    <immunities>
      <immunity physical="0"/>
      <immunity energy="0"/>
      <immunity fire="0"/>
      <immunity poison="1"/>
      <immunity lifedrain="0"/>
      <immunity paralyze="0"/>
      <immunity outfit="0"/>
      <immunity drunk="0"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="2000" chance="5">
      <voice sentence="Chikkkkk Chikkkkkkkkk"/>
      <voice sentence="HAW HAW KAW KAW SAW SAW"/>
    </voices>
    <loot>
      <item id="3976" countmax="5" chance1="100000" chancemax="0"/>
      <item id="2671" countmax="4" chance1="100000" chancemax="0"/>
      <item id="2148" countmax="10" chance1="100000" chancemax="0"/>
      <item id="7409" countmax="1" chance="100"/>
      <item id="7387" countmax="1" chance="100"/>
      <item id="2438" countmax="1" chance="100"/>
      <item id="6529" countmax="1" chance="100"/>
      <item id="7413" countmax="1" chance="100"/>
      <item id="7410" countmax="1" chance="100"/>
    </loot>
  </monster>
 
It's most likely an onKill creaturescript (Svargrond arena?) that is causing monsters to stall in black health. Rev/server type?
Try disabling all creaturescripts, reloading, and killing monsters as a temporary test.

Red
 
It's most likely an onKill creaturescript (Svargrond arena?) that is causing monsters to stall in black health. Rev/server type?
Try disabling all creaturescripts, reloading, and killing monsters as a temporary test.

Red

Okay, I did that, but it's still happening :(
I'm using 0.3.6pl[8.54] Downloaded not Compiled By Myself.
 
Back
Top