level.clients[ i ].pers.credit < max ) {
new_credits = level.clients[ i ].pers.credit + portion;
amounts[ i ] = portion;
totals[ i ] += portion;[/code]
This happens every time a player has over 2000 credits. I think the “everyone is full” case is already covered (the server sends a “donated 0 credits” message, as far as I remember).
This happens whenever you are over 2000 credits and someone donates to you. Any amount over 2000 credits is deleted and you get the message in counsole about -X amount of credits have been donate to you.
For example, I bet enneract had 2780 credits by selling in the armory with 2000 credits in the pocket, he got donated in that moment and lost those 780 credits.