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

Amiroslo

Excellent OT User
Joined
Jul 28, 2009
Messages
6,812
Solutions
6
Reaction score
822
Code:
[17/10/2010 19:31:57] [Spawn::addMonster] Cannot find "Werewolf"

[17/10/2010 19:30:49] [Error - Monsters::deserializeSpell] Behemoth - Unknown spell name: large rock
[17/10/2010 19:30:49] [Warning - Monsters::loadMonster] Cant load spell. (data/monster/giants/behemoth.xml)
[17/10/2010 19:30:57] [Warning - Monsters::loadMonster] Cannot load monster (Pirate Marauder) file (data/monster/pirates/pirate marauder.xml).
[17/10/2010 19:30:57] Line: 51, Info: Extra content at the end of the document

[17/10/2010 19:30:38] [Warning - Monsters::loadMonster] Cannot load monster (Werewolf) file (data/monster/8.4/werewolf.xml).
[17/10/2010 19:30:38] Line: 49, Info: Premature end of data in tag monster line 2

[17/10/2010 19:30:38] [Warning - Monsters::loadMonster] Cannot load monster (Mutated tiger) file (data/monster/8.4/mutated tiger.xml).
[17/10/2010 19:30:38] Line: 56, Info: Premature end of data in tag monster line 2

rep++
 
Mutated Tiger :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Mutated Tiger" nameDescription="a mutated tiger" race="blood" experience="750" speed="245" manacost="0">
	<health now="1100" max="1100"/>
	<look type="318" corpse="9913"/>
	<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="100"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="65" attack="65"/>
		<attack name="physical" interval="3000" chance="20" length="8" spread="3" min="-30" max="-130">
			<attribute key="areaEffect" value="redspark"/>
		</attack>
	</attacks>
	<defenses armor="30" defense="30">
		<defense name="invisible" interval="1000" chance="25" duration="9000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
		<defense name="healing" interval="1000" chance="25" min="150" max="300">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element firePercent="20"/>
		<element energyPercent="20"/>
		<element icePercent="20"/>
		<element deathPercent="-15"/>
		<element earthPercent="80"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity drunk="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="2500" chance="10">
		<voice sentence="GRAAARRRRRR"/>
		<voice sentence="CHHHHHHHHHHH"/>
	</voices>
	<loot>
		<item id="2148" countmax="96" chance="100000"/><!-- gold coin -->
		<item id="2666" countmax="4" chance="100000"/><!-- meat -->
		<item id="7588" chance="900"/><!-- strong health potion -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2509" chance="4000"/><!-- steel shield -->
				<item id="2515" chance="700"/><!-- guardian shield -->
				<item id="2168" chance="800"/><!-- life ring -->
				<item id="7454" chance="300"/><!-- glorius axe -->
				<item id="7436" chance="200"/><!-- angelic axe -->
			</inside>
		</item>
	</loot>
</monster>

Behemoth :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Behemoth" nameDescription="a behemoth" race="blood" experience="2500" speed="280" manacost="0">
	<health now="4000" max="4000"/>
	<look type="55" corpse="5999"/>
	<targetchange interval="5000" chance="8"/>
	<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="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" min="-90" max="-430"/>
		<attack name="physical" interval="2000" chance="15" range="7" min="-100" max="-185">
			<attribute key="shootEffect" value="largerock"/>
		</attack>
	</attacks>
	<defenses armor="40" defense="45">
		<defense name="speed" interval="1000" chance="7" speedchange="290" duration="4000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element earthPercent="80"/>
		<element holyPercent="30"/>
		<element firePercent="30"/>
		<element energyPercent="10"/>
		<element physicalPercent="10"/>
		<element icePercent="-10"/>
		<element deathPercent="-5"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="You're so little!"/>
		<voice sentence="Human flesh - delicious!"/>
		<voice sentence="Crush the intruders!" yell="1"/>
	</voices>
	<loot>
		<item id="2148" countmax="70" chance="100000"/><!-- gold coin -->
		<item id="2671" countmax="3" chance="10000"/><!-- ham -->
		<item id="2023" chance="11000"/><!-- amphora -->
		<item id="7368" countmax="4" chance="1200"/><!-- assassin star -->
		<item id="2174" countmax="1" chance="800"/><!-- strange symbol -->
		<item id="2387" chance="2000"/><!-- double axe -->
		<item id="2377" chance="4000"/><!-- two handed sword -->
		<item id="2231" countmax="1" chance="7000"/><!-- big bone -->
		<item id="5930" countmax="1" chance="400"/><!-- behemoth claw -->
		<item id="2393" chance="688"/><!-- giant sword -->
		<item id="2454" chance="488"/><!-- war axe -->
		<item id="2150" countmax="2" chance="4000"/><!-- small amethyst -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="2463" countmax="1" chance="2000"/><!-- plate armor -->
				<item id="2553" countmax="1" chance="6000"/><!-- pick -->
				<item id="2666" countmax="6" chance="40000"/><!-- meat -->
				<item id="2489" countmax="1" chance="3000"/><!-- dark armor -->
				<item id="2125" chance="300"/><!-- crystal necklace -->
				<item id="2148" countmax="40" chance="100000"/><!-- gold coin -->
				<item id="2416" countmax="1" chance="15000"/><!-- crowbar -->
				<item id="2645" chance="400"/><!-- steel boots -->
				<item id="2188" chance="1000"/><!-- wand of decay -->
				<item id="2161" chance="3333"/><!-- strange talisman -->
				<item id="5930" countmax="1" chance="1500"/><!-- behemoth claw -->
				<item id="5893" countmax="1" chance="1200"/><!-- perfect behemoth fang -->
			</inside>
		</item>
	</loot>
