d2dbs (in bnetd / pvpgn) reconstructed in C#