new.do_who.diff problems

From: SoulReaper Is here (death_comes_to_all@hotmail.com)
Date: 06/15/02


I downloaded the new.do_who.diff from the ftp..
and made some minor adjustments to eliminate errors in compilation.. but it
doesn't show the line that separates mortals from immortals.. and it only
shows the first logged on imm, not the others.. i do not know if it does the
same with mortals.. i pasted in the part that prints out the text that shows
who is online.. can anyone help me with this one?
    } else {                    /* endif */
      send_to_char(ch, WHO_USAGE);
      return;
    }
  }                             /* end while (parser) */

  strcpy(Imm_buf, "Immortals currently
online\r\n--------------------------\r\n");
  strcpy(Mort_buf,"Mortals currently
online\r\n------------------------\r\n");

  for (d = descriptor_list; d; d = d->next) {
    if (STATE(d) != CON_PLAYING)
      continue;

    if (d->original)
      wch = d->original;
     else if (!(wch = d->character))
      continue;

    if (!CAN_SEE(ch, wch))
      continue;
    if (GET_LEVEL(wch) < low || GET_LEVEL(wch) > high)
      continue;
    if ((noimm && GET_LEVEL(wch) >= LVL_IMMORT) || (nomort && GET_LEVEL(wch)
< LVL_IMMORT))
      continue;
    if (*name_search && str_cmp(GET_NAME(wch), name_search) &&
!strstr(GET_TITLE(wch), name_search))
      continue;
    if (outlaws && !PLR_FLAGGED(wch, PLR_KILLER) && !PLR_FLAGGED(wch,
PLR_THIEF))
      continue;
    if (who_quest && !PRF_FLAGGED(wch, PRF_QUEST))
      continue;
    if (who_zone && world[ch->in_room].zone != world[wch->in_room].zone)
      continue;
    if (who_room && (wch->in_room != ch->in_room))
       continue;
    if (who_room && (wch->in_room != ch->in_room))
       continue;
    if (showclass && !(showclass & (1 << GET_CLASS(wch))))
       continue;

    if (GET_LEVEL(wch) >= LVL_IMMORT) {
      sprintf(Imm_buf, "%s%s[%s] %s %s\r\n", Imm_buf, QYEL,
               WizLevels[GET_LEVEL(wch)-LVL_IMMORT], GET_NAME(wch),
               GET_TITLE(wch));
       Wizards++;
    } else {
      sprintf(Mort_buf, "%s[%2d %s] %s %s\r\n", Mort_buf, GET_LEVEL(wch),
              CLASS_ABBR(wch), GET_NAME(wch), GET_TITLE(wch));
       Mortals++;
     }


_________________________________________________________________
Hämta MSN Explorer kostnadsfritt på http://explorer.msn.se/intl.asp

--
   +---------------------------------------------------------------+
   | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html |
   | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html |
   | Newbie List:  http://groups.yahoo.com/group/circle-newbies/   |
   +---------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 06/25/03 PDT