Re: QP System

From: Ron Hensley (ronh@intercom.net)
Date: 02/13/00


Could try a little old fashion debugging, add a printf to print to the
console when you manually fire up circle, what its just read in. Might give
you a clue as to what's being read in when it crashes.


> > if ((retval = sscanf(line, " %d %s %s %d", t, f1, f2, t+1)) < 3) {
> >      log("SYSERR: Format error in first numeric line (expecting 3 or 4
> >  args, got %d), %s", retval, buf2);
> >      exit(1);
> >    }
  fprintf(stderr,"line is [%s], t[0] is [%d], t[1] is [%d]\n", line, t[0],
t[1]);
> >    obj_proto[i].obj_flags.type_flag = t[0];
> >    obj_proto[i].obj_flags.extra_flags = asciiflag_conv(f1);
> >    obj_proto[i].obj_flags.wear_flags = asciiflag_conv(f2);
> >    obj_proto[i].obj_flags.level = (retval > 3 ? t[1] : 0);
>
>
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
>           5th Dimention -- 5d.dynip.com:4000   http://5d.dynip.com/5d
>
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--=-=-=-=-=-=-=-=-
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      |  http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html  |
>      +------------------------------------------------------------+
>


     +------------------------------------------------------------+
     | 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 : 04/10/01 PDT