Re: [Code] BUS Error...

From: WarRat (warrat@erinet.com)
Date: 01/19/97


At 08:52 PM 1/19/97 -0500, you wrote:
>SPECIAL(puff)


>/*  sprintf(mesg,"%s%s%s",CCYEL(ch, C_NRM),mesg,CCNRM(ch, C_NRM)); */ 

Did this myself a while back :)
Problem is, at this point, ch is Puff herself who doesn't have a color level.

>  for (i=descriptor_list; i; i=i->next)
>    if (!i->connected && (tch = i->character) &&
>    world[tch->in_room].zone == world[ch->in_room].zone &&
>    !PLR_FLAGGED(tch, PLR_MAILING) && 
>    !PLR_FLAGGED(tch, PLR_WRITING))

Need to put it here using tch instead of ch.

>    send_to_char(mesg, tch);
>  return (1);
>}

  ^"^'^"^"^'^"^'^"^"^"#
                            #  \O/
10,000 lemmings#    |
can't all be wrong#   / \    
                            #  .. .     warrat@erinet.com
                            #  . . .
                            # #..# .
                               ^^^^^^^^^^^^^^^^^^^^
IMP of NergMUD  nerg.me.fau.edu port 4000


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