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

Got 2 bugged monsters

Rachaw

Experienced Member
Joined
Oct 17, 2009
Messages
602
Reaction score
1
Location
Tha Sweden
I got 2 bugged monster files i cant fixx it i trid but dident work..

bug:
Code:
[09/12/2009 13:46:22] [Warning - Monsters::loadMonster] Cannot load monster (Trainer) file (data/monster/Monks/Trainer.xml).
[09/12/2009 13:46:22] Line: 58, Info: Premature end of data in tag monster line 2
script:
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trainer" nameDescription="a trainer" race="blood" experience="2000" speed="220" manacost="600">
	<health now="29000" max="29000"/>
	<look type="75" corpse="6080"/>
	<targetchange interval="5000" chance="8"/>
	<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" min="-0" max="-0"/>
	</attacks>
	<defenses armor="20" defense="22">
		<defense name="healing" interval="1000" chance="90" min="20000" max="25000">
			<attribute key="areaEffect" value="blueshimmer"/>
	    <defenses>
	</defenses>
	<elements>
		<element holyPercent="50"/>
		<element deathPercent="50"/>
		<element physicalPercent="-15"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Repent Heretic!"/>
		<voice sentence="A prayer to the almighty one!"/>
		<voice sentence="I will punish the sinners!"/>
		<voice sentence="I can use ghost to avoide botters Muahhaha!"/>
	</voices>
	<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="2193" chance="1200"/><!-- ankh -->
		<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>

bug2:
Code:
[09/12/2009 13:46:22] [Warning - Monsters::loadMonster] Cannot load monster (Monk) file (data/monster/Monks/monk.xml).
[09/12/2009 13:46:22] Line: 58, Info: Premature end of data in tag monster line 2
script:
Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trainer" nameDescription="a trainer" race="blood" experience="2000" speed="220" manacost="600">
	<health now="29000" max="29000"/>
	<look type="75" corpse="6080"/>
	<targetchange interval="5000" chance="8"/>
	<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" min="-0" max="-0"/>
	</attacks>
	<defenses armor="20" defense="22">
		<defense name="healing" interval="1000" chance="90" min="20000" max="25000">
			<attribute key="areaEffect" value="blueshimmer"/>
	    <defenses>
	</defenses>
	<elements>
		<element holyPercent="50"/>
		<element deathPercent="50"/>
		<element physicalPercent="-15"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Repent Heretic!"/>
		<voice sentence="A prayer to the almighty one!"/>
		<voice sentence="I will punish the sinners!"/>
		<voice sentence="I can use ghost to avoide botters Muahhaha!"/>
	</voices>
	<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="2193" chance="1200"/><!-- ankh -->
		<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>

rep++

rachaw
 
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Trainer" nameDescription="a trainer" race="blood" experience="0" speed="0" manacost="0">
<health now="50000" max="50000"/>
<look type="75" corpse="0"/>
<targetchange interval="60000" chance="0"/>
<strategy attack="100" defense="0"/>
<flags>
	<flag attackable="1"/>
	<flag hostile="1"/>
	<flag canpushitems="1"/>
	<flag canpushcreatures="1"/>
	<flag targetdistance="1"/>
	<flag staticattack="100"/>
</flags>
<attacks>
	<attack name="melee" interval="2000" skill="60" attack="1"/>
</attacks>
<defenses armor="0" defense="0">
	<defense name="healing" interval="5000" chance="100" min="25000" max="25000">
		<attribute key="areaEffect" value="blueshimmer"/>
	</defense>
</defenses>
<immunities>
	<immunity invisible="1"/>
</immunities>
</monster>
 
Back
Top