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

ERROR Unknown event name - inquisitionPort

capotamage

New Member
Joined
Oct 3, 2011
Messages
10
Reaction score
0
Hello I am with the following errors in my distro someone could help me?

[Warning - Monster::Monster] Unknown event name - inquisitionPortals
[Warning - Monster::Monster] Unknown event name - inquisitionPortals
[Warning - Monster::Monster] Unknown event name - inquisitionPortals
[Warning - Monster::Monster] Unknown event name - inquisitionPortals
[Warning - Monster::Monster] Unknown event name - inquisitionPortals
 
Last edited:
My creaturescripts.xml

Code:
 <?xml version="1.0" encoding="UTF-8"?>
<creaturescripts>
	<event type="login" name="PlayerLogin" event="script" value="login.lua"/>

	<event type="joinchannel" name="GuildMotd" event="script" value="guildmotd.lua"/>
	<event type="receivemail" name="Mail" event="script" value="mail.lua"/>
	<event type="reportbug" name="SaveReportBug" script="reportbug.lua"/>
                 <event type="preparedeath" name="forever amulet" event="script" value="aol.lua"/>
                 <event type="death" name="tp" event="script" value="tp.lua"/>
                 <event type="death" name="teleportmonster" script="tpmonster.lua"/>

	<event type="think" name="Idle" event="script" value="idle.lua"/>
	<event type="think" name="SkullCheck" event="script" value="skullcheck.lua"/>
	<event type="death" name="PlayerDeath" event="script" value="playerdeath.lua"/>
	<event type="login" name="FirstItems" event="script" value="firstitems.lua"/>

	<!-- WoE -->
	<event type="death" name="empe_broken" event="script" value="empe_broken.lua"/>
	<event type="death" name="pre_empes" event="script" value="pre_empes.lua"/>
	<event type="statschange" name="empe_dmg" event="script" value="empe_dmg.lua"/>
	<event type="login" name="reg_vs_guard" event="script" value="vs_guard.lua"/>
	<event type="statschange" name="vs_guard" event="script" value="vs_guard.lua"/>

	<event type="PrepareDeath" name="pvparena" script="pvparena.lua"/>
	<event type="attack" name="attackguild" script="attackguild.lua"/>
	<event type="death" name="incendio" script="incendioMonster.lua"/>
	<event type="login" name="PlayerLogin" event="script" value="login6.lua"/>
	<event type="death" name="god" event="script" value="god.lua"/>
	<event type="login" name="AntiAccBomb" script="antiaccbomb.lua"/>
        </creaturescripts>
 
Monster.xml should be soomthing cuz the event doesnt exist.
Or just look on Inq Boss monster and delete the line with something like this

Code:
<events>
event name="INQPORTALS" event="creaturevent/INQ
</events>

something like that in in the xml from inq bosses ^^
Not sure just check
 
On my server does not have the boss teleports when he dies! for the room already has teleports


Code:
 function onDeath(cid, corpse, killer)

	registerCreatureEvent(cid, "inquisitionPortals")

	local creaturename = getCreatureName(cid)

--- positions where the teleports will be created:

	local ushuriel_in_pos = {x=1115, y=1214, z=12, stackpos=2} 
	local annihilon_in_pos = {x=1187, y=1198, z=12, stackpos=2} 
	local hellgorak_in_pos = {x=1192, y=1240, z=12, stackpos=2} 
	local madareth_in_pos = {x=1112, y=1240, z=12, stackpos=2} 
	local zugurosh_in_pos = {x=1149, y=1213, z=12, stackpos=2} 
	local brothers_in_pos = {x=1147, y=1244, z=12, stackpos=1}

