Re: OLC 1.6/Medit/OLC problem

From: George (greerga@CIRCLEMUD.ORG)
Date: 03/05/98


On Thu, 5 Mar 1998, Dan Argent wrote:

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

--
George Greer  -  Me@Null.net   | Genius may have its limitations, but stupidity
http://www.van.ml.org/~greerga | is not thus handicapped. -- Elbert Hubbard


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