In my script:
when I give pool of blood on ground script doesn't work and server print this error:
Code:
function onAddItem(cid, moveitem, tileitem)
if (moveitem.itemid == 2016 and moveitem.type == 2) then
doRemoveItem(moveitem.uid,1)
doSendMagicEffect(getThingPos(tileitem.uid),13)
local newpos = {x=398, y=1385, z=9}
doTeleportThing(cid,newpos)
doSendMagicEffect(newpos,10)
else
doSendMagicEffect(getThingPos(tileitem.uid),2)
doRemoveItem(moveitem.uid,1)
end
return true
end
when I give pool of blood on ground script doesn't work and server print this error:
[07/03/2010 22:17:47] [Error - MoveEvents Interface]
[07/03/2010 22:17:47] data/movements/scripts/quest/poi/grave.luanAddItem
[07/03/2010 22:17:47] Description:
[07/03/2010 22:17:47] (luaGetThingPosition) Thing not found