Adding extra exits on bpl15

From: Talon Karrde (karrde@ozemail.com.au)
Date: 08/02/99


    Has any-one tried to patch in the exitra exits patch from the FTP site,
If so have you had any problems with the Auto exits function.
    I have just finished installing the extra exits, and have come to a
stand still. After moderfying the code to (I thought) work with bpl15, i am
shutting down the system every time i look at the room.

This is that code i have for the autoexits section.

void do_auto_exits(struct char_data * ch)
{
  int door, slen = 0;

  *buf = '\0';

  for (door = 0; door < NUM_OF_DIRS; door++)
    if (EXIT(ch, door) && EXIT(ch, door)->to_room != NOWHERE &&
 !EXIT_FLAGGED(EXIT(ch, door), EX_CLOSED))
      slen += sprintf(buf + slen, "%s%s ",buf, AEdirs[door]);

  sprintf(buf2, "%s[ Exits: %s]%s\r\n", CCCYN(ch, C_NRM),
   *buf ? buf : "None! ", CCNRM(ch, C_NRM));

  send_to_char(buf2, ch);
}

I have defined the Varible AEdirs[] in the constants header file.I have the
MUD compiling in Windows 98 VC++ V5, and any help would be greatful.


Thanks,
    Talon Karrde (ICQ 28118501)


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