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

Can't add new monsters...

Anthoric

New Member
Joined
Feb 27, 2008
Messages
44
Reaction score
0
Location
In my mind.
So I am working with TFS 0.3B2, and I made a few new monsters. Well after revising them and trying everything, I cannot get them to work. I even used the file from another monster that worked as template. didn't work. My monsters.xml file is up to date with the monsters added.

I later added some missing 8.4 monsters form the thread Manx made, just copied and pasted, added in the right folders and edited monster.xml to add them. These do not work either. I can't summon them just like the monsters I made.

The last thing is, when I upgraded and ported my custom monsters from the last server, they all worked fine, they still work fine. It seems I cannot add new monsters if I make the files from scratch.

Anyone know what is going on?
 
Really weird, never had any problem like this on any server. You tried making a duplicate of an already-working monster? Because, you might've screwed the syntax somewhere.
 
No console errors, and in past versions of TFS, if the monster file had a typo error, the monster would still summon, but as a void square with 100hps and no attacks and the name of the monster.

I'm also more than sure Manx's monsters, the two I added, work.
 
Make sure you have all "XML Ends", like:
Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Nightmare Scion" nameDescription="a nightmare scion" race="blood" experience="1350" speed="340" manacost="0">
	<health now="1400" max="1400"/>
	<look type="321" corpse="9919"/>
	<targetchange interval="5000" chance="10"/>
	<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 canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag staticattack="90"/>
		<flag runonhealth="300"/>
	[B]</flags>[/B]
	<attacks>
		<attack name="melee" interval="2000" skill="65" attack="65"/>
		<attack name="earth" interval="1000" chance="12" range="7" target="1" radius="4" min="-0" max="-180">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="poison"/>
		[B]</attack>[/B]
		<attack name="death" interval="2000" chance="20" range="2" target="1" min="-0" max="-125">
			<attribute key="areaEffect" value="mortarea"/>
			<attribute key="shootEffect" value="suddendeath"/>
		[B]</attack>[/B]		
	[B]</attacks>[/B]
	<defenses armor="20" defense="20">
		<defense name="speed" interval="1000" chance="19" speedchange="460" duration="8000">
			<attribute key="areaEffect" value="redshimmer"/>
		[B]</defense>[/B]
		<defense name="healing" interval="1000" chance="14" min="150" max="230">
			<attribute key="areaEffect" value="blueshimmer"/>
		[B]</defense>[/B]
	[B]</defenses>[/B]
	<elements>
		<element holyPercent="-25"/>
		<element firePercent="45"/>
		<element energyPercent="20"/>
		<element icePercent="15"/>
	[B]</elements>[/B]
	<immunities>
		<immunity earth="1"/>
		<immunity death="1"/>
		<immunity invisible="1"/>
	[B]</immunities>[/B]
	<voices interval="7500" chance="20">
		<voice sentence="Weeeheeheee!"/>	
	[B]</voices>[/B]
	<loot>
		<item id="2148" countmax="70" chance1="100000"/> -- gold coin
		<item id="2148" countmax="70" chance1="100000"/> --Gold Coin
		<item id="2152" chance1="25000" countmax="3" /> -- platinum coin
		<item id="2666" chance1="20000" countmax="4" /> -- meat
		<item id="6300" chance="7300" /> -- death ring	
		<item id="2671" chance1="40000" countmax="2" /> -- ham
		<item id="2230" chance="37500" /> -- bone
		<item id="6574" chance="1300" /> -- bar of chocolate
		<item id="6500" chance1="6500" countmax="1" /> -- demonic essence
		<item id="1987" chance="100000" > -- bag
			<inside>
				<item id="2387" chance="8800" /> -- double axe
				<item id="2491" chance="3000" /> -- Crown Helmet
				<item id="8871" chance="3400" /> -- focus cape
				<item id="7451" chance="1100" /> -- Shadow Sceptre
			[B]</inside>[/B]
		[B]</item>[/B]
	[B]</loot>[/B]
[B]</monster>[/B]
 
check if
Code:
 <?xml version="1.0" encoding="UTF-8"?>
its at the very first space of the file otherwise it won't work, well , happened to me when i was making the monsters
 
Back
Top