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

[HELP]monster script not workin!

Poison Black

New Member
Joined
Jul 12, 2008
Messages
70
Reaction score
0
This is making me mad.. Why don't either these script's work?

Code:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Ice Warrior" nameDescription="a ice warrior" race="blood" experience="20000" speed="470" manacost="30000">
    <health now="20000" max="20000"/>
  <look type="143" head="114" body="94" legs="94" feet="114" corpse="3058"/>
    <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="0"/>
      <flag pushable="0"/>
      <flag canpushitems="1"/>
      <flag staticattack="70"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
    <attack name="melee" interval="2000" min="400" max="600"/>
<attack name="melee" interval="2000" chance="15" range="7" radius="4" target="0" min="100" max="666">
  <attribute key="areaEffect" value="blackspark"/>
</attack>
    </attacks>
    <defenses armor="100" defense="100">
    </defenses>
   <voices interval="2000" chance="5">
      <voice sentence="You will die before the end!"/>
      <voice sentence="Surrender is not option!"/>
      <voice sentence="The King wont let you pass!"/>
    </voices>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="1"/>
    <immunity poison="0"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
    <loot>
      <item id="2148" countmax="100" chance1="33333" chancemax="30"/>
      <item id="2152" countmax="20" chance1="33333" chancemax="30"/>
      <item id="2160" countmax="1" chance1="33333" chancemax="30"/>
     </item>
    </loot>
  </monster>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Ice King" nameDescription="the ice king" race="blood" experience="50000" speed="560" manacost="390">
	<health now="50000" max="50000"/>
        <look type="261" corpse="7282"/>
	<targetchange interval="2000" chance="50"/>
	<strategy attack="100" defense="60"/>
	<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="0"/>
	</flags>
	<attacks>
    <attack name="melee" interval="2000" skill="105" attack="100"/>
    <attack name="manadrain" interval="2000" chance="13" range="7" min="300" max="500">
	<attribute key="shootEffect" value="suddendeath"/>
		</attack>
	<attack name="ice" interval="1000" chance="14" radius="9" target ="0" min="700" max="1500">
		<attribute key="areaEffect" value="icetornado"/>
			</attack>
    <attack name="physical" interval="1000" chance="15" range="7" min="100" max="-500">
      <attribute key="shootEffect" value="largerock"/>
    </attack>
<attack name="melee" interval="2000" chance="15" range="7" radius="3" target="0" min="100" max="500">
  <attribute key="areaEffect" value="blackspark"/>
</attack>
	<attack name="ice" interval="1000" chance="10" target="1" radius="4" min="0" max="540">
		<attribute key="areaEffect" value="icearea"/>
		<attribute key="shootEffect" value="smallice"/>
	</attack>
	</attacks>
  <defenses armor="75" defense="65">
    <defense name="healing" interval="1000" chance="10" min="200" max="1000">
      <attribute key="areaEffect" value="blueshimmer"/>
	</defense>
	</defenses>
	<immunities>
		<immunity ice="1"/>
		<immunity fire="1"/>
		<immunity earth="1"/>
		<immunity paralyze="1"/>
		<immunity lifedrain="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="3000" chance="200">
		<voice sentence="-SMASH-"/>
		<voice sentence="Im going to bring you back to the ice age!"/>
	</voices>
	<loot>
    <item id="2148" countmax="100" chance1="100000" chancemax="0"/>
    <item id="2152" countmax="50" chance1="100000" chancemax="0"/>
    <item id="2160" countmax="10" chance1="1000" chancemax="0"/>
    <item id="8907" chance="333"/>
   </item>
  </loot>
 
</monster>


Any help?
 
You don't need </attack>, </item>, etc. when the line ends with />.

Try these:
Code:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Ice Warrior" nameDescription="a ice warrior" race="blood" experience="20000" speed="470" manacost="30000">
    <health now="20000" max="20000"/>
  <look type="143" head="114" body="94" legs="94" feet="114" corpse="3058"/>
    <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="0"/>
      <flag pushable="0"/>
      <flag canpushitems="1"/>
      <flag staticattack="70"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
    <attack name="melee" interval="2000" min="400" max="600"/>
<attack name="melee" interval="2000" chance="15" range="7" radius="4" target="0" min="100" max="666">
  <attribute key="areaEffect" value="blackspark"/>
    </attacks>
    <defenses armor="100" defense="100">
    </defenses>
   <voices interval="2000" chance="5">
      <voice sentence="You will die before the end!"/>
      <voice sentence="Surrender is not option!"/>
      <voice sentence="The King wont let you pass!"/>
    </voices>
  <immunities>
    <immunity physical="0"/>
    <immunity energy="0"/>
    <immunity fire="1"/>
    <immunity poison="0"/>
    <immunity lifedrain="1"/>
    <immunity paralyze="1"/>
    <immunity outfit="1"/>
    <immunity drunk="1"/>
    <immunity invisible="1"/>
  </immunities>
    <loot>
      <item id="2148" countmax="100" chance1="33333" chancemax="30"/>
      <item id="2152" countmax="20" chance1="33333" chancemax="30"/>
      <item id="2160" countmax="1" chance1="33333" chancemax="30"/>
    </loot>
  </monster>
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Ice King" nameDescription="the ice king" race="blood" experience="50000" speed="560" manacost="390">
	<health now="50000" max="50000"/>
        <look type="261" corpse="7282"/>
	<targetchange interval="2000" chance="50"/>
	<strategy attack="100" defense="60"/>
	<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="0"/>
	</flags>
	<attacks>
    <attack name="melee" interval="2000" skill="105" attack="100"/>
    <attack name="manadrain" interval="2000" chance="13" range="7" min="300" max="500">
	<attribute key="shootEffect" value="suddendeath"/>
	<attack name="ice" interval="1000" chance="14" radius="9" target ="0" min="700" max="1500">
		<attribute key="areaEffect" value="icetornado"/>
    <attack name="physical" interval="1000" chance="15" range="7" min="100" max="-500">
      <attribute key="shootEffect" value="largerock"/>
<attack name="melee" interval="2000" chance="15" range="7" radius="3" target="0" min="100" max="500">
  <attribute key="areaEffect" value="blackspark"/>
	<attack name="ice" interval="1000" chance="10" target="1" radius="4" min="0" max="540">
		<attribute key="areaEffect" value="icearea"/>
		<attribute key="shootEffect" value="smallice"/>
	</attacks>
  <defenses armor="75" defense="65">
    <defense name="healing" interval="1000" chance="10" min="200" max="1000">
      <attribute key="areaEffect" value="blueshimmer"/>
	</defenses>
	<immunities>
		<immunity ice="1"/>
		<immunity fire="1"/>
		<immunity earth="1"/>
		<immunity paralyze="1"/>
		<immunity lifedrain="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="3000" chance="200">
		<voice sentence="-SMASH-"/>
		<voice sentence="Im going to bring you back to the ice age!"/>
	</voices>
	<loot>
    <item id="2148" countmax="100" chance1="100000" chancemax="0"/>
    <item id="2152" countmax="50" chance1="100000" chancemax="0"/>
    <item id="2160" countmax="10" chance1="1000" chancemax="0"/>
    <item id="8907" chance="333"/>
  </loot>
</monster>

Jo3
 
Back
Top