do_stat_character Aaaaaaaah!!!!

From: Leeman Strout (stroutl@polaris.ncs.nova.edu)
Date: 07/14/95


right as it sits, the AFF bit line gets through... but: 

remove the #if stuff, and the "Hunger" and "Master/Foll" lines 
get through to the character, but *not* the AFF bit line!!  =(  Could you 
all take a look and see if I mangled it somehow?

  sprintf(buf, "Hunger: %-3d       Thirst: %-3d       Drunk: %-3d\r\n",
          GET_COND(k, FULL), GET_COND(k, THIRST), GET_COND(k, DRUNK));
  send_to_char(buf, ch);
#ifdef 0
  sprintf(buf, "Master is: %-21s Followers are:",
          ((k->master) ? GET_NAME(k->master) : "<none>"));
 
  for (fol = k->followers; fol; fol = fol->next) {
    sprintf(buf2, "%s %s", found++ ? "," : "", PERS(fol->follower, ch));
    strcat(buf, buf2);
    if (strlen(buf) >= 62) {
      if (fol->next)
        send_to_char(strcat(buf, ",\r\n"), ch);
      else
        send_to_char(strcat(buf, "\r\n"), ch);
      *buf = found = 0;
    }
  }
 
  if(*buf)
    send_to_char(strcat(buf, "\r\n"), ch);
#endif
 
  /* Showing the bitvector */
  sprintbit(AFF_FLAGS(k), affected_bits, buf2);
  sprintf(buf, "AFF: &+y%s&+w\r\n", buf2);
  send_to_char(buf, ch);



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