Re: [SKILL] Hide/Hidden...bizzare!

From: Tony Robbins [Kupek] (tonyr@NWPACLINK.COM)
Date: 09/23/98


If you're asking how to make it save through OLC, and I just woke up so I
think you are, here's what you need to do.

Open up the appropriate *edit.c file.  * = o in this case.
Go to the oedit_save_to_disk() function.
Look at how e-descs are saved, then make a similar system for your new
setup.

I've done this quite a few times and so if you have any questions, mail
me.  If you can't figure it out, I've actually used this same code (I
think), so I can toss out a snippet.

-B.

[-------------------------------------------]
  Tony Robbins, <tonyr@nwpaclink.com>
  LakeView Technologies, Inc.
[-------------------------------------------]

On Wed, 23 Sep 1998, Julian Buckley wrote:

> Ahhh...fixed it...had a few problems with my AFF_X flags, and a few clicks
> of the mouse and my mortals are hiding again =)  Thanks for the help,
> especially the pointers on the invis objects.
>
> Just one thing...if I change the values in the zone files
> (obj/wld/whatever), for example, add a new field, like 'C' etc, which files
> do I need to update in order to save it with Oasis?  Because atm it's just
> writing over it...
>
> File being (I believe): Structs.h, Db.c, Handler.c, objsave.c???
>
>
> For example:
> ***SNIP***     Taken directly from objaff.txt [CircleFTP, no Author listed]
>        case 'C':
>       get_line(obj_f, line);
>       sscanf(line, "%d ", t);
>       obj_proto[i].obj_flags.bitvector = obj_proto[i].obj_flags.bitvector |
> t[0];
>       break;
>
>
> How do I reference this in structs.h for starters?
>
> Similar to something like:  (Snipped from structs.h)
>    struct obj_affected_type affected[MAX_OBJ_AFFECT];  /* affects */
>
>
> Ack! :)
>
> -Caniffe
>
>
>      +------------------------------------------------------------+
>      | Ensure that you have read the CircleMUD Mailing List FAQ:  |
>      | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
>      +------------------------------------------------------------+
>


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



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