You are better off checking if the item is in a valid slot before deleting it. Like Uleat said anything that is deleted from the bank.. just auto-crashes the client.
I would use... this function it is nice for removing items from valid inventory slots as long as you use it correctly
Quote:
$client->DeleteItemInInventory(slot, count, 1);
|
Deleting items from cursor / cursor bag is also a bit glitchy as well fyi
(doesnt crash though)