I GOT THIS PROBLEM , How I Can Fix ? help ..
powerups.lua
[5:25:11.718] [Error - MoveEvents Interface]
[5:25:11.718] data/movements/scripts/bomb/powerups.luanStepIn
[5:25:11.718] Description:
[5:25:11.718] (luaDoDecayItem) Item not found
[5:25:13.062] [Error - MoveEvents Interface]
[5:25:13.062] data/movements/scripts/bomb/powerups.luanStepIn
[5:25:13.062] Description:
[5:25:13.062] (luaDoDecayItem) Item not found
[5:25:43.281] [Error - MoveEvents Interface]
[5:25:43.281] data/movements/scripts/bomb/powerups.luanStepIn
[5:25:43.281] Description:
[5:25:43.296] (luaDoDecayItem) Item not found
[5:25:47.609] [Error - MoveEvents Interface]
[5:25:47.609] data/movements/scripts/bomb/powerups.luanStepIn
[5:25:47.609] Description:
[5:25:47.609] (luaDoDecayItem) Item not found
powerups.lua
local t = {
from = {x=32015, y=32348, z=7},
to = {x=32029, y=32358, z=7},
storage = {
max = 10002,
radius = 10003
}
}
function onStepIn(cid, item, pos, fromPos)
if isInRange(pos, t.from, t.to) then
if item.itemid == 8304 then
local n = getPlayerStorageValue(cid, t.storage.max)
if n < 3 then
setPlayerStorageValue(cid, t.storage.max, n + 1)
doRemoveItem(item.uid)
doSendMagicEffect(pos, CONST_ME_FIREATTACK)
end
elseif item.itemid == 8306 then
local n = getPlayerSlotItem(cid, CONST_SLOT_FEET)
if n.itemid ~= 2195 then
doPlayerAddItem(cid, 2050, 1)
doPlayerAddItem(cid, 2050, 1)
doPlayerAddItem(cid, 2050, 1)
doDecayItem(doPlayerAddItem(cid, 2148, 1))
doPlayerRemoveItem(cid, 2050, 1)
doPlayerRemoveItem(cid, 2050, 1)
doPlayerRemoveItem(cid, 2050, 1)
doRemoveItem(item.uid)
doSendMagicEffect(pos, CONST_ME_ENERGYHIT)
end
elseif item.itemid == 8310 then
local n = getPlayerStorageValue(cid, t.storage.radius)
if n < 4 then
setPlayerStorageValue(cid, t.storage.radius, n + 1)
doRemoveItem(item.uid)
doSendMagicEffect(pos, CONST_ME_GROUNDSHAKER)
end
end
end
end