Re: char_player_data problem, again...

From: Emil Nilimaa (kyos_overlord@hotmail.com)
Date: 09/28/99


>From: George Greer <greerga@CIRCLEMUD.ORG>
>Reply-To: Circle Discussion List <CIRCLE@post.queensu.ca>
>To: CIRCLE@post.queensu.ca
>Subject: Re: char_player_data problem, again...
>Date: Thu, 23 Sep 1999 20:11:52 -0700
>
>On Fri, 24 Sep 1999, Emil Nilimaa wrote:
>
> >#0 do_oasis (ch=0x82e2f70, argument=0xbffff891 "", cmd=205, subcmd=0)
> >   at oasis.c:148
>
>v2.0:
>oasis.c:148  if (d->olc) {
>
>Where:
>           d = ch->desc;
>
>So it will crash if 'ch->desc' is NULL.  It shouldn't be.  'print ch->desc'
>in GDB.


dont know why its null tho...

print ch->desc gives:

$1 = (struct descriptor_data *) 0x0

have no clue why it gets null...

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
     +------------------------------------------------------------+



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