/**************************************************************************** ** PDIRT CONFIGURATION FILE ** ** Ver 1.1 - 1996 ** This is the main configuration file for the pDirt AberMUD IV system ** Here you set your default port, master user and some options on how the ** Mud shall run. ****************************************************************************/ #ifndef _CONFIG_H_ #define _CONFIG_H_ /*************************************************************************** ** Master configuration. ** Replace the name in MASTERUSER with your name, so your name is seen as ** the name of the Master User ** The unveil password is to allow other people to have God privileges. ** Change it to something only you and your fellow powers know. **************************************************************************/ #define MASTERUSER "You" /* Who owns the mud */ #define UNVEILPASSWD "me" /* Full privilige password */ /*************************************************************************** ** The name of the mud ** Change this to the name of your mud. The color one is not used very ** often, but its here to give it a "global" touch. ***************************************************************************/ #define MUDNAME "Nameless" /* Non color Name */ #define COL_MUDNAME "&+WNameless" /* Colored name */ #define DEFAULT_PROMPT "> " /* Default prompt */ /**************************************************************************** ** System definitions ** Some definitions that will determine how your system works. See comments ** after or above the line to see what its purpose is. ****************************************************************************/ #define PORT 6715 /* The port it will hook on */ #define MAX_USERS 25 /* Maximum amount of players */ /* System can hold up to 35 players */ /* Or so I'm told. It depends on the * file descriptors you machine can * hold per process and the cpu * (slow cpu + mucho users = lag) */ /***************************************************************************** ** These defines, determine the maximum array size of the mobiles, locations ** and object array (this includes both zone entries and cloned objects ) ****************************************************************************/ #define GLOBAL_MAX_MOBS 2000 /* Maximum amount of mobiles */ #define GLOBAL_MAX_LOCS 5000 /* Maximum amount of locations */ #define GLOBAL_MAX_OBJS 3000 /* Maximum amount of objects */ /***************************************************************************** ** Below is a the mud configuration ** Some standard things you might wish to activate or deactivate. The system ** as it is configured now is about the basic Aber system, with the special ** Wasteland Distribution code sections activated. *****************************************************************************/ #define REBOOT /* Rebootcom available or not ? */ #define P_LAST_LOGIN /* Show last login at login */ #define TCP_ANNOUNCE /* announce tcp connections */ #define FIND_SECOND /* Do a new lookup if first command * couldn't be executed for current * player. */ #define GROUP /* Use party grouping */ #undef ALLOW_PL_STEAL /* Allow stealing from other players, */ /* Even in normal (not tourny) mode */ #define RESET_TIME 45*60 /* 45 mins before reset stone can be */ /* pushed again. (Stone in Shady) */ #define RESET_IDLE 10*60 /* Maximum idle time for reset stone */ #define MAX_IDLE 45*60 /* Maximum Idle time. */ #define LINES 24 /* Default pager size */ #undef TWOCOLUMNS /* Use 3 columns qdone command */ #define SAFE_USERFILE /* Use safe database accesses, slows access a little, but it will keep your database in shape. */ #define LEAVE_CORPSES /* Dead mobiles leave corpses */ #define UAF_BACKUP /* Automated backup of user_data file*/ #undef INTERMUD /* InterMud */ #undef ABERCHAT /* Aberchat */ #define KEEP_LINKDEAD 6 * 60 #define CHECK_IDLE /* Do Idle checking? (VERY Experimental)*/ /****************************************************************************** ** What to log in the syslog ** Note: NI means code has dissapeared somehow, so it is Not Implemented ** anymore. ******************************************************************************/ #define LOG_RESURRECT /* Resurrection of mobiles */ #undef LOG_STORE /* Online creation utility */ #undef LOG_LOAD /* see LOG_STORE */ #undef LOG_CLONE /* see LOG_STORE */ #define LOG_ALIAS /* Alias a player/mobile logging? */ #define LOG_TOUT /* Log Timeout? */ #undef LOG_STEAL /* Log stealing of objects */ #define LOG_SNOOP /* Log snooping? */ #define LOG_HEAL /* Log personalised heals & healalls?*/ #define LOG_ZAP /* Log player & mobile zaps? */ #undef LOG_SLAIN /* Log player Slain messages */ #define LOG_EXORCISE /* Log player/mobile exorcises? */ #define LOG_RESET /* Log resets? */ #undef LOG_WAR /* Log war/peace commands? */ #define LOG_SET /* Log data modifications? */ #undef LOG_PAGEERROR /* Log pager errors */ #define LOG_EVENTS /* Log (de)activation of events */ #undef LOG_CHOURS /* Log Closing hours of the MUD */ #define LOG_BAN /* Log user/host bans */ #undef LOG_HOSTERR /* Log host-lookup errors */ #define LOG_PK /* Log player killing (PK) */ #define LOG_BECOME /* Log when player becomes someone else */ #undef LOG_HEALALL #undef LOG_INTERMUD #undef LOG_DEFROB /*##########################################################################* *# END USER CONFIGURATION *# You won't need to change anything below this line, unless you turn into *# a professional pdirt user. *##########################################################################*/ #define DYRT /* We use Dyrt based code, no change */ /*############################################################################# *# NEED_RANDOM is needed for machines without a random() function. If you need *# this is in the machine configuration (see machines.h and the appropriate *# file in the include/machine/ dir *############################################################################*/ #ifdef NEED_RANDOM #define SYS_NO_RANDOM #endif /*############################################################################* *# Some systems, like linux have problems with varargs.. Again it is in the *# machine configuration file. *############################################################################*/ #ifdef NO_VARARGS #undef VARGS #else #define VARGS #endif /****************************************************************************** ** End of the Configuration file ** Check the Makefile to see if the right machine is configured. ******************************************************************************/ #endif /* Do not enter anything below this line !*/