Shared: wrapped atomic variables for cleaner backwards compatibility.
Party system: as the party ID is now atomic, ignoring -1 (or 0xFFFF as it were) requires 2 steps. Instead, there's now a boolean to indicate whether a user's in a party or not (the ID is never sent to the client, so we could even increase the type if we so desired).
Shared: Atomic wrapper now supports atomic addition & subtraction, various non-atomic comparison operators & allows simpler typecasted access to the data it stores.
Game server: Implemented clan NP donations (untested) as written by @0xhex https://github.com/0xhex/snoxd-koserver/commit/72a8efe8750f034cd548eba4ac54726ce3a5b8e5 Refs #79.
Game server: minor tweaks to ensure users are refunded correctly and to save constantly searching for players in the clan player array.
Game server: ensure users have a minimum of 500 NP at all times.
Game server: min. NP for donation set to 1,000 (this is apparently USKO's official requirement).
That comment should probably be updated to reflect the code change, otherwise it's just plain confusing.
BUGFIX: Clan leader's fame is now set correctly on clan creation. Refs #80.
Database: fixes KNIGHTS.ClanPointFund not using its default value
BUGFIX: Fixes DONATE_CLAN_POINTS
Game server: clan point fund is now stored in 'CONT' (NP form). Implemented clan point request packet (pretty sure we're still missing a response from KNIGHTS_DONATE_POINTS though).