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

Monster don´t show up in-game

Zatyrax

Photoshop-er!
Joined
May 14, 2010
Messages
54
Reaction score
0
Another thread from me...

Just mapped a training room. But the trainers dont show up in-game.

Trainer script:
Server location>mods>monsters>custom>skill trainer.xml
Code:
  <?xml version="1.0" encoding="UTF-8"?>
  <monster name="Skill trainer" nameDescription="a skill reainer" race="blood" experience="0" speed="210" manacost="0">
    <health now="1000000" max="1000000"/>
    <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
    <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="50"/>
      <flag lightlevel="0"/>
      <flag lightcolor="0"/>
      <flag targetdistance="1"/>
      <flag runonhealth="0"/>
    </flags>
    <attacks>
      <attack name="melee" interval="2000" min="0" max="-1"/>
    </attacks>
    <defenses armor="1" defense="1">
      <defense name="healing" interval="10000" chance="100" min="999924000" max="999924000"/>
    </defenses>
    <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="1"/>
    </immunities>
    <elements>
    <element icePercent="10"/>
    <element deathPercent="10"/>
    <element energyPercent="20"/>
    <element holyPercent="25"/>
    <element earthPercent="10"/>
</elements><voices interval="2000" chance="5">
    </voices>
    <loot>
      <item id="2148" countmax="20" chance1="100000" chancemax="0"/>
      <item id="1949" chance="10000"/>
      <item id="2467" chance="10000"/>
      <item id="2642" chance="6666"/>
      <item id="1987" chance="100000">
        <inside>
          <item id="2044" chance="6666"/>
          <item id="2689" countmax="3" chance1="20000" chancemax="0"/>
          <item id="2401" chance="3333"/>
          <item id="2166" chance="1428"/>
        </inside>
      </item>
    </loot>
  </monster>

No errors at all about skill trainer.xml.
Don´t know if this info can help you but anyways:

I cant import the skill trainer.xml to rme map editor anymore.
Cant summon the trainer with any command, tried these:
/n Skill Trainer
/m Skill Trainer
/s Skill Trainer

screenshot on a part of the training house:
traninghouse.jpg


I am also having problems with that they dont heal themself. Atleast i cant find any misstakes with the healing in the xml file. If you need any more information, tell me and i will post it very soon :)

rep+ to anyone who fixes any of this :)

EDIT: Discover by me, when i "look" at the spot where i placed the trainer in-game, it says:
You see a training monk.
Health: [100 / 100].
Position: [X: 1352] [Y: 1147] [Z: 6].

But its invisible.
 
Last edited:
Is the monster in monsters.xml?
Nevermind, i fixed it. Found a file (custommonster.xml) that i needed to put it in :) But now another problem, they dont heal themself...

New script:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="210" manacost="0">
	<health now="99000" max="99000"/>
	<look type="57" corpse="3128"/>
	<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="50"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="5000" min="0" max="-1"/>
	</attacks>
	<defenses armor="0" defense="0">
		<defense name="healing" interval="1000" chance="100" min="24000" max="24000"/>
	</defenses>
	<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="1"/>
	</immunities>
	<loot>
		<item id="2148" countmax="20" chance="100000"/><!-- gold coin -->
		<item id="1949" chance="10000"/><!-- scroll -->
		<item id="2467" chance="10000"/><!-- leather armor -->
		<item id="2642" chance="6666"/><!-- sandals -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2044" chance="6666"/><!-- lamp -->
				<item id="2689" countmax="3" chance="20000"/><!-- bread -->
				<item id="2401" chance="3333"/><!-- staff -->
				<item id="2166" chance="1428"/><!-- power ring -->
			</inside>
		</item>
	</loot>
</monster>

and in custommonsters.xml:
Code:
<monster name="Training Monk" file="Custom/training monk.xml"/>
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a Training Monk" race="blood" experience="0" speed="250" manacost="1000">
	<health now="60000" max="60000"/>
	<look type="57" head="0" body="0" legs="0" feet="0" corpse="3058"/>
	<targetchange interval="2000" chance="5"/>
	<strategy attack="70" defense="20"/>
	<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 runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="55" attack="1"/>
	</attacks>
	<defenses armor="25" defense="52">
		<defense name="healing" interval="1000" chance="17" min="100000" max="100000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="speed" interval="1000" chance="10" speedchange="1100" duration="2000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="0"/>
		<immunity poison="0"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="You think you are strong?!?"/>
	</voices>
	<loot capacity="500">
	</loot>
</monster>

A bit edited...
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a Training Monk" race="blood" experience="0" speed="250" manacost="1000">
	<health now="60000" max="60000"/>
	<look type="57" head="0" body="0" legs="0" feet="0" corpse="3058"/>
	<targetchange interval="2000" chance="5"/>
	<strategy attack="70" defense="20"/>
	<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 runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="55" attack="1"/>
	</attacks>
	<defenses armor="25" defense="52">
		<defense name="healing" interval="1000" chance="17" min="100000" max="100000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="speed" interval="1000" chance="10" speedchange="1100" duration="2000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<immunities>
		<immunity physical="0"/>
		<immunity energy="0"/>
		<immunity fire="0"/>
		<immunity poison="0"/>
		<immunity lifedrain="0"/>
		<immunity paralyze="0"/>
		<immunity outfit="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="You think you are strong?!?"/>
	</voices>
	<loot capacity="500">
	</loot>
</monster>

A bit edited...
Nope :/
 
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" 

experience="0" speed="210" manacost="0">
	<health now="99000" max="99000"/>
	<look type="57" corpse="3128"/>
	<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="50"/>
		<flag lightlevel="0"/>
		<flag lightcolor="0"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="5000" min="0" max="-1"/>
	</attacks>
	<defenses armor="0" defense="0">
		<defense name="healing" interval="10" chance="999" min="1000000" 

max="1000000"/>
	</defenses>
	<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="1"/>
	</immunities>
	<loot>
		<item id="2148" countmax="20" chance="100000"/><!-- gold coin -->
		<item id="1949" chance="10000"/><!-- scroll -->
		<item id="2467" chance="10000"/><!-- leather armor -->
		<item id="2642" chance="6666"/><!-- sandals -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2044" chance="6666"/><!-- lamp -->
				<item id="2689" countmax="3" chance="20000"/><!-- 

bread -->
				<item id="2401" chance="3333"/><!-- staff -->
				<item id="2166" chance="1428"/><!-- power ring -->
			</inside>
		</item>
	</loot>
</monster>

Edited Healing
 
Back
Top