Quote:
Originally Posted by shadowman123
Make ushort List and add all the Achievments the player gained.. and make checker if !List.Contains(Acheviment ID) then send the packet to player with the new Acheivment ID thats it .. u should make Database Part too for saving / Loading
|
Wrong.
Achievements are stored as an array of bits (achieved or not). This is how they are sent to the client and therefor how you should be storing them on the server (less conversions, faster).
Use bitflags to turn the bit controlling each achievement on or off.
Function is almost exactly like the effects system.