Re: [crossfire] Curse bug

2006-12-02 Thread Nicolas Weeger (Laposte)
Reading fix_object (former fix_player), it seems to be there's a big mess waiting to happen (or already happened?) :) Basically, fix_object resets many many things, including all special flags (see in dark, stealth, ...), resistances, ... This means all those custom values will simply disappear

Re: [crossfire] Player file corruption

2006-12-02 Thread Nicolas Weeger (Laposte)
Fixing code should be easy, but fixing players will probably require a script to strip the last_grace/last_sp/last_eat fields from players's spells. Another messy option is to reset at loading fields, but i'm not that eager to do that, as it's a ponctual fix... Ok, fixed the code by adding a

Re: [crossfire] Curse bug

2006-12-02 Thread Mark Wedel
Nicolas Weeger (Laposte) wrote: Reading fix_object (former fix_player), it seems to be there's a big mess waiting to happen (or already happened?) :) Basically, fix_object resets many many things, including all special flags (see in dark, stealth, ...), resistances, ... This means all