>I'm afraid it's worse than that. You can't have variable-sized player records in CircleMUD's >binary pfile system, which would result from storing such a data structure. Since player records >are all the same size, loading a player is a simple matter of seek to the beginning of his location >in the pfile, read a char_file_u-sized chunk of binary data, and copy it into a char_data structure. To quote Homer Simpson ... 'Doh.' That's what I get for writing up information at 3am. The worse thing is I know that. =P >It should probably be one of our highest post-3.1 priorities to introduce a more flexible, general >format for player data either in addition to, as an alternative to, or as a replacement for the >binary pfile system. Agreed. I guess I'm just spoiled as every mud I've coded on has had an alternative format (XML on Dragon's Fang and ASCII on Shadows. =P) - Greg Buton Shadows of Amber shadows.drathus.org 5000 -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | | Newbie List: http://groups.yahoo.com/group/circle-newbies/ | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 06/25/03 PDT