Re: [CODe] races again and WHO command

From: Admin of The Keep (dkoepke@california.com)
Date: 10/22/96


On Tue, 22 Oct 1996, Peter Hartman wrote:

> /* [WART] */
> long find_race_bitvector(char arg)
> {
>   arg = LOWER(arg);
>   
>   switch (arg) {
>     case 'h':
>       return (1 << 5);
>       break;
>     case 'e':
>       return (1 << 6);
>       break;
>     case 'g':
>       return (1 << 7);
>       break;
>     case 'f':
>       return (1 << 8);
>       break;
>     default:
>       return 0;
>       break;
>   }
> }
> 
> In the long find_race_bitvector the races.doc said to make it 'h':
> return 1 :: e return 2 :: g return 4 :: and f return 8 but this resulted
> in NO WHO or USERS command.   So i made it like it is.  Is this the
> source of the prob?  as in have i fixed it? 
> Now if i have fixed it (so that i CAN do a WHO and CAN have races at
> same time) how do i get atleast one account system admin (or wizard)
> status?  Thanks for ANY help :-).  I appreciate this emailing list for
> its service!  

  Well, there is *a* problem here.  You should be starting from (1 << 0)
  for the races.  I'm not going to explain why or make any other comments,
  that's all I'm going to say.


  <*=-+Daniel+-=*>
  "Forgive me father, for I am sin."


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