check rope.lua in data/actions/scripts
and post the file.
<action itemid="2120" script="tools/rope.lua"/>
function onUse(player, item, fromPosition, target, toPosition, isHotkey)
local tile = Tile(toPosition)
if isInArray(ropeSpots, tile:getGround():getId()) or tile:getItemById(14435) then
player:teleportTo(toPosition:moveUpstairs(), false)
return true
elseif isInArray(holeId, target.itemid) then
toPosition.z = toPosition.z + 1
tile = Tile(toPosition)
if tile then
local thing = tile:getTopVisibleThing()
if thing:isItem() and thing:getType():isMovable() then
return thing:moveTo(toPosition:moveUpstairs())
end
end
player:sendCancelMessage(RETURNVALUE_NOTPOSSIBLE)
return true
end
return false
end
Sure but as Slavi said its happening even with official otb.Have you edited your items.otb?
I think you should try using the offical items.otb from here and let us know then =) Trust me big boy.Sure but as Slavi said its happening even with official otb.
Well, maybe you are right, but if someone wants to edit his items.otb ?I think you should try using the offical items.otb from here and let us know then =) Trust me big boy.
https://github.com/otland/forgottenserver/tree/master/data/items
You download the latest version of item editor that addressed this problem =)Well, maybe you are right, but if someone wants to edit his items.otb ?
that's good, because it didn't work with even both .,.