Typo in ascii_pfiles-2.0b

From: Michael Cunningham (malice@exit109.com)
Date: 03/24/99


Just a little tip.. For those of you installing
ascii_pfiles-2.0b written by Samdi there is
a minor typo in the load_char function that
is patched into db.c Unfortunatly this typo
can cause nice fat crashes. (allocating
memory endlessly:) It took a couple system
crashes before I figured it out. Maybe this
will save someone else a little grief.

In the section reguarding saving aliases:

       else if(!strcmp(tag, "Alis")) {
         fbgetline(fl, line);
         CREATE(ali, struct alias_data, 1);
         GET_ALIASES(ch) = ali;

replace this line---> while(*line != '!') {
with ---------------> while(*line != '~') {

           ali->alias = str_dup(line);
           fbgetline(fl, line);
           ali->replacement = str_dup(line);

Enjoy!

Mike..
--
Speed of Lightning, Roar of Thunder!
Fighting All Who Rob and Plunder...
UnderDog.. Ahhahah UnderDog!


     +------------------------------------------------------------+
     | 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