[CODING] XAPOBJS Patch: objsave

From: QA Developer (developer@csgmail.artisoft.com)
Date: 05/13/99


After patching in xapobs into bpl15 I receive the following problems in
OBJSAVE  any help would be appreciated

I think the probs are the diff of bpl14 and bpl15.  Since I never used
bpl14 I am not sure of changes to make.

I do appreciate everyone's time and wish to thank you.  I have learned a
lot by reading the FAQ's and this list.
I have quit a bit of ENVY coding experience but am trying to migrate to CIRCLE.

Thanks again.

src\objsave.c(115) : error C2039: 'locate' : is not a member of 'obj_file_elem'
        src\structs.h(595) : see declaration of 'obj_file_elem'
src\objsave.c(115) : error C2065: 'locate' : undeclared identifier
src\objsave.c(953) : error C2065: 'cost_eq' : undeclared identifier

   Here is obj_file_elem:

        struct obj_file_elem {
           obj_vnum item_number;
        #if USE_AUTOEQ
           sh_int location;
        #endif
           int  value[4];
           int /*bitvector_t*/  extra_flags;
           int  weight;
           int  timer;
           long /*bitvector_t*/ bitvector;
           struct obj_affected_type affected[MAX_OBJ_AFFECT];
        };




src\objsave.c(1363) : error C2065: 'MAX_BAG_ROW' : undeclared identifier
          struct obj_data *cont_row[MAX_BAG_ROW];

src\objsave.c(1363) : error C2057: expected constant expression
          struct obj_data *cont_row[MAX_BAG_ROW];

src\objsave.c(1363) : error C2466: cannot allocate an array of constant size 0
          struct obj_data *cont_row[MAX_BAG_ROW];

src\objsave.c(1363) : error C2133: 'cont_row' : unknown size
          struct obj_data *cont_row[MAX_BAG_ROW];

src\objsave.c(1389) : warning C4244: '=' : conversion from 'float ' to 'int
', possible loss of data
            num_of_days = (float) (time(0) - timed) / SECS_PER_REAL_DAY;

src\objsave.c(1464) : warning C4013: 'strcasecmp' undefined; assuming
extern returning int
              if(!strcasecmp("XAP",line)) {  /* then this is a Xap Obj, requires
                                       special care */


     +------------------------------------------------------------+
     | 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