Hello.
Bot don't miss, but there are several reasons to loot wrong items:
1. Another player looting same creature. The reason is quite obvious. Another player may pickup item faster than you and bot may accidentally move another item that may be moved to same slot.
2. Looter->Move delay has very low value or lower than your ping. So it moves items faster than server tells your client that you actually moved it, so it tries to move again but meanwhile the item is moved to your container and bot loots the item that moved to the previous item slot.
3. Lag spikes, pretty much same as above.
You need to find out what may be happening.
Yeah, you can make a persistent to check for those items and drop them, example:
local TRASH = { 1234, 12345 } -- Items to drop if pickup.
local Backpack = 'blue backpack' -- Backpack used to loot items.
if islooting() == false then
for _, item in ipairs(TRASH) do
if itemcount(item, Backpack) > 0 then
moveitems(item, ground(posx(), posy(), posz()), Backpack, 100)
wait(500, 800)
end
if islooting() then
break
end
end
end