If I am given the last source version and what has changed in it (Ezman\'s bug fix), I may try to find some time to check if it has any incidence on my original /give code. Like Draklar, I have used it many times without a single failure, and I never heard of such a failure before, since July.
I am really surprised by the description of the problem because there shouldn\'t be a failure on the server side when the transaction occurs (unless the connection between the PS server and the SQL server is really buggy, which I doubt). Anyway, the code was written to take failures into account, and in such an improbable case, the donor should receive a message and the item should be put back in his/her inventory. Of course, messages can sometimes be lost or sent to erroneous clients. In any case, either the transaction succeeds or it fails, but the amount can\'t change, in the original version anyway. It is done in one operation, not one crystal at a time
If someone has this problem again, the donor should check whether the items were given back or not.
The client wasn\'t changed, by the way, it would have caused too much trouble updating all of them. The mod was only on the server side. That\'s why the inventory is not updated on the client side. Usually, closing it and opening it again does the trick