"I checked them for the ACT bit in the pfile"

Maybe something is flagging it after they log on?
Check at player log in if it's set.  
And trace it, slowly.  It could be memory corruption, which would be bad :)


> -----Original Message-----
> From: Pell, Blake [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 10, 2003 5:09 PM
> To: [email protected]
> Subject: Weird occurance with IS_NPC
> 
> Here's a interesting one:
> 
> IS_NPC(ch) in rchannels is finding a few individuals to be 
> NPC's and not letting them use IMC.  I checked them for the 
> ACT bit in the pfile, and they don't have it... AND, no other 
> IS_NPC(ch) function thinks they are an NPC (even wrote a test 
> function with an IS_NPC check).  Any thoughts on why this 
> could be occuring?  Thanks in advance!  :)
> 
> 
> DEFINE_DO_FUN(do_rchannels)
> {
>   char buf[MAX_STRING_LENGTH];
>   char arg[MAX_STRING_LENGTH];
>   bool toggle;
>   int i;
>   const char *name;
>   long flag;
> 
>   if (IS_NPC(ch))
>   {
>     send_to_char("NPCs cannot use IMC.\n\r", ch);
>     return;
>   }
> 
> 
> 
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom
> 

Reply via email to