This is really starting to bug me now... Ok I added the else but, it is still giving be the error message (Signal 11) This is my current code for it: ACMD(do_link) { int r_mortal_link_room = 11100; if (IS_NPC(ch)) { send_to_char("Monsters can't go to link!!\r\n", ch); return; } if (GET_LEVEL(ch) <= 61) { send_to_char("Poof!! You enter the social area.\r\n", ch); act("$n goes to link.", TRUE, ch, 0, 0, TO_ROOM); char_from_room(ch); char_to_room(ch, r_mortal_link_room); act("$n appears out of nowhere.", TRUE, ch, 0, 0, TO_ROOM); look_at_room(ch, 0); return; } else { send_to_char("Use goto you lazy b@$tard!\r\n", ch); return; } } This is the error message from syslog: Dec 6 15:57:19 :: SYSERR: Illegal value(s) passed to char_to_room. (Room: 3001/2165 Ch: 0xc86d200 Dec 6 15:57:19 :: SYSERR: no valid target to act()! 0 [main] circle 4125813 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION 17922 [main] circle 4125813 stackdump: Dumping stack trace to CIRCLE.EXE.stackdump Thanks -- Endon -- +---------------------------------------------------------------+ | 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 : 04/11/01 PDT