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

Poi error message "magic wall entrace"

gappe

New Member
Joined
Jul 17, 2009
Messages
71
Reaction score
0
[20/12/2009 17:23:07] Lua Script Error: [MoveEvents Interface]
[20/12/2009 17:23:07] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:eek:nStepIn

[20/12/2009 17:23:07] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: attempt to compare boolean with number
[20/12/2009 17:23:07] stack traceback:
[20/12/2009 17:23:07] ...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:5: in function <...ovements/scripts/PitsOfInferno/MagicWallEntrance.lua:1>

[20/12/2009 17:23:11] Lua Script Error: [MoveEvents Interface]
[20/12/2009 17:23:11] data/movements/scripts/PitsOfInferno/MagicWallEntrance.lua:eek:nStepIn

Getting this message, whats wrong?

Here is my Magicwallentace.lua

function onStepIn(cid, item, pos)
local position = {x=412, y=1414, z=9}
local position2 = {x=398, y=1380, z=9}

if (getPlayerItemCount(cid, 1970) < 1) then
doTeleportThing(cid, position)
doSendMagicEffect(position,10)
else

doTeleportThing(cid, position2)
doSendMagicEffect(position2,10)
end
end
 
Back
Top