The script work as it should, but i do get an error when i move the item on the map.
But if i move it to backpack or arrow slot i dont get the error.
Anyone know what might be the problem?
Error:
Script:
But if i move it to backpack or arrow slot i dont get the error.
Anyone know what might be the problem?
Error:
Code:
[Error - MoveEvent::executeAddRemItem] Call stack overflow.
Script:
Code:
function onRemoveItem(moveItem, tileItem, position, cid)
if moveItem.itemid == 2057 then
doTransformItem(moveItem.uid, 2042)
doDecayItem(moveItem.uid)
end
return true
end