</monster>

WereWolf :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Werewolf" nameDescription="a werewolf" experience="1450" speed="320" race="blood" manacost="0">
	<health now="1955" max="1955"/>
	<strategy attack="100" defense="0"/>
	<targetchange speed="0" chance="8"/>
	<look type="308" corpse="6080"/>
	<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="100"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" chance="100" min="-0" max="-350" range="1"/>
		<attack name="outfit" interval="1000" chance="9" range="7" monster="werewolf" duration="5000">
			<attribute key="areaeffect" value="blueshimmer"/>
		</attack>
	</attacks>
	<defenses armor="50" defense="55"/>
	<elements>
		<element physicalPercent="5"/>
		<element energyPercent="15"/>
		<element earthPercent="20"/>
		<element firePercent="-10"/>
		<element deathPercent="20"/>
		<element icePercent="-10"/>
		<element holyPercent="-10"/>
	</elements>
	<immunities>
		<immunity paralyze="1"/>
		<immunity invisible="1"/> 
	</immunities>
	<summons maxSummons="6">
		<summon name="war wolf" interval="2500" chance="25"/>
	</summons>
	<voices speed="5000" chance="10">
		<voice sentence="BLOOD!" yell="1"/>
		<voice sentence="HRAAAAAAAAAARRRRRR!" yell="1"/>
	</voices>
	<loot>
		<item id="2148" countmax="96" chance="100000"/><!-- gold coin -->
		<item id="2148" countmax="74" chance="100000"/><!-- gold coin -->
		<item id="5897" countmax="1" chance="5000"/><!-- wolf paw -->
		<item id="2805" chance="4000"/><!-- troll green -->
		<item id="2647" chance="3000"/><!-- plate legs -->
		<item id="8473" chance="2000"/><!-- ultimate health potion -->
		<item id="7591" chance="2000"/><!-- great health potion -->
		<item id="7588" chance="2000"/><!-- strong health potion -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
				<item id="9808" chance="3000"/><!-- rusty armor -->
				<item id="7439" chance="2000"/><!-- berserk potion -->
				<item id="7383" chance="1800"/><!-- relic sword -->
			</inside>
		</item>
	</loot>
</monster>


Rep++ :)
 
[17/10/2010 19:31:57] [Spawn::addMonster] Cannot find "Pirate Murauder"

[17/10/2010 19:31:57] [Spawn::addMonster] Cannot find "Assassin"

Code:
[17/10/2010 20:52:25] [Error - CreatureScript Interface] 
[17/10/2010 20:52:25] In a timer event called from: 
[17/10/2010 20:52:25] buffer:onKill
[17/10/2010 20:52:26] Description: 
[17/10/2010 20:52:26] (luaDoPlayerSendTextMessage) Player not found


