This is a patchset for the Crossfire Server; diff was ran on the last week's CVS. I hope you like it and include it in the following release (I'll leave the Changlog changes to you). Don't worry about that fuzz in the patchset (I had to edit smth in the patch by hand). Descriptions of the patches: 1) logger.diff - added llevFatal to LogLevel enumeration - when LOG(llevFatal, ..., ...) is called, the server dies (not before trying an emergency save, if enabled) - if DIE_ON_MAX_ERRORS is defined, the server dies when MAX_ERRORS is reached (again, not before trying an emergency save, if enabled) 2) settings.diff - now we can modify the behavior of stats rolling, by changing the minimum and maximum sum of stats that can be rolled during character creation, which can be achieved by editing the settings file (min_initial_stats_sum, max_initial_stats_sum). - when the server starts and loads settings, if the settings file is misconfigured, the default behavior is to die by calling LOG(logLevel, ..., ...), where logLevel is llevFatal by default (but can be changed by modifying INIT_LOAD_SETTINGS_LOGLEVEL). - janitorial work 3) sighup_reload_settings.diff - this is highly experimental: the server now behaves differently when it recieves a SIGHUP signal, by reloading the settings file (if there are errors in the settings file, the server does _not_ die; here, logLevel is llevError) I hope my future patches will include both client and server side changes that will allow, if the server administrator permits it, the clients to manually setup their character's stats. Please tell me if you liked this patch. Cheers, Eduard Gabriel Munteanu -------------- next part -------------- A non-text attachment was scrubbed... Name: patches.tar.gz Type: application/gzip Size: 4617 bytes Desc: not available Url : http://shadowknight.real-time.com/pipermail/crossfire/attachments/20041222/6935bd7e/patches.tar.bin -------------- next part -------------- _______________________________________________ crossfire-devel mailing list crossfire-devel at lists.real-time.com https://mailman.real-time.com/mailman/listinfo/crossfire-devel