Can u see whats wrong whit this string of text??? It seems to crash the whole circle.exe after i complied it whit Visual c++ 6.0 { int other_room = 0; struct room_direction_data *back = 0; sprintf(buf, "$n %ss ", cmd_door[scmd]); if (!obj && ((other_room = EXIT(ch, door)->to_room) != NOWHERE)) if ((back = world[other_room].dir_option[rev_dir[door]]) != NULL) if (back->to_room != ch->in_room) back = 0; switch (scmd) { case SCMD_OPEN: case SCMD_CLOSE: OPEN_DOOR(ch->in_room, obj, door); if (back) OPEN_DOOR(other_room, obj, rev_dir[door]); send_to_char(OK, ch); break; case SCMD_UNLOCK: case SCMD_LOCK: LOCK_DOOR(ch->in_room, obj, door); if (back) LOCK_DOOR(other_room, obj, rev_dir[door]); send_to_char("*Click*\r\n", ch); break; case SCMD_PICK: LOCK_DOOR(ch->in_room, obj, door); if (back) LOCK_DOOR(other_room, obj, rev_dir[door]); send_to_char("The lock quickly yields to your skills.\r\n", ch); strcpy(buf, "$n skillfully picks the lock on "); break; } Get Your Private, Free Email at http://www.hotmail.com +------------------------------------------------------------+ | 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 : 12/15/00 PST