Re: [Circle] Re: objects in location: unknown location

From: Chi Hoai Tran (necro@progsoc.uts.edu.au)
Date: 08/12/96


   In regards to finding objects in unknown location, this is due to
you guys using this particular function :-
   read_object(VNUM);
  Whenever you use this function, you must then decide what to do with
the object.  For example :-

  struct obj_data *obj;
  obj = read_object(3032);
  obj_to_char(obj, ch);

  If you guys forget to assign the object to a char, room, or another
object, then you will receive those nasty messages.
  Either that, or you can get rid of the object by using
  extract_obj(obj);

  And a note, do not use read_object to check if the object exists..
just use real_object for your if statements.

   Cheers,  Horus.
   Dark Realms, -->  ftoomsh.socs.uts.edu.au 5000


+-----------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
|   http://cspo.queensu.ca/~fletcher/Circle/list_faq.html   |
+-----------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/07/00 PST