[crossfire] Player file corruption

Nicolas Weeger (Laposte) nicolas.weeger at laposte.net
Sun Oct 22 12:11:14 CDT 2006


Hello.

I'm tracking the bug 
https://sourceforge.net/tracker/index.php?func=detail&aid=1569017&group_id=13833&atid=113833 

It's due to spell's last_sp/last_grace/last_eat being used in socket code for 
client-side spell list updating. Unfortunately last_grace is used in healing 
spell code to denote grace regeneration, so it's messy.

Ragnor pointed on IRC that this means player files are now corrupted, at least 
their healing spells (any spell having the heal type).

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

Opinions?


Nicolas



More information about the crossfire mailing list