Re: [code][descrips]

From: Sammy (Samedi@cris.com)
Date: 12/21/96


On Thu, 21 Nov 1996, invincibill wrote:

- i am having a prob...not sure why tho...could i get some help?
- 
- i want to set it so that i can have a descrip on my players of at least
- one page.  the code i have now causes some bad memory stuff...
- this is from interpreter.c..the login menu case stmt...

You've got the right idea, but you're missing a key point.  In structs.h,
under struct char_file_u, player descriptions are allocated EXDSCR_LENGTH
bytes.  If you want longer descriptions, you'll have to increase
EXDESCR_LENGTH, and wipe your pfile.

The other problem with increasing the size of player descriptions is that
if you stick with binary pfiles, every single player is going to have room
for the same size description, whether they use it or not.  If you give
them a whole page to work with, your pfile may quadruple or more in size.
THis might not seem like a big deal now, but once you've got a few
players, this will make a big dent in your hard drive space.

This might be a good time to change to ascii pfiles :)

Sam

+-----------------------------------------------------------+
| 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/18/00 PST