Rachaw
Experienced Member
I got 2 bugged monster files i cant fixx it i trid but dident work..
bug:
script:
bug2:
script:
rep++
rachaw
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
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
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