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

Help me with my INQ bosses..

LilJeezy030

New Member
Joined
Nov 23, 2008
Messages
144
Reaction score
4
Location
The Netherlands
Hello people..

I got a bug, when players kill Latrivan/Golgordan they got stuck..

What i mean, the bossess doesnt make a teleport when they are dead..
Its just only those 2 bossess the others works perfect!

It used to work.. but it stopped working :(:mad:

Latrivan.xml:
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Latrivan" nameDescription="Latrivan" race="fire" experience="10000" speed="340" manacost="0">
<health now="40000" max="40000"/>
<look type="12" head="120" body="128" legs="121" feet="111" corpse="6068"/>
<targetchange interval="5000" chance="8"/>
<strategy attack="80" defense="20"/>

<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="85"/>
	<flag runonhealth="0"/>
</flags>

<attacks>
    <attack name="melee" interval="2000" skill="120" attack="135"/>
    <attack name="fire" interval="1000" chance="10" length="7" spread="0" min="-50" max="-850">
        <attribute key="areaEffect" value="explosion"/>
    </attack>
</attacks>

<defenses armor="35" defense="45"/>

<elements>
    <element icePercent="-10"/>
    <element energyPercent="35"/>
    <element deathPercent="-12"/>
</elements>

<immunities>
	<immunity fire="1"/>
</immunities>

<voices interval="5000" chance="10">
	<voice sentence="I might reward you for killing my brother ~ with a swift dead!" yell="1"/>
</voices>

<loot>
	<item id="2148" count="100" chance="100000"/> --Gold
	<item id="2148" count="50" chance="100000"/> -- Gold
	<item id="2152" countmax="6" chance1="80000" chancemax="10000"/> --Platinum
	<item id="2144" countmax="28" chance1="7777"/> --Black Pearls
	<item id="7440" chance="17000"/> --Mastermind potion
	<item id="2514" chance="4500"/> --mastermind shield
	<item id="2171" chance="12222"/> --P ammy
	<item id="1987" chance="100000">
		<inside>
			<item id="2151" countmax="13" chance1="6500" chancemax="0"/> --Talons
			<item id="2470" chance="6555"/> --Golden Legs
			<item id="2432" chance="8200"/> --Fire Axe
		</inside>
	</item>
</loot>
</monster>

Golgordan.xml:
HTML:
<?xml version="1.0" encoding="UTF-8"?>
<monster name="Golgordan" nameDescription="golgordan" race="fire" experience="10000" speed="390" manacost="0">
	<health now="40000" max="40000"/>
	<look type="12" head="108" body="100" legs="105" feet="114" corpse="6068"/> 
	<targetchange interval="7000" chance="10"/>
	<strategy attack="90" defense="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="85"/>
		<flag runonhealth="0"/>
	</flags>
	<attacks>
		<attack name="melee" interval="2000" skill="170" attack="330"/>
		<attack name="fire" interval="2000" chance="40" radius="7" target="1" min="-50" max="-200">
			<attribute key="areaEffect" value="firearea"/>
		</attack>
		<attack name="poisoncondition" interval="2000" chance="40" length="6" spread="0" min="-100" max="-100">
			<attribute key="areaEffect" value="poison"/>
		</attack>	
		<attack name="death" interval="2000" chance="25" length="6" spread="0" min="-250" max="-570">
			<attribute key="areaEffect" value="mortarea"/>
		</attack>		
		<attack name="death" interval="2000" chance="35" target="1" min="-50" max="-600">
			<attribute key="areaEffect" value="mortarea"/>
		</attack>
		<attack name="fire" interval="2000" chance="30" length="6" spread="0" min="-50" max="-600">
			<attribute key="areaEffect" value="firearea"/>
		</attack>
	</attacks>
	<defenses armor="48" defense="54"/>
	<elements>
		<element icePercent="30"/>
		<element energyPercent="30"/>
		<element holyPercent="1"/>
		<element physicalPercent="1"/>
		<element firePercent="-5"/>
		<element earthPercent="-5"/>
	</elements>
	<immunities>
		<immunity death="1"/>
		<immunity invisible="1"/>
		<immunity lifedrain="1"/>
	</immunities>
	<voices interval="5000" chance="10">
		<voice sentence="Latrivan your fool" yell="1"/>
	</voices>
		<loot>
    <item id="2148" countmax="100" chance="53650" /><!-- gold coin -->
    <item id="2148" countmax="100" chance="53650" /><!-- gold coin -->
    <item id="2148" countmax="57" chance="53650" /><!-- gold coin -->
    <item id="2197" chance="10175" /><!-- stone skin amulet -->
    <item id="2165" chance="15550" /><!-- stealth ring -->
    <item id="2432" chance="11250" /><!-- fire axe -->
    <item id="2149" countmax="10" chance="9000" /><!-- small emerald -->
    <item id="2182" chance="6950" /><!-- snakebite rod -->
    <item id="6300" chance="9100" /><!-- death ring -->
    <item id="2146" countmax="8" chance="5475" /><!-- small sapphire -->
    <item id="1988" chance="100000"><!-- bag -->
        <inside>
            <item id="2387" chance="25225" /><!-- double axe -->
            <item id="6500" chance="9100" /><!-- demonic essence -->
            <item id="2162" chance="18775" /><!-- magic light wand -->
            <item id="2402" chance="11250" /><!-- silver dagger -->
            <item id="7591" chance="23865" /><!-- great health potion -->
            <item id="7591" chance="11932" /><!-- great health potion -->
            <item id="2186" chance="3725" /><!-- moonlight rod -->
            <item id="2170" chance="19850" /><!-- silver amulet -->
            <item id="2167" chance="15550" /><!-- energy ring -->
            <item id="2144" countmax="15" chance="6725" /><!-- black pearl -->
            <item id="2143" countmax="13" chance="8200" /><!-- white pearl -->
            <item id="2200" chance="10175" /><!-- protection amulet -->
            <item id="2214" chance="27375" /><!-- ring of healing -->
            <item id="2150" countmax="20" chance="8400" /><!-- small amethyst -->
            <item id="2393" chance="8025" /><!-- giant sword -->
            <item id="9971" chance="9100" /><!-- gold ingot -->
            <item id="2185" chance="4800" /><!-- necrotic rod -->
            <item id="2192" chance="1575" /><!-- crystal ball -->
            <item id="2164" chance="3725" /><!-- might ring -->
            <item id="2462" chance="3725" /><!-- devil helmet -->
            <item id="2179" chance="9100" /><!-- gold ring -->
            <item id="2145" countmax="5" chance="11475" /><!-- small diamond -->
            <item id="2396" chance="9100" /><!-- ice rapier -->
            <item id="7365" countmax="6" chance="4275" /><!-- onyx arrow -->
            <item id="2436" chance="2650" /><!-- skull staff -->
            <item id="2158" chance="1575" /><!-- blue gem -->
            <item id="2155" chance="4800" /><!-- green gem -->
            <item id="2520" chance="8025" /><!-- demon shield -->
            <item id="2171" chance="1575" /><!-- platinum amulet -->
            <item id="2195" chance="2650" /><!-- boots of haste -->
            <item id="2178" chance="4800" /><!-- mind stone -->
            <item id="7368" countmax="8" chance="1575" /><!-- assassin star -->
        </inside>
    </item>
</loot>



















</monster>

creatureevent~ :
HTML:
local config = {
        timeToRemove = 180, -- seconds
                message = "You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room only during his time or the teleporter will disappear",
        teleportId = 9773,
        bosses = { -- Monster Name,  Teleport Position
                ["Ushuriel"] = {  pos={ x=33157, y=31725, z=11, stackpos=1 }, aid=1001 },
                                ["Zugurosh"] = {  pos={ x=33123, y=31689, z=11, stackpos=1 }, aid=1002},
                                ["Madareth"] = {  pos={ x=33194, y=31768, z=11, stackpos=1 }, aid=1003},
                ["Annihilon"] = {  pos={ x=33200, y=31704, z=11, stackpos=1 }, aid=1005},
                ["Hellgorak"] = {  pos={ x=33107, y=31735, z=11, stackpos=1 }, aid=1006}
                                },
                brothers ={
        ["Golgordan"] = {pos={ x=33235, y=31734, z=11, stackpos=1 },aid=1004, brother = "Latrivan"},
        ["Latrivan"] = {pos={ x=33235, y=31734, z=11, stackpos=1 },aid=1004, brother = "Golgordan"},
        brothersArea ={
                fromPos = {x = 33224, y = 31722, z = 11},
                toPos = {x = 33240, y = 31734, z = 11}  }       }
}
local function removal(position)
        doRemoveThing(getTileItemById(position, config.teleportId).uid, 1)
    return TRUE
end
 
function onKill(cid, target, lastHit)
    if(config.bosses[getCreatureName(target)]) then
                local t = config.bosses[getCreatureName(target)]
            local teleport = doCreateItem(config.teleportId, t.pos)
                local position = t.pos
                doItemSetAttribute(teleport, "aid", t.aid)
        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
                addEvent(removal, config.timeToRemove * 1000, position)
        elseif(config.brothers[getCreatureName(target)]) then
                local t = config.brothers[getCreatureName(target)]
        local brother = getCreatureByName(t.brother)
                if(isMonster(brother) == true) then
            if(isInRange(getCreaturePosition(brother), config.brothers.brothersArea.fromPos, config.brothers.brothersArea.toPos) == true) then
                return TRUE
                        end
        else
                        local teleport = doCreateItem(config.teleportId, t.pos)
                        local position = t.pos
                        doItemSetAttribute(teleport, "aid", t.aid)
                        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
                        addEvent(removal, config.timeToRemove * 1000, position)
                end
        end
        return TRUE
end
 
Last edited:
I guess you use the script which was released here.
Give us the creatureevent so we can help.
 
I guess you use the script which was released here.
Give us the creatureevent so we can help.

Its the last one in my first post..
PHP:
local config = {
        timeToRemove = 180, -- seconds
                message = "You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room only during his time or the teleporter will disappear",
        teleportId = 9773,
        bosses = { -- Monster Name,  Teleport Position
                ["Ushuriel"] = {  pos={ x=33157, y=31725, z=11, stackpos=1 }, aid=1001 },
                                ["Zugurosh"] = {  pos={ x=33123, y=31689, z=11, stackpos=1 }, aid=1002},
                                ["Madareth"] = {  pos={ x=33194, y=31768, z=11, stackpos=1 }, aid=1003},
                ["Annihilon"] = {  pos={ x=33200, y=31704, z=11, stackpos=1 }, aid=1005},
                ["Hellgorak"] = {  pos={ x=33107, y=31735, z=11, stackpos=1 }, aid=1006}
                                },
                brothers ={
        ["Golgordan"] = {pos={ x=33235, y=31734, z=11, stackpos=1 },aid=1004, brother = "Latrivan"},
        ["Latrivan"] = {pos={ x=33235, y=31734, z=11, stackpos=1 },aid=1004, brother = "Golgordan"},
        brothersArea ={
                fromPos = {x = 33224, y = 31722, z = 11},
                toPos = {x = 33240, y = 31734, z = 11}  }       }
}
local function removal(position)
        doRemoveThing(getTileItemById(position, config.teleportId).uid, 1)
    return TRUE
end
 
function onKill(cid, target, lastHit)
    if(config.bosses[getCreatureName(target)]) then
                local t = config.bosses[getCreatureName(target)]
            local teleport = doCreateItem(config.teleportId, t.pos)
                local position = t.pos
                doItemSetAttribute(teleport, "aid", t.aid)
        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
                addEvent(removal, config.timeToRemove * 1000, position)
        elseif(config.brothers[getCreatureName(target)]) then
                local t = config.brothers[getCreatureName(target)]
        local brother = getCreatureByName(t.brother)
                if(isMonster(brother) == true) then
            if(isInRange(getCreaturePosition(brother), config.brothers.brothersArea.fromPos, config.brothers.brothersArea.toPos) == true) then
                return TRUE
                        end
        else
                        local teleport = doCreateItem(config.teleportId, t.pos)
                        local position = t.pos
                        doItemSetAttribute(teleport, "aid", t.aid)
                        doCreatureSay(cid, config.message, TALKTYPE_ORANGE_1)
                        addEvent(removal, config.timeToRemove * 1000, position)
                end
        end
        return TRUE
end
 
You have those bosses in your map more than once? If so remove all of the others they may only appear once.
 
Back
Top