Problem with inventory:useItem
Posted: Sun Oct 23, 2011 1:03 pm
Since 2 days I often get this error
that is the code I'm using
have try to increase yrest to 3000, but from time to time get anyway this error. The bot stay in loop and after LONG time (2-3 min) it get this one charge!
Sometimes get tsame error by using some equipment items f.e "Fine Long Sword" inventory:useItem(210516);
Anyone the same problem?
Code: Select all
DEBUG - Cannot use Item Arcane Transmutor Charge BagId: #71 Item
Count: 1 reason: Cooldown
Code: Select all
while (inventory:itemTotalCount(203487) > 0) do --Use charges
inventory:useItem(203487,500);
yrest(1000);
end;
Sometimes get tsame error by using some equipment items f.e "Fine Long Sword" inventory:useItem(210516);
Code: Select all
DEBUG - Cannot use Item Fine Long Sword BagId: #17 Item
Count: 1 reason: Cooldown
Anyone the same problem?