ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/deliantra/server/include/config.h
(Generate patch)

Comparing deliantra/server/include/config.h (file contents):
Revision 1.3 by root, Thu Feb 9 02:11:26 2006 UTC vs.
Revision 1.6 by root, Tue Mar 7 13:59:57 2006 UTC

1/* 1/*
2 * static char *rcsid_config_h = 2 * static char *rcsid_config_h =
3 * "$Id: config.h,v 1.3 2006/02/09 02:11:26 root Exp $"; 3 * "$Id: config.h,v 1.6 2006/03/07 13:59:57 root Exp $";
4 */ 4 */
5 5
6/* 6/*
7 CrossFire, A Multiplayer game for X-windows 7 CrossFire, A Multiplayer game for X-windows
8 8
77 * 77 *
78 ***********************************************************************/ 78 ***********************************************************************/
79 79
80/* Use a very easy, non-challenging server? 80/* Use a very easy, non-challenging server?
81 * Defining the COZY_SERVER will make the server much less challenging: 81 * Defining the COZY_SERVER will make the server much less challenging:
82 * no stats loss on death, much less experience loss. 82 * no stats loss on death, much less experience loss, and party members
83 * are treated by pet monsters as the owner itself when moving "through" them.
83 */ 84 */
84#define COZY_SERVER 1 85#define COZY_SERVER 1
85 86
86/* Use balanced stat loss code? 87/* Use balanced stat loss code?
87 * This code is a little more merciful with repeated stat loss at lower 88 * This code is a little more merciful with repeated stat loss at lower
652 * thus requiring that the server be setuid/setgid, and more generous 653 * thus requiring that the server be setuid/setgid, and more generous
653 * permisisons needed. 654 * permisisons needed.
654 * SAVE_MODE is permissions for the files, SAVE_DIR_MODE is permission 655 * SAVE_MODE is permissions for the files, SAVE_DIR_MODE is permission
655 * for nay directories created. 656 * for nay directories created.
656 */ 657 */
658/* IMPORTANT: there is a race during saving, where the umask is being applied */
657#define SAVE_MODE 0660 659#define SAVE_MODE 0660
658#define SAVE_DIR_MODE 0770 660#define SAVE_DIR_MODE 0770
659 661
660/* NOTE ON SAVE_INTERVAL and AUTOSAVE: Only one of these two really 662/* NOTE ON SAVE_INTERVAL and AUTOSAVE: Only one of these two really
661 * needs to be selected. You can set both, and things will work fine, 663 * needs to be selected. You can set both, and things will work fine,
671 * environment, you may want to set this to a higher value, so that 673 * environment, you may want to set this to a higher value, so that
672 * you are not spending too much time saving the characters. 674 * you are not spending too much time saving the characters.
673 * This option should now work (Crossfire 0.90.5) 675 * This option should now work (Crossfire 0.90.5)
674 */ 676 */
675 677
676#define SAVE_INTERVAL 60 678//#define SAVE_INTERVAL 60
677 679
678/* 680/*
679 * AUTOSAVE saves the player every AUTOSAVE ticks. A value of 681 * AUTOSAVE saves the player every AUTOSAVE ticks. A value of
680 * 5000 with MAX_TIME set at 120,000 means that the player will be 682 * 5000 with MAX_TIME set at 120,000 means that the player will be
681 * saved every 10 minutes. Some effort should probably be made to 683 * saved every 10 minutes. Some effort should probably be made to

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines