Quoting Trent Piepho <xyzzy at speakeasy.org>:

> I've never figured  this out, but when  is the stats  entry saved to
> disk?

When a player dies.  Which is the reason why SB's that never died had
screwed up stats in the postgame stat generator. 

> By ntserv when a player dies?

Yes.

> Or by daemonII?

No. daemonII should never touch the player file.

> If a player is logged in twice, do they share the same stats entry?

Yup.

> How is this not full of race conditions?

It is for that case.

--Carlos V.