ondrake
Member
- Joined
- Dec 5, 2008
- Messages
- 70
- Solutions
- 1
- Reaction score
- 6
Hello! I'm having a strange problem and i hope you guys can help me.
I found out that the ladders cannot be used when there's any item below them or fire.
using OThire GitHub - TwistedScorpio/OTHire: OpenTibia Server for Tibia 7.72 ultimate version no modified, linux debian 7 and 8
I already reported on github but the creators did not respond.
I already checked the items.otb with the item editor and object build this normal.
I found out that the ladders cannot be used when there's any item below them or fire.
using OThire GitHub - TwistedScorpio/OTHire: OpenTibia Server for Tibia 7.72 ultimate version no modified, linux debian 7 and 8
I already reported on github but the creators did not respond.
I already checked the items.otb with the item editor and object build this normal.
function onUse(cid, item, frompos, item2, topos)
newPos = {x = frompos.x, y = frompos.y, z = frompos.z}
if (isInArray(LADDER, item.itemid) ) then
newPos.y = newPos.y + 1
newPos.z = newPos.z - 1
doTeleportThing(cid, newPos)
else
newPos.z = newPos.z + 1
doTeleportThing(cid, newPos)
end
return true
end