> >>>>> "Taz" == Taz <----> writes: > > Taz> Hi, Im still trying to code a special proc that opens an exit > Taz> when a character drops a certain item in a room flagged as special_roo m > Taz> or whatever. > > Your code frag makes me rather think you wanted to teleport a player on > dropping that item than to open an exit. ;-) > > Taz> ... > Taz> int location = 8001; > Taz> ... > Taz> char_to_room(ch, location); <------- bombs here! char_to_room takes an RNUM, not a VNUM. You must do something like char_to_room(ch, real_room(location)); Preferably some form that checks real_room is not NOWHERE before using it.
This archive was generated by hypermail 2b30 : 12/07/00 PST