Re: [crossfire] Player file corruption

2006-12-26 Thread Nicolas Weeger (Laposte)
Hello. Attached is a Python script that will reset spell's last_eat / last_gr / last_sp for players when they connect. Value is archetype's one. Logfile is created, named fix_spells_1569017.log, in datafiles directory. Also avoids resetting 2 times. Just put the .py file in the

Re: [crossfire] Player file corruption

2006-12-26 Thread Nicolas Weeger (Laposte)
I just changed Archetype.Clone from a method to a property (for coherence), so attached is an updated script that'll work if you updated your server before running it :) Nicolas Le Mardi 26 Décembre 2006 18:35, Nicolas Weeger (Laposte) a écrit : Hello. Attached is a Python script that will

Re: [crossfire] Code Doxygenification

2006-12-26 Thread Mark Wedel
I think that the proposed changes are fine. Updating the functions as they are changed or other nearby functions are changed works, but the end result is that it means it can take a very long time for all the functions to be documented. And if the goal/hope is to have some coherent

Re: [crossfire] Code Doxygenification

2006-12-26 Thread Alex Schultz
Mark Wedel wrote: OTOH, doing this cleanup or indentation fixes is something that can be done in small doses. I know that for myself, if I only have 30 minutes to spend, I may not going on a coding project, knowing I will be unable to finish it in that time. However, I could