[17/10/2010 20:52:18] [Error - CreatureScript Interface] 
[17/10/2010 20:52:18] buffer:onKill
[17/10/2010 20:52:18] Description: 
[17/10/2010 20:52:18] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:18] stack traceback:
[17/10/2010 20:52:18] 	[string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>

[17/10/2010 20:52:19] [Error - CreatureScript Interface] 
[17/10/2010 20:52:19] buffer:onKill
[17/10/2010 20:52:19] Description: 
[17/10/2010 20:52:19] (luaGetMonsterInfo) Monster not found

[17/10/2010 20:52:20] [Error - CreatureScript Interface] 
[17/10/2010 20:52:20] buffer:onKill
[17/10/2010 20:52:20] Description: 
[17/10/2010 20:52:20] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:20] stack traceback:
[17/10/2010 20:52:20] 	[string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>

[17/10/2010 20:52:21] [Error - CreatureScript Interface] 
[17/10/2010 20:52:21] buffer:onKill
[17/10/2010 20:52:21] Description: 
[17/10/2010 20:52:21] (luaGetMonsterInfo) Monster not found

[17/10/2010 20:52:21] [Error - CreatureScript Interface] 
[17/10/2010 20:52:21] buffer:onKill
[17/10/2010 20:52:21] Description: 
[17/10/2010 20:52:22] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:22] stack traceback:
[17/10/2010 20:52:22] 	[string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>
 
Pirate Marauder :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Pirate Marauder" nameDescription="a pirate marauder" race="blood" experience="125" speed="230" manacost="490">
    <health now="210" max="210"/>
    <look type="93" corpse="6080"/>
    <targetchange interval="5000" chance="8"/>
    <strategy attack="100" defense="0"/>
    <flags>
        <flag summonable="0"/>
        <flag attackable="1"/>
        <flag hostile="1"/>
        <flag illusionable="0"/>
        <flag convinceable="1"/>
        <flag pushable="0"/>
        <flag canpushitems="1"/>
        <flag canpushcreatures="0"/>
        <flag staticattack="50"/>
        <flag staticattack="90"/>
        <flag targetdistance="1"/>
        <flag runonhealth="25"/>
    </flags>
    <attacks>
        <attack name="melee" interval="2000" min="-0" max="-140"/>
        <attack name="physical" interval="2000" chance="20" range="7" min="-0" max="-65">
            <attribute key="shootEffect" value="spear"/>
        </attack>
    </attacks>
    <defenses armor="15" defense="20"/>
    <elements>
        <element earthPercent="16"/>
        <element holyPercent="15"/>
        <element deathPercent="-7"/>
        <element firePercent="-8"/>
        <element energyPercent="-10"/>
    </elements>
    <immunities>
        <immunity invisible="1"/>
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Plundeeeeer!"/>
        <voice sentence="Give up!"/>
        <voice sentence="Hiyaa!"/>
    </voices>
    <loot>
        <item id="2148" countmax="60" chance="20000"/><!-- gold coin -->
        <item id="2376" chance="9750"/><!-- sword -->
        <item id="2050" chance="9250"/><!-- torch -->
        <item id="2389" countmax="2" chance="4000"/><!-- spear -->
        <item id="2510" chance="4800"/><!-- plate shield -->
        <item id="2464" chance="2750"/><!-- chain armor -->
        <item id="1987" chance="100000"><!-- bag -->
            <inside>
        <item id="5091" chance="1125"/><!-- treasure map -->
        <item id="5917" chance="1100"/><!-- bandana-->
        <item id="6126" chance="600"/><!-- peg leg -->
        <item id="6097" chance="600"/><!-- hook -->
        <item id="6098" chance="600"/><!-- eye patch -->
        <item id="5553" chance="100"/><!-- rum flask -->
        <item id="5928" chance="200"/><!-- empty goldfish bowl -->
        <item id="5792" chance="50"/><!-- dice -->        
        <item id="5927" chance="500"/><!-- pirate bag -->
            </inside>
        </item>
    </loot>
</monster>

Assassin :

Code:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Assassin" nameDescription="an assassin" race="blood" experience="105" speed="224" manacost="450">
	<health now="175" max="175"/>
	<look type="129" head="95" body="95" legs="95" feet="95" corpse="6080"/>
	<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="1"/>
		<flag pushable="0"/>
		<flag canpushitems="1"/>
		<flag canpushcreatures="1"/>
		<flag targetdistance="1"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="45" attack="45"/>
		<attack name="physical" interval="1000" chance="13" range="7" min="-28" max="-38">
			<attribute key="shootEffect" value="throwingstar"/>
		</attack>
		<attack name="drunk" interval="1000" chance="10" range="6">
			<attribute key="shootEffect" value="poison"/>
			<attribute key="areaEffect" value="poison"/>
		</attack>
	</attacks>
	<defenses armor="17" defense="40">
		<defense name="speed" interval="1000" chance="9" speedchange="1201" duration="3000">
			<attribute key="areaEffect" value="redshimmer"/>
		</defense>
		<defense name="invisible" interval="1000" chance="9" duration="2000">
			<attribute key="areaEffect" value="blueshimmer"/>
		</defense>
	</defenses>
	<elements>
		<element physicalPercent="-12"/>
		<element deathPercent="-5"/>
	</elements>
	<immunities>
		<immunity invisible="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Die!"/>
		<voice sentence="Feel the hand of death!"/>
		<voice sentence="You are on my deathlist!"/>
	</voices>
	<loot>
		<item id="2148" countmax="30" chance="35000"/><!-- gold coin -->
		<item id="2148" countmax="20" chance="5000"/><!-- gold coin -->
		<item id="2050" chance="22500"/><!-- torch -->
		<item id="2148" countmax="14" chance="2750"/><!-- throwing star -->
		<item id="7366" chance="15500"/><!-- viper star -->
		<item id="2403" chance="7500"/><!-- knife -->
		<item id="2404" chance="4750"/><!-- combat knife -->
		<item id="1987" chance="100000"><!-- bag -->
			<inside>
		<item id="2050" chance="22500"/><!-- torch -->
		<item id="2457" chance="4350"/><!-- steel helmet -->
		<item id="2510" chance="1600"/><!-- plate shield -->
		<item id="3968" chance="400"/><!-- leopard armor -->
		<item id="2513" chance="400"/><!-- battle shield -->
		<item id="2145" countmax="2" chance="200"/><!-- small diamond -->
		<item id="3969" chance="100"/><!-- horseman helmet -->
			</inside>
		</item>
	</loot>
</monster>
 
Code:
[17/10/2010 20:52:18] [Error - CreatureScript Interface] 
[17/10/2010 20:52:18] buffer:onKill
[17/10/2010 20:52:18] Description: 
[17/10/2010 20:52:18] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:18] stack traceback:
[17/10/2010 20:52:18]     [string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>

[17/10/2010 20:52:19] [Error - CreatureScript Interface] 
[17/10/2010 20:52:19] buffer:onKill
[17/10/2010 20:52:19] Description: 
[17/10/2010 20:52:19] (luaGetMonsterInfo) Monster not found

[17/10/2010 20:52:20] [Error - CreatureScript Interface] 
[17/10/2010 20:52:20] buffer:onKill
[17/10/2010 20:52:20] Description: 
[17/10/2010 20:52:20] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:20] stack traceback:
[17/10/2010 20:52:20]     [string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>

[17/10/2010 20:52:21] [Error - CreatureScript Interface] 
[17/10/2010 20:52:21] buffer:onKill
[17/10/2010 20:52:21] Description: 
[17/10/2010 20:52:21] (luaGetMonsterInfo) Monster not found

[17/10/2010 20:52:21] [Error - CreatureScript Interface] 
[17/10/2010 20:52:21] buffer:onKill
[17/10/2010 20:52:21] Description: 
[17/10/2010 20:52:22] [string "loadBuffer"]:140: attempt to index local 'v' (a boolean value)
[17/10/2010 20:52:22] stack traceback:
[17/10/2010 20:52:22]     [string "loadBuffer"]:140: in function <[string "loadBuffer"]:137>
 
you but now its working fine but why did that happen?

Code:
[17/10/2010 20:52:25] [Error - CreatureScript Interface] 
[17/10/2010 20:52:25] In a timer event called from: 
[17/10/2010 20:52:25] buffer:onKill
[17/10/2010 20:52:26] Description: 
[17/10/2010 20:52:26] (luaDoPlayerSendTextMessage) Player not found

what is that a player not found o.O
 
and what about this :/

Code:
[17/10/2010 21:50:46] [Error - Spell Interface] 
[17/10/2010 21:50:46] In a timer event called from: 
[17/10/2010 21:50:46] data/spells/scripts/attack/tera.lua:onCastSpell
[17/10/2010 21:50:46] Description: 
[17/10/2010 21:50:46] (luaDoCombat) Creature not found
 
Back
Top