--- positions where the teleports will be teleported you:

	local ushuriel_to_pos = {x=1173, y=1138, z=12, stackpos=1}
	local annihilon_to_pos = {x=1245, y=1297, z=12, stackpos=1}  
	local hellgorak_to_pos = {x=1064, y=1308, z=13, stackpos=1} 
	local madareth_to_pos = {x=1045, y=1205, z=13, stackpos=1} 
	local zugurosh_to_pos = {x=1128, y=1151, z=12, stackpos=1} 
	local brothers_to_pos = {x=1152, y=1195, z=13, stackpos=1}

	local time_to_pass = 180 -- in seconds
	local tpID = 1387
	local doEffect = CONST_ME_TELEPORT
	local message = "You now have 3 minutes to exit this room through the teleporter. It will bring you to the next room only during this time or the teleporter will disappear."

	if creaturename == 'Ushuriel' then

			teleport = doCreateTeleport(tpID, ushuriel_to_pos, ushuriel_in_pos)

			doSendMagicEffect(ushuriel_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInUshurielWard, (1000*time_to_pass))

	elseif creaturename == 'Annihilon' then

			teleport = doCreateTeleport(tpID, annihilon_to_pos, annihilon_in_pos)

			doSendMagicEffect(annihilon_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInAnnihilonWard, (1000*time_to_pass))

	elseif creaturename == 'Madareth' then

			teleport = doCreateTeleport(tpID, madareth_to_pos, madareth_in_pos)

			doSendMagicEffect(madareth_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInMadarethWard, (1000*time_to_pass)) 

	elseif creaturename == 'Hellgorak' then

			teleport = doCreateTeleport(tpID, hellgorak_to_pos, hellgorak_in_pos)

			doSendMagicEffect(hellgorak_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInHellgorakWard, (1000*time_to_pass)) 

	elseif creaturename == 'Zugurosh' then

			teleport = doCreateTeleport(tpID, zugurosh_to_pos, zugurosh_in_pos)

			doSendMagicEffect(zugurosh_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInZuguroshWard, (1000*time_to_pass))

	elseif creaturename == 'Latrivan' then

			teleport = doCreateTeleport(tpID, brothers_to_pos, brothers_in_pos)

			doSendMagicEffect(brothers_in_pos, doEffect)

			doPlayerSendTextMessage(cid, message, TALKTYPE_ORANGE_1)

			addEvent(removeTeleportInBrothersWard, (1000*time_to_pass))

	
		end 
end

function removeTeleportInUshurielWard()
	if getThingfromPos({x=1115, y=1214, z=12, stackpos=2}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1115, y=1214, z=12, stackpos=2}).uid,1)
	doSendMagicEffect({x=1115, y=1214, z=12, stackpos=2}, CONST_ME_POFF)
	return TRUE
	end
end

function removeTeleportInAnnihilonWard()
	if getThingfromPos({x=1187, y=1198, z=12, stackpos=2}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1187, y=1198, z=12, stackpos=2}).uid,1)
	doSendMagicEffect({x=1187, y=1198, z=12, stackpos=2}, CONST_ME_POFF)
	return TRUE
	end
end

function removeTeleportInHellgorakWard()
	if getThingfromPos({x=1192, y=1240, z=12, stackpos=2}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1192, y=1240, z=12, stackpos=2}).uid,1)
	doSendMagicEffect({x=1192, y=1240, z=12, stackpos=2}, CONST_ME_POFF)
	return TRUE
	end
end

function removeTeleportInMadarethWard()
	if getThingfromPos({x=1112, y=1240, z=12, stackpos=2}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1112, y=1240, z=12, stackpos=2}).uid,1)
	doSendMagicEffect({x=1112, y=1240, z=12, stackpos=2}, CONST_ME_POFF)
	return TRUE
	end
end

function removeTeleportInZuguroshWard()
	if getThingfromPos({x=1149, y=1213, z=12, stackpos=2}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1149, y=1213, z=12, stackpos=2}).uid,1)
	doSendMagicEffect({x=1149, y=1213, z=12, stackpos=2}, CONST_ME_POFF)
	return TRUE
	end
end

function removeTeleportInBrothersWard()
	if getThingfromPos({x=1147, y=1244, z=12, stackpos=1}).itemid == 1387 then
	doRemoveItem(getThingfromPos({x=1147, y=1244, z=12, stackpos=1}).uid,1)
	doSendMagicEffect({x=1147, y=1244, z=12, stackpos=1}, CONST_ME_POFF)
	return TRUE
	end
end
 
I deleted the <event name="inquisitionPortals"/> Hellgorak and has not worked!


Code:
 <?xml version="1.0" encoding="UTF-8"?>
<monster name="Hellgorak" nameDescription="Hellgorak" race="blood" experience="10000" speed="360" manacost="0">
<health now="40000" max="40000"/>
<look type="12" head="19" body="96" legs="21" feet="81" corpse="6068"/>
<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="85"/>
	<flag runonhealth="0"/>
</flags>
<script>
<event name="inquisitionPortals"/>
</script>
<attacks>
    <attack name="melee" interval="2000" skill="130" attack="130"/>
    <attack name="energy" interval="1000" chance="11" length="8" spread="0" min="-250" max="-819">
        <attribute key="areaEffect" value="purpleenergy"/>
    </attack>
    <attack name="manadrain" interval="2000" chance="14" radius="5" target="0" min="-90" max="-500">
        <attribute key="areaEffect" value="stun"/>
    </attack>
    <attack name="fire" interval="1000" chance="11" radius="5" target="1" min="-50" max="-520">
        <attribute key="areaEffect" value="firearea"/>
    </attack>
	<attack name="lifedrain" interval="2000" chance="5" radius="7" target="0" min="0" max="-150">
		<attribute key="areaEffect" value="poff"/>
	</attack>
</attacks>
<defenses armor="70" defense="65">
	<defense name="healing" interval="1000" chance="11" min="400" max="900">
		<attribute key="areaEffect" value="greenshimmer"/>
	</defense>
</defenses>
<elements>
    <element icePercent="55"/>
	<element energyPercent="40"/>
	<element earthPercent="40"/>
    <element holyPercent="20"/>
    <element deathPercent="50"/>
    <element firePercent="55"/>
	<element drownPercent="-50"/>
</elements>
<immunities>
	<immunity lifedrain="1"/>
	<immunity paralyze="1"/>
	<immunity invisible="1"/>
</immunities>
<voices interval="5000" chance="0">
	<voice sentence="??" yell="1"/>
	<voice sentence="??" yell="1"/>
</voices>
<loot>
<item id="2148" countmax="100" chance1="80000" chancemax="8"/>
<item id="2148" countmax="100" chance1="20000" chancemax="10"/>
<item id="2150" countmax="16" chance1="4000" chancemax="10"/> small amethyst
<item id="2148" countmax="83" chance1="40000" chancemax="0"/>
<item id="7388" chance="1200" /> --vile axe
<item id="2130" chance="1200" /> --golden amulet
<item id="2208" chance="3200" /> --axe ring
<item id="8871" chance="3100" /> --focus cape
<item id="2158" chance="1500" /> --blue gem
<item id="2155" chance="1500" /> --green gem
<item id="2210" chance="3200" /> --sword ring
<item id="2208" chance="3200" /> --axe ring
<item id="9970" countmax="13" chance1="6000" chancemax="0"/> small topaz
<item id="6500" countmax="2" chance1="6000" chancemax="0"/> demonic ess
<item id="2143" countmax="7" chance1="5000" chancemax="0"/> --White pearl
<item id="2470" chance="2000" /> --golden legs
<item id="7368" countmax="25" chance="8000"/> --stars
<item id="2144" countmax="12" chance1="4000" chancemax="0"/> --black pearl
<item id="2145" countmax="5" chance1="3000" chancemax="0"/> --small diamond
<item id="2514" chance="5650"/> --mastermind shield
<item id="8932" chance="900" /> --the calamity
<item id="2466" chance="8100"/> --golden armor
<item id="7412" chance="4200" /> --butcher's axe
<item id="7590" chance="7000"/> --great mana potion
<item id="8904" chance="5000"/> --spellbook of prophercies
<item id="7591" chance="8000"/> --great health potion
<item id="1987" chance="100000">
<inside>
<item id="2148" countmax="100" chance1="80000" chancemax="0"/>
<item id="2148" countmax="100" chance1="20000" chancemax="0"/>
<item id="8901" chance="4400"/> --spellbook of warding
<item id="2415" chance="600"/> --great axe
<item id="2208" chance="3200" /> --axe ring
<item id="8926" chance="900"/> --demonwing axe
<item id="2645" chance="3500"/> --steel boots
<item id="6500" countmax="2" chance1="6000" chancemax="0"/> demonic ess
<item id="8902" chance="4500"/> spellbook of mind control
<item id="2136" chance1="3000"/> demonbone amulet
<item id="2488" chance1="4000"/> crown legs
<item id="2143" countmax="7" chance1="7000" chancemax="0"/> --White pearl
<item id="7590" chance="5000"/> --great mana potion
<item id="8879" chance="3400"/> --voltage armor
<item id="2146" countmax="18" chance1="9000" chancemax="0"/> --small sapphire
<item id="2195" chance="5000"/> --boh
<item id="8918" chance="1000"/> --spellbook of dark mysteries
<item id="7591" chance="7000"/> --great health potion
</inside>
	</item>
</loot>
</monster>
 
But check all INQ monster CUZ ALL of em has that event ^^
Code:
ushuriel.xml
annihilon.xml
madareth.xml
zugurosh.xml
larvitan.xml
golgordan.xml
check them all
 
Back
Top