Re: OLC medit problem .

From: Dan Argent (mbax7dja@FS1.CS.MAN.AC.UK)
Date: 03/06/98


> > Program received signal SIGSEGV, Segmentation fault.
> >do_olc (ch=0x81acc10, argument=0xbffff7f1 " save 25", cmd=168,
> >subcmd=1)    at olc.c:181
> >-------------------------------------------------------------------
> >--
> >
> >  * Check that whatever it is isn't already being edited.
> >   */
> >  for (d = descriptor_list; d; d = d->next)
> >    if (d->connected == olc_scmd_info[subcmd].con_type)
> > if ((number != NOTHING) && d->olc && OLC_NUM(d) == number)
> >       {
> >        if (subcmd == SCMD_OLC_AEDIT)
> >          sprintf(buf, "Actions are already being editted by
> >          %s.\r\n",
> >                  (CAN_SEE(ch, d->character) ?
> >                  GET_NAME(d->character) : "someone
> >"));
> >return;
> >}
> >if (d->olc && OLC_NUM(d) == number) {
> >        sprintf(buf, "That %s is currently being edited by
> >        %s.\r\n",
> >                olc_scmd_info[subcmd].text,
> >                GET_NAME(d->character));
> >        send_to_char(buf, ch);
> >        return;
> >      }
> >  d = ch->desc;
>
> So which line is 181?


sorry.
line 181 (it's 182 now) is :

Program received signal SIGSEGV, Segmentation fault.
do_olc (ch=0x81ac698, argument=0xbffff7f1 " save 25", cmd=168,
subcmd=1)
    at olc.c:182
182     if (d->olc && OLC_NUM(d) == number) {


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



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