[CODE] races.doc and WHO specific problem

From: Peter Hartman (hartman@kuntrynet.com)
Date: 10/20/96


Well i am creating races using races.doc and after compiling i cant get
anything or anybody that is to show up with WHO or USERS command.  A
suggestion was made to check my race_bit_vector thinger in class.c and
found and anomylity.  Basically in races.doc it says to search for:
case 't':
  return 4;
  break;
case 'w':
  return 8;
  break;
default:
  return 0;
  break;
 }
}

and my class.c (before i edited it) looked like this:
case 't':
  return (1 << 2);
  break;
case 'w':
  return (1 << 3);
  break;
default:
  return 0;
  break;
  }
}

This is an odd anonmity but i didnt think anything of and placed below
that what races.doc told me:

long find_race_bitvector(char arg_
{
  arg = LOWER(arg);

  switch(arg) {
    case 'h':
      return 1;
      break;
    case 'e':
      return 2;
      break;
    case 'g':
      return 4;
      break;
    case 'f':
    return 8;
    break;
  default:
    return 0;
    break;
  }
}

is this the problem that is causing my WHO or USER cmd to not show
anything?  Do i need to provide clearer info?  Please and thanks for any
help!

wart
opeter hartman <hartman@kuntrynet.com>
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



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