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

Custom sprites causing debug

SamX

VoltageOT Developer
Joined
Aug 27, 2010
Messages
557
Reaction score
151
Location
Canada
Hey,

I can't figure out for the life of me why this is happening:
Certain custom sprite creatures are causing a client debug only when opening the battle window in-game. This doesn't happen with all creatures, only a couple of them.

Does anyone have any ideas why? Maybe there's something more I need to add somewhere?

Here's my monster script, only thing I've changed is the looktype.
XML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Test Creature" nameDescription="a vermin" race="venom" experience="5900" speed="240" manacost="0">
    <health now="8500" max="8500" />
    <look type="871" corpse="6007" />
    <targetchange interval="4000" chance="10" />
    <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="70" />
        <flag runonhealth="0" />
    </flags>
    <attacks>
        <attack name="melee" interval="2000" skill="95" attack="150" poison="450" />
        <attack name="earth" interval="2000" chance="20" range="7" target="1" min="-350" max="-700">
            <attribute key="shootEffect" value="poison" />
        </attack>
        <attack name="earth" interval="2000" chance="15" radius="3" target="0" min="-350" max="-890">
            <attribute key="areaEffect" value="poison" />
        </attack>
        <attack name="death" interval="2000" chance="15" radius="3" target="0" min="-220" max="-570">
            <attribute key="areaEffect" value="smallclouds" />
        </attack>
    </attacks>
    <defenses armor="20" defense="20">
        <defense name="healing" interval="2000" chance="20" min="250" max="350">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
        <defense name="outfit" interval="5000" chance="10" monster="rat" duration="6000">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
        <defense name="outfit" interval="5000" chance="10" monster="larva" duration="6000">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
        <defense name="outfit" interval="5000" chance="10" monster="scorpion" duration="6000">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
        <defense name="outfit" interval="5000" chance="10" monster="slime" duration="6000">
            <attribute key="areaEffect" value="blueshimmer" />
        </defense>
    </defenses>
    <elements>
        <element firePercent="10" />
        <element energyPercent="20" />
    </elements>
    <immunities>
        <immunity earth="1" />
        <immunity paralyze="1" />
        <immunity invisible="1" />
    </immunities>
    <voices interval="5000" chance="10">
        <voice sentence="Blubb" />
    </voices>
</monster>
 
Last edited:
Back
Top