Re: Error Help, Please ;)

From: Shaw J (meadsh@ece.orst.edu)
Date: 02/13/97


Dalamar wrote:
> 
> > >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
> > CIRCLE caused an invalid page fault in
> > module CIRCLE.EXE at 0137:004049ef.
> > Registers:
> > blah...blah...blah.....
> 
> I'm assuming this is under Win95.  The times I've gotten page faults have
> been drivers problems (pretty much the way any and all Win95 errors occur)
> What changes did you make?
> 
> -Dalamar

>From what I remember all I did was add two lines to comm.h and then
remove them, this is what I added:

    if (*tmp == '!')
      strcpy(tmp, t->last_input);
    else if (*tmp == '^') {
      if (!(failed_subst = perform_subst(t, t->last_input, tmp)))
        strcpy(t->last_input, tmp);
    } else
      strcpy(t->last_input, tmp);

    if (!failed_subst)
      write_to_q(tmp, &t->input, 0);

->  sprintf(buf, "%s:%s", GET_NAME(t->character), tmp);
->  log(buf);

    /* find the end of this line */
    while (ISNEWL(*nl_pos))
      nl_pos++;

Those two lines (with the ->)

Thats all I can remember... what dirvers could be affecting this?

Thanks for helping!
Shaw
+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
|    Or send 'info circle' to majordomo@cspo.queensu.ca     |
+-----------------------------------------------------------+



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