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 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 "python/events/login" subdirectory of the maps > directory. > > Note that I did *not* check whether there were maps with customized spells > modifying those values. IMO there shouldn't be, but you can never be sure > :) > > > Disclaimer: this script shouldn't mess with players, but since we never > know make sure you got backups :) > > Nicolas
fix_spells_1569017.py
Description: application/python
_______________________________________________ crossfire mailing list [email protected] http://mailman.metalforge.org/mailman/listinfo/crossfire

