Pessoal tive um error no decorrer do tempo. Apareceu no startup:
[Error - MoveEvents Interface]
data/movements/scripts/closingdoor.lua:onStepOutDescription:
<luaDoTransformItem> Item Not Found
Ai esta o script
function onStepOut(cid, item, position, fromPosition)
local newPosition = {x = position.x, y = position.y, z = position.z}
if(isInArray(verticalOpenDoors, item.itemid)) then
newPosition.x = newPosition.x + 1
else
newPosition.y = newPosition.y + 1
end
doRelocate(position, newPosition)
local tmpPos = {x = position.x, y = position.y, z = position.z, stackpos = -1}
local tileCount = getTileThingByPos(tmpPos)
local i = 1
local tmpItem = {uid = 1}
while(tmpItem.uid ~= 0 and i < tileCount) do
tmpPos.stackpos = i
tmpItem = getTileThingByPos(tmpPos)
if(tmpItem.uid ~= item.uid and tmpItem.uid ~= 0 and isMoveable(tmpItem.uid)) then
doRemoveItem(tmpItem.uid)
else
i = i + 1
end
end
doTransformItem(item.uid, item.itemid - 1) return true
end
Leiam o que esta em vermelho... Tem alguma porta que o id -1 nao eh ela aberta ou algo assim? posso mexer no map editor vai bugar outras portas? to xeio de duvidas kkkk
abrç pessoal
----------
Resolvido, porta de quest, mas nao tinha essa quest nas actions.