When attempting to copy a room using the 'edit' command that comes with GenOLC, my game crashes. The command syntax follows: edit r5000 c This copies the current room to room 5000. GDB responds with this: 0x80811f6 in add_room (room=0xbffff3f0) at genwld.c:66 61 /* Copy the room over now. */ 62 world[i] = world[i - 1]; 63 64 /* People in this room must have their in_rooms moved up one. */ 65 for (tch = world[i].people; tch; tch = tch->next_in_room) 66 IN_ROOM(tch) += (IN_ROOM(tch) != NOWHERE); 67 68 /* Move objects too. */ 69 for (tobj = world[i].contents; tobj; tobj = tobj->next_content) 70 IN_ROOM(tobj) += (IN_ROOM(tobj) != NOWHERE); (gdb) bt #0 0x80811f6 in add_room (room=0xbffff3f0) at genwld.c:66 #1 0x8081c64 in duplicate_room (dest_vnum=1204, orig=39) at genwld.c:398 #2 0x808018d in do_edit (ch=0x813fa98, argument=0xbffff785 " r1204 c", cmd=333, subcmd=0) at genolc.c:331 #3 0x808936e in command_interpreter (ch=0x813fa98, argument=0xbffff780 "edit r1204 c") at interpreter.c:756 Does anyone have any ideas why this would be happening? I can't think of any reason why it would be crashing on that line. Thanks for reading. Pat -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST