MxSoft
Leave Tibia, Live Life.
Hi im having issues with all my doors that are like this:
The ones with this function "return doTransformItem(item.uid, item.itemid + 1) and doTeleportThing(cid, toPosition, true)"
Example:
if you click again while you still under the door its get bugged because it gets transformed again so people abuse of this bug to block quests
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
for i = 10001, 10008 do
if getPlayerStorageValue(cid, i) > 0 then
return doTransformItem(item.uid, item.itemid + 1) and doTeleportThing(cid, toPosition, true)
end
end
return doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "It seems this door is sealed against unwanted intruders.")
end
Example:
if you click again while you still under the door its get bugged because it gets transformed again so people abuse of this bug to block quests