> A much better thing to do (in my opinion) is make ASCII playerfiles, instead > of one big binary-file. > Of course... this has been talked about lots before... I remember at one point it was going to be in the code as a toggle-able thing. In other words, you wanted ascii pfiles, you set the code 'on' for them, binaries, you set the code for that... all in the config file. Don't remember at all what happened to that. > Positive: > + Fill less [Made one on 2.2 long time ago.. One ascii playerfile filled > only 33% of the binary info for a player. Never saw it over > 45%. And that was even after I added 640 more bytes to the > player structure.] Difference is this: On a Win95 machine (for example), there are cluster sizes, so the player record will always take up to the next biggest cluster, which ends up often making it twice as big (or bigger) than the binary pfile... unfortuantely. -- Erm... Yeah. Whatever. +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+ From mountcas@pluto.ee.cua.edu Tue, 13 Aug 96 16:14:01 EDT X-SystemInfo: MyE-Mail: EMail X-Message-No: 3701 (database) From: Sean P. Mountcastle <mountcas@pluto.ee.cua.edu> To: circle <circle@cspo.queensu.ca> Subject: [Circle] Pfile Problems [IDEA/QUESTION] {AGAIN} Date: Tue, 13 Aug 96 21:14:00 Message-ID: <199608132014.QAA13861@pluto.ee.cua.edu> X-POP3-Rcpt: lk4150@per Return-Path: <@QUCDN.QueensU.CA:owner-circle@cspo.queensu.ca> Received: from QUCDN.QueensU.CA (QUCDN.QueensU.CA [130.15.126.2]) by per.cybercity.dk (8.6.12/8.6.12) with SMTP id WAA32208 for <lk4150@krull.dk>; Tue, 13 Aug 1996 22:20:59 +0200 Received: from cspo.queensu.ca by QUCDN.QueensU.CA (IBM VM SMTP V2R2) with TCP;Tue, 13 Aug 96 16:27:41 EDT Received: by cspo.queensu.ca (SMI-8.6/SMI-SVR4)id QAA23622; Tue, 13 Aug 1996 16:13:47 -0500 Received: from pluto.ee.cua.edu by cspo.queensu.ca (SMI-8.6/SMI-SVR4) Received: (from mountcas@localhost) by pluto.ee.cua.edu (8.6.12/8.6.9) id QAA13861 for circle@cspo.queensu.ca; Tue, 13 Aug 1996 16:14:02 -0400 X-Mailer: ELM [version 2.3 PL11] Sender: owner-circle@cspo.queensu.ca Precedence: bulk <Stupid closed list rules.....*growl*> Well, since I have to send this again I've forgotten exactly what I typed the first time, but it went something like this: Why not use htons, htonl, and ntohs, ntohl to convert the host specific byte ordering to Network Byte Order? Would you be able to write to disk in network byte order? If so then just make some changes to char_to_store, store_to_char, and save_char.... If this won't work, can someone explain to me why not? Thanks, - Sean Sean Mountcastle ---------------- Don't worry over what other people are thinking about you. They're too busy worrying over what you are thinking about them. +-----------------------------------------------------------+ | Ensure that you have read the CircleMUD Mailing List FAQ: | | http://cspo.queensu.ca/~fletcher/Circle/list_faq.html | +-----------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/07/00 PST