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

Unkillable monsters make errors

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,768
Solutions
5
Reaction score
769
when someone try to kill it it bug the server and make a laggg like a SHIT if someone know how to fix it msg me :)

1: Black sheep:
Code:
<?xml version="1.0" encoding="utf-8"?>
<monster name="Warning Black Sheep" namedescription="a black sheep" race="blood" experience="15" speed="200" manacost="250">
  <health now="20" max="20"/>
  <look type="13" head="20" body="30" legs="40" feet="50" corpse="5994"/>
  <targetchange interval="2000" chance="20"/>
  <strategy attack="100" defense="0"/>
  <flags>
    <flag summonable="1"/>
    <flag attackable="1"/>
    <flag hostile="0"/>
    <flag illusionable="1"/>
    <flag convinceable="1"/>
    <flag pushable="1"/>
    <flag canpushitems="0"/>
    <flag canpushcreatures="0"/>
    <flag targetdistance="1"/>
    <flag staticattack="90"/>
    <flag runonhealth="20"/>
  </flags>
  <attacks>
    <attack name="melee" interval="2000" skill="0" attack="0"/>
  </attacks>
  <defenses armor="1" defense="2"/>
  <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="5000" chance="100">
    <voice sentence="Go Back You Must Very Hard" yell ="1"/>
    <voice sentence="Go BACK Go BACK!! Go BACK!! GO BACK!!!!! DONT CONTINUE!" yell="1"/>
    <voice sentence="This Is Impossible Head Back!!!" yell="1"/>
  </voices>
  <loot>
    <item id="3976" countmax="10" chance1="50000" chancemax="0"/>
    <item id="2666" countmax="5" chance1="100000" chancemax="0"/>
  </loot>
</monster>

Old mom
Code:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="OldMom" tp="1" nameDescription="a Spectre" race="undead" experience="25000" speed="1200" manacost="0">
    <health now="15000" max="15000"/>
    <look type="235" head="20" corpse="6348"/>
    <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="90"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" skill="70" attack="90"/>
      <attack name="poison" interval="1000" chance="10" range="7" radius="4" target="1" min="-1000" max="-1800">
        <attribute key="shootEffect" value="fire"/>
        <attribute key="areaEffect" value="rednote"/>
      </attack>
      <attack name="poisonfield" interval="1000" chance="17" range="7" radius="3" target="1">
        <attribute key="shootEffect" value="poison"/>
      </attack>
      <attack name="manadrain" interval="1000" chance="25" range="7" min="-2500" max="-4000">
        <attribute key="areaEffect" value="redshimmer"/>
    </attack>
    </attacks>
    <defenses armor="25" defense="20">
      <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="1"/>
      <immunity lifedrain="1"/>
      <immunity paralyze="1"/>
      <immunity outfit="1"/>
      <immunity drunk="1"/>
      <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
      <voice sentence="Revenge ... is so ... sweet!"/>
      <voice sentence="Life...force!"/>
      <voice sentence="Feed me your... lifeforce!"/>
    </voices>
  <loot>
  <item id="2148" chance="100000" countmax="100" /> -- gold coin
  <item id="2148" chance="100000" countmax="100" /> -- gold coin
  <item id="2148" chance="100000" countmax="100" /> -- gold coin
  <item id="2152" chance="33333" countmax="3" /> -- platinum coin
  <item id="2260" chance="6667" /> -- blank rune
  <item id="2260" chance="3333" /> -- blank rune
  <item id="5909" chance="2222" countmax="1" /> -- white piece of cloth
  <item id="2134" chance="2857" /> -- silver brooch
  <item id="2642" chance="5000" /> -- sandals
  <item id="2071" chance="1818" /> -- lyre
  <item id="1987" chance="100000" > -- bag
  <inside>
  	<item id="2189" chance="2222" /> -- wand of cosmic energy
  	<item id="6500" chance="2857" countmax="1" /> -- demonic essence
  	<item id="5944" chance="1429" countmax="1" /> -- soul orb
  	<item id="6300" chance="1" /> -- ring of experience
  	<item id="2136" chance="909" /> -- demonbone amulet
        <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"/>
  </inside>
  </item>
  </loot>
  </monster>
 
name="Warning Black Sheep" namedescription="a black sheep" lolwut?

also, unkillable?
<flag attackable="1"/> and immunities set to "0" on some attack types... they're most certainly killable.
 
i mean when someone attack them they make error in the console and error dont stop and make lagg like shit how ot fix it?
 
oh right, it was the topic saying "Unkillable monsters make errors" that kinda threw me... gimmi a min i'll look through for any obvious errors
also, are you hosting on windows or linux? do they show any errors when the server is loading?
the only two things I can see are:
<voice sentence="Go Back You Must Very Hard" yell ="1"/>
space after "yell" in black sheep
<monster name="OldMom" tp="1" nameDescription="a Spectre" race="undead" experience="25000" speed="1200" manacost="0">
I may be wrong but I've never seen the attribute "tp", try removing that
 
Back
Top