Posted: Thu Apr 24, 2008 11:01 am Post subject: character.ClearGottenItem() & v5 client (POL 097 2008-02
When using ClearGottenItem method a minor client bug occurs: while dragged item is physically cleared serverside, to the player it will look like item is still in the cursor. It vanishes after client drops the item somewhere. This happens at least in v5 clients - I didn't test other clients.
--
In order to get around this, one could use at least the following code snippet (better ways may exist, please tell if you know any).
Code:
// Clear item.
var item := who.GetGottenItem();
who.ClearGottenItem();