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

Lua Dream Challenge Quest Pillow Riddle error (By Teckman)

zippy

Member
Joined
Feb 1, 2011
Messages
233
Reaction score
8
Hi, i use teckman script to riddle the pillows but i get error:

Code:
Lua Script Error: [MoveEvents Interface]
data/movements/scripts/dreamer challenge quest/dreamerChallengeQuestRiddle.lua:o
nStepIn
LuaScriptInterface::luaDoTeleportThing(). Thing not found
stack traceback:
        [C]: in function 'doTeleportThing'
        .../dreamer challenge quest/dreamerChallengeQuestRiddle.lua:7: in functi
on <.../dreamer challenge quest/dreamerChallengeQuestRiddle.lua:1>

Here is the script:
Code:
function onStepIn(cid, item, position, lastPosition)
    if(item.actionid == 2245) then
        doTeleportThing(getThingFromPos({x = position.x + 2, y = position.y, z = position.z, stackpos = 1}).uid, {x = 32842, y = 32340, z = 9})
        for i = 1, 5 do
            doTeleportThing(getThingFromPos({x = position.x + 2 + i, y = position.y, z = position.z, stackpos = 1}).uid, {x = position.x + 1 + i, y = position.y, z = position.z})
        end
        doTeleportThing(getThingFromPos({x = 32842, y = 32340, z = 9, stackpos = 1}).uid, {x = position.x + 7, y = position.y, z = position.z})
    elseif(item.actionid == 2246) then
        doTeleportThing(getThingFromPos({x = position.x, y = position.y + 2, z = position.z, stackpos = 1}).uid, {x = 32842, y = 32340, z = 9})
        for i = 1, 5 do
            doTeleportThing(getThingFromPos({x = position.x, y = position.y + 2 + i, z = position.z, stackpos = 1}).uid, {x = position.x, y = position.y + 1 + i, z = position.z})
        end
        doTeleportThing(getThingFromPos({x = 32842, y = 32340, z = 9, stackpos = 1}).uid, {x = position.x, y = position.y + 7, z = position.z})
    end
    return true
end

Im using 1.0

Thanks
 
Last edited:
Asfar i can see all pos are the same. But i cant figure out if you going to put top left and bot right.
 
Yes, since nothing can enter that area. About if it correct posistion i dont know, since i have no idea how to configure it.
 
#5. Post the server you are using, knowing the server beforehand will help people support you faster in case the server you are using doesn't have a feature.
 
Back
Top