okay i added the code and now i'm getting a crash. the line it crashes on is obj_proto[i].obj_flags.type_flag = t[0]; it crashes right after it loads the mobs any ideas? In a message dated 2/13/00 7:19:19 PM Pacific Standard Time, caminturn@earthlink.net writes: > 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); > } > 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 | +------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 04/10/01 PDT