Re: [CODE] A scribe skill Dimension Staff" at Jun 29, 98 03:12:13 pm

From: Edoardo Spelta (espelta@GOEMON.POLITO.IT)
Date: 06/29/98


>
> On Mon, 29 Jun 1998 13:23:17 -0500, Cheryl Drago <creed@EXIT1.I-55.COM> wrote:
>
> >
> >Also, I was wondering if, instead of giving scrolls a number of -1 and them
> >not saving, if I could just create a blank scroll, then when a player
> >scribes something, modify the level of the spell, the spell number, and the
> >name of the scroll, but leave it's vnum.  Would that change every other
> >scroll with the same vnum?
> >
>
> The strings of all the copies of the blank scroll would be changed.  If say I
> cast 'scribe' and create a scroll with fireball at level 10, then my scroll
> would cast fireball at level 10.  Nobody elses scroll would cast fireball at
> level 10.  That is, if your code is done right.  However, everybody's scroll
> would be "a scroll of fireball".  This is due to the object prototypes and that
> the strings aren't currently saved in the rentfiles.

So, if this is true it's not possible to implement a 'restring' command,
to change names of object and 'personalize' them, unless you add
a char *string field in obj_file_elem, isn't it ?
I'm saying this, because if i use the string command in Circle 2.2
to change an object name, it seems to screw up also every other object qith
the same vnum..


>
> I'm working on something very similar to this where the players could create an
> object and modify their own copy, but nobody elses.
>
> Somebody should probably get in touch with Sammy, see how the ascii files
> project is coming along... :) --- Read section below for more bug reports.
>
> [ Yet more on ascii-pfiles 2.0b ]
>
> Used to be my plr_index would save correctly.  However, recently it just saves
> to plr_index.tmp and will absolutely not update plr_index.  The file buffer
> system is screwing up somehow, and I have not changed it one iota ... well,
> except changing "_fileno" to "_file", but that was before it messed up saving
> the index.  The plrfiles still save fine.
>
> Does anyone know what's happening?  Please help me!
>
>
>      +------------------------------------------------------------+
>      | 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