char_player_data problem, again...

From: Emil Nilimaa (kyos_overlord@hotmail.com)
Date: 09/23/99


ok,
more info here :)

Lets say i wanted to add a "title" or description for the character.
so it is like:

Character "with a big nose" "title" stands here.
------------------------------------------------------------
Now i did exactly like the old title.. but named it
desca.   so "with a big nose" is desca.

This works perfect until i try to use any olc command,
medit, redit, oedit, or zedit.

what i did was added desca to structs.h (and alot of other stuff on
other places but the problem seems to be in char_player_data)
I also tried to add the afk snippet from ceramic mouse, which resulted
in same thing. Using olc crashed the game. The afk snippet also
added to char_player_data.

this is how it looks after adding desca:

struct char_player_data {
   char passwd[MAX_PWD_LENGTH+1];
   char *name;
   char *short_descr;
   char *long_descr;
   char *description;
   char *title;
   char *descb;
   char *descc;
   char *desca;         <-------- this is what i added.
   byte sex;
   byte chclass;
   byte race;
   byte subrace;
   byte eyecolor;
   byte level;
   int  hometown;
   struct time_data time;
   ubyte weight;
   ubyte height;
};

You see here that i have added descb and descc before, they work
the same as desca, but this does not crash the game when using olc.
When adding the afk snippet desca is changed for something else,
but it too crashes the game.
If i just use the code that works perfect, and just add desca like above,
and change nothing else anywhere. Using the olc crashes the game.

It looks as if whatever i add up there, will crash the game when using the
olc.
Is there a limit for how much you can add to struct char_player_data?
Or does that effect the olc somehow?
shrug

/kyos

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST