• 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 doesnt work until /reload monsters

bybbzan

mapper
Joined
Aug 4, 2012
Messages
809
Solutions
2
Reaction score
135
Location
Sweden
I made this custom-monster. As you can see its supposed to change outfit very often.
However, this doesnt work until i type /reload monsters.
I have to do this every time i start the server, why is that?

Thanks in advance.

Lua:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Shapeshifter" nameDescription="a shapeshifter" experience="8500" speed="350" race="blood">
    <health now="11000" max="11000"/>
    <strategy attack="100" defense="0"/>
    <targetchange interval="5000" chance="8"/>
    <look type="308" corpse="8967"/>
    <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" skill="150" attack="65"/>
        <attack name="energy" interval="3000" chance="20" range="3" radius="3" target="1" min="-420" max="-750">
            <attribute key="shootEffect" value="energy"/>
            <attribute key="areaEffect" value="energy"/>
        </attack>
        <attack name="death" interval="2000" chance="15" range="7" min="-100" max="-550">
            <attribute key="shootEffect" value="suddendeath"/>
        </attack>   
        <attack name="physical" interval="3000" chance="10" range="3" min="-360" max="-700">
            <attribute key="shootEffect" value="energyball"/>
            <attribute key="areaEffect" value="mortarea"/>
        </attack>       
    </attacks>
    <defenses armor="10" defense="10">
        <defense name="speed" interval="3000" chance="15" speedchange="480" duration="5000">
            <attribute key="areaEffect" value="redshimmer"/>
        </defense>
        <defense name="invisible" interval="5000" chance="20" duration="5000">
            <attribute key="areaEffect" value="yellowbubble"/>
        </defense>       
        <defense name="outfit" interval="2000" chance="30" monster="demon" duration="6000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
        <defense name="outfit" interval="2000" chance="30" monster="hellfire fighter" duration="6000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
        <defense name="outfit" interval="2000" chance="30" monster="behemoth" duration="6000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
        <defense name="outfit" interval="2000" chance="30" monster="grim reaper" duration="6000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
        <defense name="outfit" interval="2000" chance="30" monster="undead gladiator" duration="6000">
            <attribute key="areaEffect" value="greenshimmer"/>
        </defense>
    </defenses>
    <elements>
        <element physicalPercent="-5"/>
        <element energyPercent="100"/>
        <element deathPercent="-5"/>
        <element icePercent="20"/>
        <element holyPercent="20"/>
    </elements>
    <immunities>
        <immunity paralyze="1"/>
        <immunity invisible="1"/>
    </immunities>
    <voices speed="5000" chance="10">
        <voice sentence="The sunlight is so depressing." yell="1"/>
        <voice sentence="Come with me, my child." yell="1"/>
        <voice sentence="I've been in the shadow under your bed last night." yell="1"/>
        <voice sentence="You never know what hides in the night."/>
        <voice sentence="I remember your face - and I know where you sleep"/>
    </voices>
    <loot>
        <item id="2148" countmax="56" chance="31000"/><!-- gold coin -->
        <item id="2152" countmax="6" chance="25000"/><!-- platinum coin -->
        <item id="2156" chance="2200"/><!-- red gem -->
        <item id="2417" chance="7000"/><!-- battlehammer -->       
        <item id="2144" countmax="4" chance="18000"/><!-- black pearl -->
        <item id="1987" chance="100000"><!-- bag -->
            <inside>
                <item id="2489" chance="5500"/><!-- dark armor -->       
                <item id="2392" chance="3000"/><!-- fire sword -->       
                <item id="2528" chance="3000"/><!-- tower shield -->
                <item id="2444" chance="700"/><!-- hammer of wrath -->
                <item id="2195" chance="1700"/><!-- boots of haste -->
            </inside>
        </item>
    </loot>
</monster>
 
What do you mean it doesnt work until reloaded?
If you restart the server (TFS) and spawn that monster. Does it not behave as its supposed to ?


Nope. It doesnt matter how many times i restart the server.
It doesnt behave as it should until i type /reload monsters :S
 
Back
Top