Date: 10/15/96

well, i fixed up that _randomjunk error, but now i have an interesting
problem in that all of my items always have an item type of UNDEFINED
no matter what.
i did [try to] tinker with db.c, so as to be able to read in an
(optional) extra value on the first numeric line:

char f3[256] = "E" /* default value for the the new optional value */
if (!get_line(obj_f, line) ||
    (((retval = sscanf(line, " %d %s %s %s", t, f1, f2, f3)) > 4) ||
     (retval < 3))) {
  fprintf(stderr, "Format error in first numeric line (expecting 3 or 4 args, got %d), %s\n", retval, buf2);
obj_proto[i].obj_flags.type_flag = t[0];
obj_proto[i].obj_flags.extra_flag = asciiflag_conv(f1);
obj_proto[i].obj_flags.wear_flag = asciiflag_conv(f2);
obj_proto[i].obj_flags.material_flag = asciiflag_conv(f3);


this is the only thing i have tinkered with in db.c.

| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   |

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