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

Banuta wall

Taste

Member
Joined
Apr 6, 2012
Messages
81
Reaction score
5
Hi

I need some help with the Wall at Damaged steel helmet Quest. There are two levers between these walls but it doesn't work properly though.

The lever on the outside got UID 33210 and inside doesn't have any UID.

When using the levers it gives following errors..

Code:
[11:32:02.095] [Error - Action Interface]
[11:32:02.095] data/actions/scripts/other/banuta.lua:onUse
[11:32:02.095] Description:
[11:32:02.095] (luaDoRemoveItem) Item not found

LUA:
function onUse(cid, item, fromPosition, itemEx, toPosition)
    removals = {
        { item = 3474, pos = { x = 32864 , y = 32556 , z = 11 } },
        { item = 3475, pos = { x = 32865 , y = 32556 , z = 11 } }    
    }
    
    if item.itemid == 1945 then
        for i = 1, #removals do
            removals[i].pos.stackpos = 1
            doRemoveItem(getThingfromPos(removals[i].pos).uid, 1)
        end
        doTransformItem(item.uid, item.itemid + 1)
    elseif item.itemid == 1946 then
        for i = 1, #removals do
            doCreateItem(removals[i].item, 1, removals[i].pos)
        end
        doTransformItem(item.uid, item.itemid - 1)
    end
    return TRUE
end
 
Back
Top