I'd imagine the easiest way to do this is to find the section of fread_char
where it pulls up the objects from the pfiles, and then check the vnum of
the object and set all the values based on the ObjectIndex instead of the
values from the pfile.  Though, you should note that doing it this way will
make restrings, enchantments, and other modifications to equipment disappear
entirely whenever someone quits out (though the item itself will remain).

You could code it up so it saves the changes, but that involves more work
and thinking it through to make sure you only modify the values you wish to
change.  For example, you may only pull the value data, and not the short
description, long description, or affect data from the index.

Unless I completely misunderstood what you were asking for...

----- Original Message -----
From: "James Bruce" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Monday, December 17, 2001 9:13 AM
Subject: Object Updating Upon Player Load


> I want to be able for all objects in or on a player to be updated when
> they logon so I am wondering has anyone do it or have any idea if so can
> you herlp me out
>
> [EMAIL PROTECTED]
> SDF Public Access UNIX System - http://sdf.lonestar.org
>
>
> --
> ROM mailing list
> [email protected]
> http://www.rom.org/cgi-bin/mailman/listinfo/rom


Reply via email to