--- deliantra/server/include/config.h 2006/12/31 10:28:36 1.32 +++ deliantra/server/include/config.h 2007/02/16 21:38:18 1.40 @@ -1,25 +1,26 @@ /* - CrossFire, A Multiplayer game for X-windows - - Copyright (C) 2002 Mark Wedel & Crossfire Development Team - Copyright (C) 1992 Frank Tore Johansen - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - - The authors can be reached via e-mail at crossfire@schmorp.de -*/ + * CrossFire, A Multiplayer game for X-windows + * + * Copyright (C) 2005, 2006, 2007 Marc Lehmann & Crossfire+ Development Team + * Copyright (C) 2002 Mark Wedel & Crossfire Development Team + * Copyright (C) 1992 Frank Tore Johansen + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + * + * The authors can be reached via e-mail at crossfire@schmorp.de + */ /* This file contains various #defines that select various options. * Some may not be desirable, and some just may not work. @@ -422,7 +423,6 @@ #define HIGHSCORE_LENGTH 1000 /* How many entries there are room for */ -#define ARCHTABLE 16384 /* Arch hashtable size */ #define MAXSTRING 20 #define COMMAND_HASH_SIZE 107 /* If you change this, delete all characters :) */ @@ -449,7 +449,7 @@ */ #ifndef PLAYERDIR -#define PLAYERDIR "players" +# define PLAYERDIR "players" #endif /* @@ -467,24 +467,6 @@ #define SAVE_MODE 0660 #define SAVE_DIR_MODE 0770 -/* NOTE ON SAVE_INTERVAL and AUTOSAVE: Only one of these two really - * needs to be selected. You can set both, and things will work fine, - * however, it just means that a lot more saving will be done, which - * can slow things down some. - */ - -/* How often (in seconds) the player is saved if he drops things. If it is - * set to 0, the player will be saved for every item he drops. Otherwise, - * if the player drops and item, and the last time he was saved - * due to item drop is longer - * the SAVE_INTERVAL seconds, he is then saved. Depending on your playing - * environment, you may want to set this to a higher value, so that - * you are not spending too much time saving the characters. - * This option should now work (Crossfire 0.90.5) - */ - -//#define SAVE_INTERVAL 60 - /* * AUTOSAVE saves the player every AUTOSAVE ticks. A value of * 5000 with MAX_TIME set at 120,000 means that the player will be @@ -517,3 +499,8 @@ #define RESET_LOCATION_TIME 3600 +/* + * The message to send to clients when the server calls cleanup (on crash, shutdown, restart and so on). + */ +#define CLEANUP_MESSAGE "The server will likely restart within the minute. Our apologies." +