http://forum.l2-scripts.ru/showthread.php?t=2868
It's not fixed,
It's always updating a 0 to the database, if i receive 25 from 50, i lose the other half.
- If i receive a number equal to the total the row should be deleted.
- If i receive a number less than the total, the row should be update with (total - acquired)