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

Solved Adding Trainers

High Timez

Novacane
Joined
Mar 17, 2013
Messages
105
Reaction score
3
This might be a really dumb question, bought I thought I made the xml file right. The monster was already added in my RME, but I couldnt seem to find the xml string in creatures.xml of the RME folder.

Heres the xml of the trainer:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
	<health now="50000" max="50000"/>
	<look type="57" corpse="6080"/>
	<targetchange interval="5000" chance="0"/>
	<strategy attack="1" defense="0"/>
	<flags>
		<flag summonable="0"/>
		<flag attackable="1"/>
		<flag hostile="1"/>
		<flag illusionable="0"/>
		<flag convinceable="0"/>
		<flag pushable="0"/>
		<flag canpushitems="0"/>
		<flag canpushcreatures="0"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="1" attack="1"/>
	</attacks>
	<defenses armor="1" defense="1">
		<defense name="healing" interval="1000" chance="99" min="50000" max="50000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		</defense>
	</defenses>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
</monster>

The line I added in my TFS creatures.xml
Code:
<monster name="Training Monk" file="Monks/training monk.xml"/>

And finally trying to add it to my RME:
Code:
<creature name="Training Monk" type="monster" looktype="57" lookhead="20" lookbody="30" looklegs="40" lookfeet="50"/>

What in the heck am I doing wrong?
 
How did u import it?

on Map editor ?

or was it on the Remere's Map Editor\data\860\Creatures.xml

This is how you import in The map if u didnt know

14xi2yf.png


b839zq.png
 
How did u import it?

on Map editor ?

or was it on the Remere's Map Editor\data\860\Creatures.xml

This is how you import in The map if u didnt know

14xi2yf.png


b839zq.png

Oh okay, I didn't know thats how you did it, but when i went to import the training monk.xml this is what i got
segfwe.png
 
try this trainer it works for me.

Trainer
PHP:
<?xml version="1.0" encoding="UTF-8"?>
  <monster name="Training Monk" nameDescription="a training monk" race="blood" experience="0" speed="0" manacost="0">
    <health now="100000" max="100000"/>
    <look type="57" head="20" body="30" legs="40" feet="50" corpse="3128"/>
    <targetchange interval="1000" 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="1200" attack="1" skill="60"/>
    </attacks>
    <defenses armor="0" defense="0">
      <defense name="healing" interval="10000" chance="100" min="100000" max="100000"/>
    </defenses>
    <immunities>
      <immunity invisible="1"/>
    </immunities>
  </monster>


Also i checked my file Remere's Map Editor\data\860\Creatures.xml

I dont have a training monk in my Creatures file on the Map editor.
 
Back
Top