Re: [NEWBIE] do_who questions

From: Del (caminturn@earthlink.net)
Date: 04/30/99


Shaun Bourque wrote:
>
> if (short_list) {
>   sprintf(buf, "%s[%2d %s] %-12.12%s%s%s",
>   (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
>   GET_LEVEL(tch), CLASS_ABBR(tch), GET_TITLE(tch),
>   (GET_LEVEL(tch) >= LVL_IMMORT ? CCNRM(ch, C_SPR) : ""),
> ^ ((!(++num_can_see % 4 )) ? "\r\n" : ""));
>

from bpl14:

    sprintf(buf, "%s[%2d %s] %-12.12s%s%s",
     (GET_LEVEL(tch) >= LVL_IMMORT ? CCYEL(ch, C_SPR) : ""),
     GET_LEVEL(tch), CLASS_ABBR(tch), GET_NAME(tch),
     (GET_LEVEL(tch) >= LVL_IMMORT ? CCNRM(ch, C_SPR) : ""),
      ((!(++num_can_see % 4)) ? "\r\n" : ""));

For one, you used title instead of name.
Try copying this into it and see if it works.
Also, when changing stuff.. don't try to put it back by hand.. make a backup
before changes and restore the backup.
Prevents this problem.


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