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.16 by pippijn, Fri Apr 28 13:56:26 2006 UTC vs.
Revision 1.17 by root, Wed May 31 23:30:56 2006 UTC

1/* 1/*
2 * static char *rcsid_config_h = 2 * static char *rcsid_config_h =
3 * "$Id: config.h,v 1.16 2006/04/28 13:56:26 pippijn Exp $"; 3 * "$Id: config.h,v 1.17 2006/05/31 23:30:56 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
413 * velow. If MINTIMEOUT > MAXTIMEOUT, MAXTIMEOUT will be used for all 413 * velow. If MINTIMEOUT > MAXTIMEOUT, MAXTIMEOUT will be used for all
414 * maps. 414 * maps.
415 */ 415 */
416 416
417/* How many ticks till maps are swapped out */ 417/* How many ticks till maps are swapped out */
418#define MAP_MAXTIMEOUT 1000 418#define MAP_MAXTIMEOUT 500
419/* At least that many ticks before swapout */ 419/* At least that many ticks before swapout */
420#define MAP_MINTIMEOUT 500 420#define MAP_MINTIMEOUT 300
421 421
422/* 422/*
423 * MAP_MAXRESET is the maximum time a map can have before being reset. It 423 * MAP_MAXRESET is the maximum time a map can have before being reset. It
424 * will override the time value set in the map, if that time is longer than 424 * will override the time value set in the map, if that time is longer than
425 * MAP_MAXRESET. This value is in seconds. If you are low on space on the 425 * MAP_MAXRESET. This value is in seconds. If you are low on space on the
606#define HIGHSCORE "highscore" 606#define HIGHSCORE "highscore"
607#define TREASURES "treasures" 607#define TREASURES "treasures"
608#define BANISHFILE "banish_file" 608#define BANISHFILE "banish_file"
609 609
610#define MAX_ERRORS 25 /* Bail out if more are received during tick */ 610#define MAX_ERRORS 25 /* Bail out if more are received during tick */
611#define STARTMAX 500 /* How big array of objects to start with */ 611#define STARTMAX 4000 /* How big array of objects to start with */
612#define OBJ_EXPAND 100 /* How big steps to use when expanding array */ 612#define OBJ_EXPAND 500 /* How big steps to use when expanding array */
613 613
614#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ 614#define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */
615 615
616#define ARCHTABLE 16384 /* Arch hashtable size */ 616#define ARCHTABLE 16384 /* Arch hashtable size */
617#define MAXSTRING 20 617#define MAXSTRING 20
685 * may not be large enough to save all of them.) As it is now, it will 685 * may not be large enough to save all of them.) As it is now, it will
686 * just set the base tick of when they log on, which should keep the 686 * just set the base tick of when they log on, which should keep the
687 * saves pretty well spread out (in a fairly random fashion.) 687 * saves pretty well spread out (in a fairly random fashion.)
688 */ 688 */
689 689
690#define AUTOSAVE 500 690#define AUTOSAVE 1000
691 691
692/* Often, emergency save fails because the memory corruption that caused 692/* Often, emergency save fails because the memory corruption that caused
693 * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE 693 * the crash has trashed the characters too. Define NO_EMERGENCY_SAVE
694 * to disable emergency saves. This actually does 694 * to disable emergency saves. This actually does
695 * prevent emergency saves now (Version 0.90.5). 695 * prevent emergency saves now (Version 0.90.5).

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines