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

Solved Gate of expertise not working

skeeter

New Member
Joined
Oct 19, 2012
Messages
18
Reaction score
0
my gate of expertise is letting any level open it,i set it to 1080 and a level 8 can open it or any level. when i look at the door is says its set for level 80. any help would be appreciated Thanks.
 
Why don't we have both?

d4AQ0.jpg
 
XML:
<?xml version="1.0" encoding="UTF-8"?>
<movements>

	<!-- [url=http://www.evenhost.net]Even Host[/url] -->
	<!-- Dota -->
	<movevent type="StepIn" uniqueid="5036" event="script" value="dota_templonormalp.lua" />
	<movevent type="StepIn" uniqueid="5035" event="script" value="dota_templonormal.lua" />
	<movevent type="StepIn" uniqueid="5040" event="script" value="dota.lua" />
	<movevent type="StepIn" uniqueid="5031" event="script" value="blue.lua" />
	<movevent type="StepIn" uniqueid="5032" event="script" value="red.lua" />
	
	<!--War of Emperium-->
	<movevent type="StepIn" actionid="3131" event="script" value="woe_tiles.lua"/>
	<movevent type="StepIn" actionid="3132" event="script" value="woe_tiles.lua"/>
	<movevent type="StepIn" actionid="3134" event="script" value="woe_tiles.lua"/>
	<movevent type="AddItem" tileitem="1" actionid="3134" event="script" value="woe_tiles.lua"/>
	
	<!-- Others -->
	<movevent type="StepIn" actionid="13500" event="script" value="premiumtile.lua"/>

	<!--- Ankrahmun Tomb Mystic Fires -->
    <movement type="StepIn" uniqueid="60063" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60064" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60065" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60066" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60067" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60068" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60069" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60070" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60071" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60072" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60073" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60074" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60075" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60076" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60077" event="script" value="tomb.lua" />
    <movement type="StepIn" uniqueid="60078" event="script" value="tomb.lua" />
	<movement type="StepIn" uniqueid="49342" event="script" value="vengoth.lua" />
	<movement type="StepIn" uniqueid="49343" event="script" value="vengoth.lua" />
	<movement type="StepIn" uniqueid="49344" event="script" value="vengoth.lua" />
    <movement type="StepIn" uniqueid="49345" event="script" value="vengoth.lua" />


	<!-- Enchanted -->
	<movevent type="StepIn" actionid="45001" event="script" value="teleport/teleport1.lua"/>
	<movevent type="StepIn" actionid="45002" event="script" value="teleport/teleport2.lua"/>
	<movevent type="StepIn" actionid="45003" event="script" value="teleport/teleport3.lua"/>
	<movevent type="StepIn" actionid="45004" event="script" value="teleport/teleport4.lua"/>
	<movevent type="StepIn" actionid="45005" event="script" value="teleport/teleport_back.lua"/>
	
	<!-- Decaying tiles -->
	<movevent type="StepIn" itemid="293" event="script" value="decay.lua"/>
	<movevent type="StepIn" itemid="461" event="script" value="decay.lua"/>

	<!-- (Depot & Level) tiles -->
	<movevent type="StepIn" itemid="416" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="417" event="script" value="tiles.lua"/>
	<movevent type="StepIn" itemid="426" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="425" event="script" value="tiles.lua"/>
	<movevent type="StepIn" itemid="446" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="447" event="script" value="tiles.lua"/>
	<movevent type="StepIn" itemid="3216" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="3217" event="script" value="tiles.lua"/>
	<movevent type="StepIn" itemid="3202" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="3215" event="script" value="tiles.lua"/>
	<movevent type="StepIn" itemid="11059" event="script" value="tiles.lua"/>
	<movevent type="StepOut" itemid="11060" event="script" value="tiles.lua"/>
	<!-- <movevent type="StepIn" itemid="8714" event="script" value="tiles.lua"/> -->

	<!-- Swimming -->
	<movevent type="StepIn" itemid="4828-4831" event="script" value="swimming.lua"/>
	<movevent type="StepIn" itemid="7943-7954" event="script" value="swimming.lua"/>

	<!-- Traps -->
	<movevent type="StepIn" itemid="1510" event="script" value="trap.lua"/>
	<movevent type="StepOut" itemid="1511" event="script" value="trap.lua"/>
	<movevent type="StepIn" itemid="1512" event="script" value="trap.lua"/>
	<movevent type="StepOut" itemid="1513" event="script" value="trap.lua"/>
	<movevent type="StepIn" itemid="2579" event="script" value="trap.lua"/>
	<movevent type="RemoveItem" itemid="2579" event="script" value="trap.lua"/>

	<!-- Citizen teleport -->
	<movevent type="StepIn" itemid="1387" event="script" value="citizen.lua"/>

	<!-- Walkback when walking on quest chest -->
	<movevent type="StepIn" itemid="1738" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1740" event="script" value="walkback.lua"/>
	<movevent type="StepIn" fromid="1746" toid="1749" event="script" value="walkback.lua"/>

	<!-- (Level & quest) doors -->
	<movevent type="StepOut" itemid="1228" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1230" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1246" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1248" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1260" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1262" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="3541" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="3550" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5104" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5113" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5122" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5131" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5293" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5295" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1224" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1226" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1242" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1244" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1256" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="1258" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="3543" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="3552" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5106" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5115" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5124" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5133" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5289" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5291" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5746" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="5749" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6203" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6205" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6207" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6209" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6260" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6262" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6264" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6266" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6897" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6899" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6906" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="6908" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="7039" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="7041" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="7048" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="7050" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="8552" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="8554" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="8556" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="8558" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9176" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9178" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9180" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9182" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9278" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9280" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9282" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="9284" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10279" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10281" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10283" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10285" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10474" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10476" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10483" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10485" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10780" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10782" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10789" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10791" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12190" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12194" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12196" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12199" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12203" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="12205" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10777" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10781" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10783" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10786" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10790" event="script" value="closingdoor.lua"/>
	<movevent type="StepOut" itemid="10792" event="script" value="closingdoor.lua"/>
	<movevent type="StepIn" itemid="1228" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1230" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1246" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1248" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1260" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1262" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="3541" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="3550" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5104" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5113" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5122" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5131" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5293" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5295" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1224" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1226" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1242" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1244" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1256" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="1258" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="3543" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="3552" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5106" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5115" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5124" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5133" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5289" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5291" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5746" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="5749" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6203" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6205" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6207" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6209" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6260" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6262" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6264" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6266" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6897" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6899" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6906" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="6908" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="7039" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="7041" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="7048" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="7050" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="8552" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="8554" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="8556" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="8558" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9176" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9178" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9180" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9182" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9278" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9280" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9282" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="9284" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10279" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10281" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10283" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10285" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10474" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10476" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10483" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10485" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10780" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10782" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10789" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10791" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12190" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12194" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12196" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12199" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12203" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12205" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="12204" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10777" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10781" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10783" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10786" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10790" event="script" value="walkback.lua"/>
	<movevent type="StepIn" itemid="10792" event="script" value="walkback.lua"/>

	<!-- Snow footprint tiles -->
	<movevent type="StepIn" itemid="670" event="script" value="snow.lua"/>
	<movevent type="StepIn" fromid="6580" toid="6593" event="script" value="snow.lua"/>

	<!-- Create bread movements -->
	<movevent type="AddItem" tileitem="1" itemid="1786" event="script" value="dough.lua"/>
	<movevent type="AddItem" tileitem="1" itemid="1788" event="script" value="dough.lua"/>
	<movevent type="AddItem" tileitem="1" itemid="1790" event="script" value="dough.lua"/>
	<movevent type="AddItem" tileitem="1" itemid="1792" event="script" value="dough.lua"/>

	<!-- Arena -->
	<movevent type="StepIn" actionid="42360" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepIn" actionid="42370" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepIn" actionid="42380" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepOut" actionid="42360" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepOut" actionid="42370" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepOut" actionid="42380" event="script" value="arena/arenagoblet.lua"/>
	<movevent type="StepIn" fromaid="42300" toaid="42309" event="script" value="arena/arenaroom.lua"/>
	<movevent type="StepIn" actionid="42310" event="script" value="arena/didarenalevel.lua"/>
	<movevent type="StepIn" fromaid="42321" toaid="42330" event="script" value="arena/leavearena.lua"/>

<!-- Pits Of Inferno -->
	<movement type="StepIn" uniqueid="10200" event="script" value="PitsOfInferno/GraveEntrance.lua" />
	<movement type="StepIn" actionid="10201" event="script" value="PitsOfInferno/MagicWallEntrance.lua" />
	<movement type="StepIn" uniqueid="10202" event="script" value="PitsOfInferno/MagicWallExit.lua" />
	<movement type="StepIn" actionid="10208" event="script" value="PitsOfInferno/FireKnightNorth1.lua" />
	<movement type="StepIn" actionid="10209" event="script" value="PitsOfInferno/FireKnightNorth2.lua" />
	<movement type="StepIn" actionid="10210" event="script" value="PitsOfInferno/FireKnightNorth3.lua" />
	<movement type="StepIn" actionid="10211" event="script" value="PitsOfInferno/FireDruidNorthEast1.lua" />
	<movement type="StepIn" actionid="10212" event="script" value="PitsOfInferno/FireDruidNorthEast2.lua" />
	<movement type="StepIn" actionid="10213" event="script" value="PitsOfInferno/FireDruidNorthEast3.lua" />
	<movement type="StepIn" actionid="10214" event="script" value="PitsOfInferno/FirePaladinSouthEast1.lua" />
	<movement type="StepIn" actionid="10215" event="script" value="PitsOfInferno/FirePaladinSouthEast2.lua" />
	<movement type="StepIn" actionid="10216" event="script" value="PitsOfInferno/FirePaladinSouthEast3.lua" />
	<movement type="StepIn" actionid="10217" event="script" value="PitsOfInferno/FireSorcererSouth1.lua" />
	<movement type="StepIn" actionid="10218" event="script" value="PitsOfInferno/FireSorcererSouth2.lua" />
	<movement type="StepIn" actionid="10219" event="script" value="PitsOfInferno/FireSorcererSouth3.lua" />
	<movement type="StepIn" actionid="10220" event="script" value="PitsOfInferno/FireKnightDeath.lua" />
	<movement type="StepIn" actionid="10221" event="script" value="PitsOfInferno/FireDruidDeath.lua" />
	<movement type="StepIn" actionid="10222" event="script" value="PitsOfInferno/FirePaladinDeath.lua" />
    <movement type="StepIn" actionid="10223" event="script" value="PitsOfInferno/FireSorcererDeath.lua" />
    <movement type="StepIn" uniqueid="10225" event="script" value="PitsOfInferno/CreateLadder.lua" />
    <movement type="StepOut" uniqueid="10225" event="script" value="PitsOfInferno/CreateLadder.lua" />
    <movement type="StepIn" uniqueid="10226" event="script" value="PitsOfInferno/TP1.lua" />
    <movement type="StepIn" uniqueid="10227" event="script" value="PitsOfInferno/TP2.lua" />
    <movement type="StepIn" uniqueid="10228" event="script" value="PitsOfInferno/TP3.lua" />
    <movement type="StepIn" uniqueid="10229" event="script" value="PitsOfInferno/TP4.lua" />
    <movement type="StepIn" uniqueid="10230" event="script" value="PitsOfInferno/TP5.lua" />
    <movement type="StepIn" uniqueid="10231" event="script" value="PitsOfInferno/TP6.lua" />
    <movement type="StepIn" uniqueid="10232" event="script" value="PitsOfInferno/TP7.lua" />
    <movement type="StepIn" uniqueid="10233" event="script" value="PitsOfInferno/TP8.lua" />
    <movement type="StepIn" uniqueid="10234" event="script" value="PitsOfInferno/TP9.lua" />
    <movement type="StepIn" uniqueid="10235" event="script" value="PitsOfInferno/TP10.lua" />
    <movement type="StepIn" uniqueid="10236" event="script" value="PitsOfInferno/TP11.lua" />
    <movement type="StepIn" uniqueid="10237" event="script" value="PitsOfInferno/TP12.lua" />
    <movement type="StepIn" uniqueid="10238" event="script" value="PitsOfInferno/TP13.lua" />
    <movement type="StepIn" uniqueid="10239" event="script" value="PitsOfInferno/TP14.lua" />
    <movement type="StepIn" uniqueid="10240" event="script" value="PitsOfInferno/TPBack1.lua" />
    <movement type="StepIn" uniqueid="10241" event="script" value="PitsOfInferno/TPBack2.lua" />
    <movement type="StepIn" uniqueid="10242" event="script" value="PitsOfInferno/TPBack3.lua" />
    <movement type="StepIn" uniqueid="10243" event="script" value="PitsOfInferno/TPBack4.lua" />
    <movement type="StepIn" uniqueid="10244" event="script" value="PitsOfInferno/TPBack5.lua" />
    <movement type="StepIn" uniqueid="10245" event="script" value="PitsOfInferno/TPBack6.lua" />
    <movement type="StepIn" uniqueid="10246" event="script" value="PitsOfInferno/TPBack7.lua" />
    <movement type="StepIn" uniqueid="10247" event="script" value="PitsOfInferno/TPBack8.lua" />
    <movement type="StepIn" uniqueid="10248" event="script" value="PitsOfInferno/TPBack9.lua" />
    <movement type="StepIn" uniqueid="10249" event="script" value="PitsOfInferno/TPBack10.lua" />
    <movement type="StepIn" uniqueid="10250" event="script" value="PitsOfInferno/TPBack11.lua" />
    <movement type="StepIn" uniqueid="10251" event="script" value="PitsOfInferno/TPMiddle1.lua" />
    <movement type="StepIn" uniqueid="10252" event="script" value="PitsOfInferno/TPMiddle2.lua" />
    <movement type="StepIn" uniqueid="10253" event="script" value="PitsOfInferno/TPMiddle3.lua" />
    <movement type="StepIn" uniqueid="10271" event="script" value="PitsOfInferno/BazirPlatinumCoins.lua" />
    <movement type="StepIn" itemid="5915" event="script" value="PitsOfInferno/AllThrones.lua" />
    <movement type="StepIn" itemid="5916" event="script" value="PitsOfInferno/AllThrones.lua" />
    <movement type="StepIn" actionid="9876" event="script" value="PitsOfInferno/firesorc.lua" />
    <movement type="StepIn" actionid="9877" event="script" value="PitsOfInferno/firedruid.lua" />
    <movement type="StepIn" actionid="9878" event="script" value="PitsOfInferno/firepall.lua" />
    <movement type="StepIn" actionid="9879" event="script" value="PitsOfInferno/fireknight.lua" />

	<!-- Zao -->
	<movevent type="StepIn" actionid="62325" event="script" value="zao/stair.lua" />
	<movevent type="StepIn" actionid="56254" event="script" value="zao/zaoenter.lua" />
	<movevent type="StepIn" actionid="56255" event="script" value="zao/zaoenter2.lua" />
	<movevent type="StepIn" actionid="56256" event="script" value="zao/zaoleave.lua" />
	<movevent type="StepIn" actionid="56257" event="script" value="zao/zaoleave2.lua" />
	<movevent type="StepIn" actionid="56258" event="script" value="zao/zaoaleart.lua" />
	<movevent type="StepIn" actionid="56259" event="script" value="zao/zaoaleart2.lua" />

	<!-- Demon Oak -->
	<movevent type="StepOut" uniqueid="32193" event="script" value="DOQ/demonOakTree.lua" />
	<movevent type="StepIn" itemid="8292" event="script" value="DOQ/demonOakArea.lua" /> 

	<!-- Yalahar 10th -->
	<movement type="StepIn" actionid="1973" event="script" value="azerus.lua" />
	<movement type="StepIn" actionid="1974" event="script" value="azerus.lua" />

	<!-- Campfires -->
	<movevent type="StepIn" itemid="1423" event="function" value="onStepInField"/>
	<movevent type="AddItem" itemid="1423" event="function" value="onAddField"/>
	<movevent type="StepIn" itemid="1424" event="function" value="onStepInField"/>
	<movevent type="AddItem" itemid="1424" event="function" value="onAddField"/>
	<movevent type="StepIn" itemid="1425" event="function" value="onStepInField"/>
	<movevent type="AddItem" itemid="1425" event="function" value="onAddField"/>

- - - Updated - - -

wont let me attach it

- - - Updated - - -

i used action id 1080
 
its 9.60

- - - Updated - - -

Lua:
local function doorEnter(cid, uid, id, position)
    doTransformItem(uid, id)
    doTeleportThing(cid, position)
    return true
end

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then
        doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
        return true
    end

    local locked = DOORS[item.itemid]
    if(locked) then
        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.")
        return true
    end

    local door = getItemInfo(item.itemid)
    if(door.levelDoor > 0) then
        if(item.aid == 189) then
            if(not isPremium(cid)) then
                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
                return true
            end

            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        local gender = item.aid - 186
        if(isInArray({PLAYERSEX_FEMALE,  PLAYERSEX_MALE}, gender)) then
            if(gender ~= getPlayerSex(cid)) then
                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
                return true
            end

            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        local skull = item.aid - 180
        if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then
            if(skull ~= getCreatureSkullType(cid)) then
                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
                return true
            end

            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        local group = item.aid - 150
        if(group >= 0 and group < 30) then
            if(group > getPlayerGroupId(cid)) then
                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
                return true
            end

            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        local vocation = item.aid - 100
        if(vocation >= 0 and vocation < 50) then
            local vocationEx = getVocationInfo(getPlayerVocation(cid))
            if(vocationEx.id ~= vocation and vocationEx.fromVocation ~= vocation) then
                doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
                return true
            end

            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        if(item.aid == 190 or (item.aid ~= 0 and getPlayerLevel(cid) >= (item.aid - door.levelDoor))) then
            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
        return true
    end

    if(door.specialDoor) then
        if(item.aid == 100 or (item.aid ~= 0 and getCreatureStorage(cid, item.aid) > 0)) then
            return doorEnter(cid, item.uid, door.transformUseTo, toPosition)
        end

        doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.")
        return true
    end

    toPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
    local fields, thing = getTileItemsByType(fromPosition, ITEM_TYPE_MAGICFIELD), getThingFromPosition(toPosition)
    if(item.uid ~= thing.uid and thing.itemid >= 100 and table.maxn(fields) ~= 0) then
        return true
    end

    local doorCreature = getThingFromPosition(toPosition)
    if(doorCreature.itemid ~= 0) then
        toPosition.x = toPosition.x + 1
        local query = doTileQueryAdd(doorCreature.uid, toPosition, 20) -- allow to stack outside doors, but not on teleports or floor changing tiles
        if(query == RETURNVALUE_NOTPOSSIBLE) then
            toPosition.x = toPosition.x - 1
            toPosition.y = toPosition.y + 1
            query = doTileQueryAdd(doorCreature.uid, toPosition, 20) -- repeat until found
        end

        if(query ~= RETURNVALUE_NOERROR) then
            doPlayerSendDefaultCancel(cid, query)
            return true
        end

        doTeleportThing(doorCreature.uid, toPosition)
        if(not door.closingDoor) then
            doTransformItem(item.uid, door.transformUseTo)
        end

        return true
    end

    return false
end

- - - Updated - - -

the door also stays open till i walk all the way through it
 
Last edited by a moderator:
Try this for "doors.lua".

Lua:
local function checkStackpos(item, position)
position.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local thing = getThingFromPos(position)

position.stackpos = STACKPOS_TOP_FIELD
local field = getThingFromPos(position)

return (item.uid == thing.uid or thing.itemid < 100 or field.itemid == 0)
end

local function doorEnter(cid, item, toPosition)
doTransformItem(item.uid, item.itemid + 1)
doTeleportThing(cid, toPosition)
end

function onUse(cid, item, fromPosition, itemEx, toPosition)
if(fromPosition.x ~= CONTAINER_POSITION and isPlayerPzLocked(cid) and getTileInfo(fromPosition).protection) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
return true
end

if(getItemLevelDoor(item.itemid) > 0) then
if(item.actionid == 189) then
if(not isPremium(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
end

doorEnter(cid, item, toPosition)
return true
end

local gender = item.actionid - 186
if(isInArray({PLAYERSEX_FEMALE, PLAYERSEX_MALE, PLAYERSEX_GAMEMASTER}, gender)) then
if(gender ~= getPlayerSex(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
end

doorEnter(cid, item, toPosition)
return true
end

local skull = item.actionid - 180
if(skull >= SKULL_NONE and skull <= SKULL_BLACK) then
if(skull ~= getCreatureSkullType(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
end

doorEnter(cid, item, toPosition)
return true
end

local group = item.actionid - 150
if(group >= 0 and group < 30) then
if(group > getPlayerGroupId(cid)) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
end

doorEnter(cid, item, toPosition)
return true
end

local vocation = item.actionid - 100
if(vocation >= 0 and vocation < 50) then
local playerVocationInfo = getVocationInfo(getPlayerVocation(cid))
if(playerVocationInfo.id ~= vocation and playerVocationInfo.fromVocation ~= vocation) then
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
return true
end

doorEnter(cid, item, toPosition)
return true
end

if(item.actionid == 190 or (item.actionid ~= 0 and getPlayerLevel(cid) >= (item.actionid - getItemLevelDoor(item.itemid)))) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "Only the worthy may pass.")
end

return true
end

if(isInArray(specialDoors, item.itemid)) then
if(item.actionid == 100 or (item.actionid ~= 0 and getPlayerStorageValue(cid, item.actionid) > 0)) then
doorEnter(cid, item, toPosition)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "The door seems to be sealed against unwanted intruders.")
end

return true
end

if(isInArray(keys, item.itemid)) then
if(itemEx.actionid > 0) then
if(item.actionid == itemEx.actionid and doors[itemEx.itemid] ~= nil) then
doTransformItem(itemEx.uid, doors[itemEx.itemid])
return true
end

doPlayerSendCancel(cid, "The key does not match.")
return true
end

return false
end

if(isInArray(horizontalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.y = newPosition.y + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingfromPos(doorPosition)
if(doorCreature.itemid ~= 0) then
local pzDoorPosition = getTileInfo(doorPosition).protection
local pzNewPosition = getTileInfo(newPosition).protection
if((pzDoorPosition and not pzNewPosition and doorCreature.uid ~= cid) or
(not pzDoorPosition and pzNewPosition and doorCreature.uid == cid and isPlayerPzLocked(cid))) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
end

return true
end

doTransformItem(item.uid, item.itemid - 1)
return true
end

if(isInArray(verticalOpenDoors, item.itemid) and checkStackpos(item, fromPosition)) then
local newPosition = toPosition
newPosition.x = newPosition.x + 1
local doorPosition = fromPosition
doorPosition.stackpos = STACKPOS_TOP_MOVEABLE_ITEM_OR_CREATURE
local doorCreature = getThingfromPos(doorPosition)
if(doorCreature.itemid ~= 0) then
if(getTileInfo(doorPosition).protection and not getTileInfo(newPosition).protection and doorCreature.uid ~= cid) then
doPlayerSendDefaultCancel(cid, RETURNVALUE_NOTPOSSIBLE)
else
doTeleportThing(doorCreature.uid, newPosition)
if(not isInArray(closingDoors, item.itemid)) then
doTransformItem(item.uid, item.itemid - 1)
end
end

return true
end

doTransformItem(item.uid, item.itemid - 1)
return true
end

if(doors[item.itemid] ~= nil and checkStackpos(item, fromPosition)) then
if(item.actionid == 0) then
doTransformItem(item.uid, doors[item.itemid])
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It is locked.")
end

return true
end

return false
end
 
Back
Top