PennMUSH Community

Changeset 459

Show
Ignore:
Timestamp:
08/16/06 01:02:54 (2 years ago)
Author:
pennmush
Message:

PennMUSH 1.7.7p30 Archival

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.7.7/CHANGES.177

    r457 r459  
    1818 
    1919========================================================================== 
     20 
     21Version 1.7.7 patchlevel 30                     May 6, 2004 
     22 
     23Major changes: 
     24  * CHAT_SYSTEM option removed. If you don't want to use the chat system, 
     25    use restrict.cnf to disable @channel, @chat, etc. 
     26  * USE_MAILER and MAIL_ALIAS options removed. If you don't want to  
     27    use the @mail or @malias systems, use restrict.cnf to disable 
     28    the associated commands. 
     29  * QUOTA, EMPTY_ATTRS, and FUNCTION_SIDE_EFFECTS options are now  
     30    runtime options, instead of compile-time. 
     31  * SINGLE_LOGFILE option removed, and log filenames are now  
     32    runtime options. You may now give the same name to 
     33    multiple log files and get a more fine-grained version of the 
     34    same effect. Based on ideas by Vadiv@M*U*S*H. 
     35Minor changes: 
     36  * New IP^ and HOSTNAME^ tests for boolexps. Suggested by Luke@M*U*S*H. 
     37  * ALLOW_NOSUBJECT option removed. We always use the beginning of the 
     38    message as the subject if one is not provided. 
     39  * JURY_OK and UNINSPECTED_FLAG options removed. Use @flag to add 
     40    flags if you need them. ONLINE_REG and VACATION_FLAG options 
     41    removed (default to always defined, add or remove with @flag as 
     42    desired). 
     43  * MEM_CHECK option removed from options.h; it is now a runtime 
     44    option in mush.cnf. 
     45  * @function/restrict can be applied to softcoded @functions, and 
     46    @function/add can accept a list of restrictions as a fifth argument. 
     47    Patch by Luke@M*U*S*H. 
     48  * log_walls run-time configuration option removed. Use the 
     49    logargs option in restrict.cnf instead. 
     50Fixes: 
     51  * Crash bug in anonymous attributes fixed. Report by Intrevis@M*U*S*H. 
     52  * lplayers() was broken. Report by T'orA@M*U*S*H. 
     53  * Failing to create a player by providing a bad password now gives 
     54    a better error. Suggested by [NJG]. 
     55  * Setting/clearing a chan title on a notitles channel works, but 
     56    reminds you that titles are off. Suggested by Dan@InNomine. 
     57  * haspower_restricted removed from mushcnf.dst to stop spurious 
     58    warning on startup. Report by Nymeria@M*U*S*H. 
     59 
    2060 
    2161Version 1.7.7 patchlevel 29                     April 28, 2004 
  • 1.7.7/I18N

    r399 r459  
    2929 
    3030Files with translated messages are located at 
    31 http://ftp.pennmush.org/Source/translations/. Get the one for your 
     31http://download.pennmush.org/Source/translations/. Get the one for your 
    3232patchlevel and language, put it in your pennmush/po/ directory. 
    3333 
  • 1.7.7/MANIFEST

    r457 r459  
    3434hdrs/malias.h 
    3535hdrs/match.h 
    36 hdrs/memcheck.h 
    3736hdrs/mushdb.h 
    3837hdrs/mushtype.h 
  • 1.7.7/Patchlevel

    r457 r459  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.7.7p29 
     2This is PennMUSH 1.7.7p30 
  • 1.7.7/game/aliascnf.dst

    r457 r459  
    1616#reserve_alias u 
    1717#reserve_alias d 
     18 
     19# We add a dummy here to make updating easier 
     20reserve_alias dummy_exit_alias 
    1821 
    1922# You can also alias commands to other names. 
  • 1.7.7/game/mushcnf.dst

    r457 r459  
    375375# actual maximum length you want. 
    376376player_name_len 16 
     377 
     378# Limit the number of objects players can own. 
     379use_quota yes 
    377380 
    378381### 
     
    465468### Logging 
    466469### 
     470### When selecting log files, you may assign multiple logs to the 
     471### same filename. If you don't assign a filename to a log, 
     472### messages are written on stderr instead (usually redirected to 
     473### log/netmush.log). Probably unwise to change these in a running 
     474### MUSH. 
     475### 
     476 
     477# Filename to log connections to 
     478connect_log log/connect.log 
     479 
     480# Filename to log wizard commands to 
     481wizard_log log/wizard.log 
     482 
     483# Filename to log dump checkpoint messages to 
     484checkpt_log log/checkpt.log 
     485 
     486# Filename to log debugging trace messages to 
     487trace_log log/trace.log 
     488 
     489# Filename to log commands by SUSPECT players to 
     490command_log log/command.log 
    467491 
    468492# log all commands. Makes big, big command.log files. Use only for 
     
    476500log_forces yes 
    477501 
    478 # log wizwalls 
    479 log_walls no 
     502# perform memory allocation tracking (logged on @dump) to help find 
     503# memory leaks. This really shouldn't be changed while the server 
     504# is running - it's only useful if you do a full shutdown, turn 
     505# this on, and then start up. Generally, you want this off. 
     506mem_check no 
    480507 
    481508### 
     
    518545# or @command/disable. 
    519546 
    520 # restrict haspower() to see_all players? 
    521 haspower_restricted no 
    522  
    523547# prevent objects from evaluating ufuns on more privileged objects. [++] 
    524548safer_ufun yes 
     549 
     550# allow functions that have side effects? (e.g. dig(), etc.) 
     551function_side_effects yes 
    525552 
    526553# default whisper to whisper/noisy instead of whisper/silent 
     
    561588# should say/pose by a DARK wizard be anonymous ('Someone says...')? 
    562589full_invis no 
     590 
     591# Are empty attributes preserved? If this is yes, you can do 
     592# &ATTR obj= and obj will have an attribute ATTR set, with an empty value. 
     593# If this is no, that same command would clear the attribute instead. 
     594empty_attrs yes 
    563595 
    564596### 
  • 1.7.7/game/restart

    r441 r459  
    1616LOG=log/netmush.log 
    1717 
     18# Uncomment the line below to attempt to allow crashes to produce 
     19# core dumps. If you're getting crashes, this is the best way 
     20# to debug them. 
     21#ulimit -c unlimited 
    1822 
    1923if [ ! -d $GAMEDIR ]; then 
  • 1.7.7/game/restrictcnf.dst

    r457 r459  
    8888restrict_command warn_on_missing nobody 
    8989 
     90# We add a dummy here to make updating easier 
     91restrict_function lstats noguest 
     92 
  • 1.7.7/game/txt/hlp/penncmd.hlp

    r457 r459  
    14091409& @function 
    14101410  @function [<function name>] 
    1411   @function <function name>=<object>,<attribute>[,<min args>, <max args>
     1411  @function <name>=<obj>,<attrib>[,<min args>, <max args>[,<restrictions>]
    14121412    or @function <function name>=<object>/<attribute> 
    14131413  @function/<switch> <function name> 
     
    14801480  @function/delete ansi 
    14811481  &ansi_fun #1234=%0 
    1482   @function ansi=#1234, ansi_fun, 2, 2 
     1482  @function ansi=#1234, ansi_fun, 2, 2, noguest 
    14831483 
    14841484 will create a new version of ansi() that doesn't do any 
    14851485 colorization, and that requires it to be called with exactly 
    1486  2 arguments, like the built-in version. 
     1486 2 arguments, like the built-in version. It will be restricted to 
     1487 non-guest players. 
    14871488 
    14881489See also: RESTRICT, FUNCTIONS, @startup 
     
    19831984& @lock9 
    19841985  You can also test for set flags, powers, or object types in a lock directly, 
    1985   without using an evaluation lock, with these formats: 
     1986  without using an evaluation lock, with these formats: 
    19861987 
    19871988    @lock <object>=flag^<flag> 
     
    19981999  For example, 
    19992000    @lock/use Admin Commands=flag^wizard|flag^royalty 
     2001 
     2002  You can test for the current IP address or hostname of the owner 
     2003  of the object (who must be connected to pass this test) with: 
     2004    @lock <object>=ip^<ip address> 
     2005    @lock <object>=hostname^<hostname> 
     2006  
     2007  You may use wildcards (*, ?) in these patterns. Note that hostname 
     2008  tests are insecure; players who control their reverse DNS can spoof 
     2009  any hostname. 
    20002010 
    20012011See also: locktypes, @clock 
  • 1.7.7/game/txt/hlp/penncode.hlp

    r455 r459  
    1414& download 
    1515The latest version of this MUSH code is available at 
    16 http://ftp.penmush.org/Source.  It will be called something like 
     16http://download..pennmush.org/Source.  It will be called something like 
    1717pennmush-1.7.6p0.tar.Z, depending on the version number. You 
    1818will also find files of translations of server messages into various 
  • 1.7.7/game/txt/hlp/pennconf.hlp

    r457 r459  
    195195  player_name_len=<number>: The maximum length of a player name. 
    196196  queue_entry_cpu_time=<number>: The maximum number of milliseconds a 
    197   queue entry can take to run. 
     197   queue entry can take to run. 
     198  use_quota=<boolean>: Controls if quotas are used to limit the number 
     199   of objects a player can own. 
    198200& @config log 
    199201 These options affect logging. 
  • 1.7.7/game/txt/hlp/penntop.hlp

    r457 r459  
    19241924   nobody     Nothing can use it. Same as the /disable switch 
    19251925              to @command or @function. 
     1926   noparse    Function arguments are not evaluated. Only applies 
     1927              to @functions. 
    19261928 
    19271929 Commands can also use the 'noplayer' restriction, which stops 
  • 1.7.7/game/txt/hlp/pennv177.hlp

    r457 r459  
    1 & 1.7.7p29 
     1& 1.7.7p30 
    22& changes 
    33This is a list of changes in this patchlevel which are probably of 
     
    1212be read in 'help patchlevels'. 
    1313 
     14Version 1.7.7 patchlevel 30                     May 6, 2004 
     15 
     16Major changes: 
     17  * CHAT_SYSTEM option removed. If you don't want to use the chat system, 
     18    use restrict.cnf to disable @channel, @chat, etc. 
     19  * USE_MAILER and MAIL_ALIAS options removed. If you don't want to  
     20    use the @mail or @malias systems, use restrict.cnf to disable 
     21    the associated commands. 
     22  * QUOTA, EMPTY_ATTRS, and FUNCTION_SIDE_EFFECTS options are now  
     23    runtime options, instead of compile-time. 
     24  * SINGLE_LOGFILE option removed, and log filenames are now  
     25    runtime options. You may now give the same name to 
     26    multiple log files and get a more fine-grained version of the 
     27    same effect. Based on ideas by Vadiv@M*U*S*H. 
     28Minor changes: 
     29  * New IP^ and HOSTNAME^ tests for boolexps. Suggested by Luke@M*U*S*H. 
     30  * ALLOW_NOSUBJECT option removed. We always use the beginning of the 
     31    message as the subject if one is not provided. 
     32  * JURY_OK and UNINSPECTED_FLAG options removed. Use @flag to add 
     33    flags if you need them. ONLINE_REG and VACATION_FLAG options 
     34    removed (default to always defined, add or remove with @flag as 
     35    desired). 
     36  * MEM_CHECK option removed from options.h; it is now a runtime 
     37    option in mush.cnf. 
     38  * @function/restrict can be applied to softcoded @functions, and 
     39    @function/add can accept a list of restrictions as a fifth argument. 
     40    Patch by Luke@M*U*S*H. 
     41  * log_walls run-time configuration option removed. Use the 
     42    logargs option in restrict.cnf instead. 
     43Fixes: 
     44  * Crash bug in anonymous attributes fixed. Report by Intrevis@M*U*S*H. 
     45  * lplayers() was broken. Report by T'orA@M*U*S*H. 
     46  * Failing to create a player by providing a bad password now gives 
     47    a better error. Suggested by [NJG]. 
     48  * Setting/clearing a chan title on a notitles channel works, but 
     49    reminds you that titles are off. Suggested by Dan@InNomine. 
     50  * haspower_restricted removed from mushcnf.dst to stop spurious 
     51    warning on startup. Report by Nymeria@M*U*S*H. 
     52 
     53 
     54& 1.7.7p29 
    1455Version 1.7.7 patchlevel 29                     April 28, 2004 
    1556 
  • 1.7.7/game/txt/hlp/pennvOLD.hlp

    r457 r459  
    44194419 
    442044201.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 
    4421        19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29 
     4421       19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30 
    442244221.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16 
    442344231.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 
  • 1.7.7/hdrs/atr_tab.h

    r455 r459  
    2828  {"ALIAS", AF_VISUAL | AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, 
    2929   NULL}, 
    30 #ifdef USE_MAILER 
    3130  {"AMAIL", AF_WIZARD | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    32 #endif 
    3331  {"AMHEAR", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    3432  {"AMOVE", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
     
    10098  {"LFAIL", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    10199  {"LISTEN", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    102 #ifdef USE_MAILER 
    103100  {"MAILCURF", AF_WIZARD | AF_NOPROG | AF_LOCKED | AF_PREFIXMATCH, 
    104101   NULL_CHUNK_REFERENCE, 0, NULL}, 
     
    108105   NULL_CHUNK_REFERENCE, 0, NULL}, 
    109106  {"MAILSIGNATURE", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    110 #endif 
    111107  {"MOVE", AF_NOPROG | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 0, NULL}, 
    112108  {"NAMEACCENT", AF_NOPROG | AF_VISUAL | AF_PREFIXMATCH, NULL_CHUNK_REFERENCE, 
  • 1.7.7/hdrs/conf.h

    r457 r459  
    140140  char uncompressprog[256]; /**< Program to uncompress database dumps */ 
    141141  char compresssuff[256];   /**< Suffix for compressed dump files */ 
    142 #ifdef CHAT_SYSTEM 
    143142  char chatdb[256];     /**< Name of the chat database file */ 
    144143  int max_player_chans;     /**< Number of channels a player can create */ 
    145144  int max_channels;     /**< Total maximum allowed channels */ 
    146145  int chan_cost;        /**< Cost to create a channel */ 
    147 #endif 
    148146  char connect_file[2][256];    /**< Names of text and html connection files */ 
    149147  char motd_file[2][256];   /**< Names of text and html motd files */ 
     
    158156  int log_huhs;     /**< Should we log commands that produce a Huh? */ 
    159157  int log_forces;   /**< Should we log force commands? */ 
    160   int log_walls;    /**< Should we log wall commands? */ 
    161158  int support_pueblo;   /**< Should the MUSH send Pueblo tags? */ 
    162159  int login_allow;  /**< Are mortals allowed to log in? */ 
     
    255252  int ssl_require_client_cert;  /**< Are clients required to present certs? */ 
    256253#endif 
     254  int mem_check;    /**< Turn on the memory allocation checker? */ 
     255  int use_quota;    /**< Are quotas enabled? */ 
     256  int empty_attrs;  /**< Are empty attributes preserved? */ 
     257  int function_side_effects; /**< Turn on side effect functions? */ 
     258  char connect_log[256]; /**< File to log connections */ 
     259  char wizard_log[256]; /**< File to log wizard commands */ 
     260  char command_log[256]; /**< File to log suspect commands */ 
     261  char trace_log[256]; /**< File to log trace data */ 
     262  char checkpt_log[256]; /**< File to log checkpoint data */ 
    257263}; 
    258264 
     
    404410#define ONLY_ASCII_NAMES (options.ascii_names) 
    405411#define MAX_GLOBAL_FNS (options.max_global_fns) 
     412#define USE_QUOTA (options.use_quota) 
     413#define EMPTY_ATTRS (options.empty_attrs) 
     414#define FUNCTION_SIDE_EFFECTS (options.function_side_effects) 
     415#define CONNLOG (options.connect_log) 
     416#define WIZLOG (options.wizard_log) 
     417#define CMDLOG (options.command_log) 
     418#define TRACELOG (options.trace_log) 
     419#define CHECKLOG (options.checkpt_log) 
    406420 
    407421#define CHUNK_SWAP_FILE (options.chunk_swap_file) 
  • 1.7.7/hdrs/dbdefs.h

    r457 r459  
    6363 
    6464/* Check for a specific one */ 
    65 #define IsPlayer(x)     (Typeof(x) & TYPE_PLAYER
    66 #define IsRoom(x)       (Typeof(x) & TYPE_ROOM
    67 #define IsThing(x)      (Typeof(x) & TYPE_THING
    68 #define IsExit(x)       (Typeof(x) & TYPE_EXIT
     65#define IsPlayer(x)     (!!(Typeof(x) & TYPE_PLAYER)
     66#define IsRoom(x)       (!!(Typeof(x) & TYPE_ROOM)
     67#define IsThing(x)      (!!(Typeof(x) & TYPE_THING)
     68#define IsExit(x)       (!!(Typeof(x) & TYPE_EXIT)
    6969/* Was Destroyed() */ 
    70 #define IsGarbage(x)    (Typeof(x) & TYPE_GARBAGE
    71 #define Marked(x)       (db[(x)].type & TYPE_MARKED
     70#define IsGarbage(x)    (!!(Typeof(x) & TYPE_GARBAGE)
     71#define Marked(x)       (!!(db[(x)].type & TYPE_MARKED)
    7272 
    7373#define IS(thing,type,flag) \ 
     
    8484#define Unregistered(x) (IS(x, TYPE_PLAYER, "UNREGISTERED")) 
    8585#define Fixed(x)        (IS(Owner(x), TYPE_PLAYER, "FIXED")) 
    86  
    87 #ifdef VACATION_FLAG 
    8886#define Vacation(x)     (IS(x, TYPE_PLAYER, "ON-VACATION")) /* 0x10000 */ 
    89 #else 
    90 #define Vacation(x)     0 
    91 #endif 
    9287 
    9388/* Flags that apply to players, and all their stuff, 
     
    120115#define RoomInhearit(x) (IS(x, TYPE_ROOM, "LISTEN_PARENT")) /* 0x400 */ 
    121116 
    122 #ifdef UNINSPECTED_FLAG 
    123117#define Uninspected(x)  (IS(x, TYPE_ROOM, "UNINSPECTED"))   /* 0x1000 */ 
    124 #else 
    125 #define Uninspected(x)  0 
    126 #endif 
    127118 
    128119#define ZTel(x) (ThingZTel(x) || RoomZTel(x)) 
     
    295286    for((var) = first_visible((player), (first)); GoodObject((var)); (var) = first_visible((player), Next(var))) 
    296287 
    297 #ifdef USE_MAILER 
    298288/** A mail message. 
    299289 * This structure represents a single mail message in the linked list 
     
    315305typedef struct mail MAIL; 
    316306 
    317 #endif              /* USE_MAILER */ 
    318307 
    319308extern const char *EOD; 
  • 1.7.7/hdrs/extchat.h

    r457 r459  
    4242#define __EXTCHAT_H 
    4343 
    44 #ifdef CHAT_SYSTEM 
    4544 
    4645#include "boolexp.h" 
     
    265264 
    266265 
    267 #endif              /* CHAT_SYSTEM */ 
    268266#endif              /* __EXTCHAT_H */ 
  • 1.7.7/hdrs/externs.h

    r457 r459  
    9494void dump_reboot_db(void); 
    9595void close_ssl_connections(void); 
     96char *least_idle_ip(dbref player); 
     97char *least_idle_hostname(dbref player); 
    9698 
    9799/* The #defs for our notify_anything hacks.. Errr. Functions */ 
     
    134136extern dbref na_except2(dbref current, void *data); 
    135137extern dbref na_exceptN(dbref current, void *data); 
    136 #ifdef CHAT_SYSTEM 
    137138extern dbref na_channel(dbref current, void *data); 
    138 #endif 
    139139 
    140140#define notify(p,m)           notify_anything(orator, na_one, &(p), NULL, 0, m) 
     
    212212extern void do_look_around(dbref player); 
    213213extern void do_look_at(dbref player, const char *name, int key); 
     214 
     215/* From memcheck.c */ 
     216extern void add_check(const char *ref); 
     217extern void del_check(const char *ref); 
     218extern void list_mem_check(dbref player); 
     219extern void log_mem_check(void); 
    214220 
    215221/* From move.c */ 
     
    278284extern int payfor(dbref who, int cost); 
    279285extern int nearby(dbref obj1, dbref obj2); 
    280 #ifdef QUOTA 
    281286extern int get_current_quota(dbref who); 
    282287extern void change_quota(dbref who, int payment); 
    283 #endif 
    284288extern int ok_name(const char *name); 
    285289extern int ok_command_name(const char *name); 
  • 1.7.7/hdrs/extmail.h

    r427 r459  
    33#ifndef _EXTMAIL_H 
    44#define _EXTMAIL_H 
    5 #ifdef USE_MAILER 
    65/* Some of this isn't implemented yet, but heralds the future! */ 
    76#define M_MSGREAD       0x0001 
     
    106105extern void desc_mail_clear(void); 
    107106 
    108 #endif              /* USE_MAILER */ 
    109107#endif              /* _EXTMAIL_H */ 
  • 1.7.7/hdrs/game.h

    r457 r459  
    150150extern dbref do_pcreate 
    151151  (dbref creator, const char *player_name, const char *player_password); 
    152 #ifdef QUOTA 
    153152extern void do_quota 
    154153  (dbref player, const char *arg1, const char *arg2, int set_q); 
    155154extern void do_allquota(dbref player, const char *arg1, int quiet); 
    156 #endif 
    157155extern void do_teleport 
    158156  (dbref player, const char *arg1, const char *arg2, int silent, int inside); 
  • 1.7.7/hdrs/htab.h

    r427 r459  
    5454extern void *hash_firstentry(HASHTAB *htab); 
    5555extern void *hash_nextentry(HASHTAB *htab); 
     56extern char *hash_firstentry_key(HASHTAB *htab); 
     57extern char *hash_nextentry_key(HASHTAB *htab); 
    5658extern void hash_stats_header(dbref player); 
    5759extern void hash_stats(dbref player, HASHTAB *htab, const char *hashname); 
  • 1.7.7/hdrs/malias.h

    r417 r459  
    44#define _MALIAS_H 
    55 
    6 #ifdef MAIL_ALIASES 
    76 
    87#define MALIAS_TOKEN    '+' /* Initial char for alias names */ 
     
    5453 
    5554#endif 
    56  
    57 #endif 
  • 1.7.7/hdrs/mushtype.h

    r441 r459  
    117117  struct descriptor_data *next; /**< Next descriptor in linked list */ 
    118118  struct descriptor_data *prev; /**< Previous descriptor in linked list */ 
    119 #ifdef USE_MAILER 
    120119  struct mail *mailp;   /**< Pointer to start of player's mail chain */ 
    121 #endif 
    122120  int conn_flags;   /**< Flags of connection (telnet status, etc.) */ 
    123121  unsigned long input_chars;    /**< Characters received */ 
     
    137135#define BUFFER_LEN ((MAX_COMMAND_LEN)*2) 
    138136 
    139 #ifdef CHAT_SYSTEM 
    140137/* Channel stuff */ 
    141138typedef struct chanuser CHANUSER; 
    142139typedef struct chanlist CHANLIST; 
    143140typedef struct channel CHAN; 
    144 #endif 
    145141 
    146142#endif 
  • 1.7.7/hdrs/oldflags.h

    r411 r459  
    105105                 */ 
    106106#define PLAYER_ZONE     0x800   /* Zone Master (zone control owner) */ 
    107 #ifdef JURY_OK 
    108107#define PLAYER_JURY   0x1000    /* Jury_ok Player */ 
    109108#define PLAYER_JUDGE  0x2000    /* Judge player */ 
    110 #endif 
    111109#define PLAYER_FIXED  0x4000    /* can't @tel or home */ 
    112 #ifdef ONLINE_REG 
    113110#define PLAYER_UNREG  0x8000    /* Not yet registered */ 
    114 #endif 
    115 #ifdef VACATION_FLAG 
    116111#define PLAYER_VACATION 0x10000 /* On vacation */ 
    117 #endif 
    118112#define PLAYER_COLOR      0x80000   /* ANSI color ok */ 
    119113#define PLAYER_NOACCENTS 0x100000   /* Strip accented text on output */ 
     
    155149#define ROOM_INHEARIT  0x400    /* checks parent chain for ^ patterns */ 
    156150 
    157 #ifdef UNINSPECTED_FLAG 
    158151#define ROOM_UNINSPECT 0x1000   /* Not inspected */ 
    159 #endif 
    160152 
    161153 
  • 1.7.7/hdrs/version.h

    r457 r459  
    1 #define VERSION "PennMUSH version 1.7.7 patchlevel 29 [04/28/2004]" 
    2 #define SHORTVN "PennMUSH 1.7.7p29
    3 #define NUMVERSION 001007007029 
     1#define VERSION "PennMUSH version 1.7.7 patchlevel 30 [05/06/2004]" 
     2#define SHORTVN "PennMUSH 1.7.7p30
     3#define NUMVERSION 001007007030 
  • 1.7.7/options.h.dist

    r457 r459  
    8484/*------------------------- Other internals ----------------------*/ 
    8585 
    86  
    87 /* Define this if you don't wish your log file to be split up into several 
    88  * components. This saves on file descriptors and makes it easy to tail -f 
    89  * the log, but is inconvenient for quick scanning. 
    90  */ 
    91 /* #define SINGLE_LOGFILE /* */ 
    92  
    93 /* Defining this adds a simple tracking allocator of allocs and frees that 
    94  * keeps ref counts of what sort of memory is allocated, and how many. 
    95  * Good for testing for Memory leaks. Don't, however, define this unless 
    96  * 1. It's really necessary.  2. You know what you're doing. 
    97  */ 
    98 /* #define MEM_CHECK /* */ 
    99  
    10086/* If defined, use the info_slave to get information from identd, 
    10187 * instead of having the MUSH do it directly.  This may help reduce lag 
     
    11298/*------------------------- MUSH Features ----------------------*/ 
    11399 
    114 /* This option is to control whether functions may have side effects 
    115  * affecting the db.  With it on, the functions create(), open(), 
    116  * dig(), link(), and set() exist, corresponding to the @commands of 
    117  * the same name.  Also, the 2 parameter versions of zone(), parent(), 
    118  * and lock() are enabled by this define. 
    119  */ 
    120 #define FUNCTION_SIDE_EFFECTS /* */ 
    121  
    122 /* Comment this out if you don't wish to use the built-in mail system.  
    123  * The @mail command provides a flexible hardcoded mail system, which 
    124  * uses its own database to store messages.  
    125  */ 
    126 #define USE_MAILER /* */ 
    127  
    128 /* Defining ALLOW_NOSUBJECT marks mail sent with no subject as having  
    129  * subject '(no subject)'. The default is for the subject of the mail to 
    130  * be the first 30 characters of the message when not specfied 
    131  */ 
    132 /* #define ALLOW_NOSUBJECT /* */ 
    133  
    134 /* 
    135  * Should we have mail aliases (@mailing lists?). This modifies 
    136  * the maildb format, but you can reverse it. 
    137  */ 
    138 #define MAIL_ALIASES /* */ 
    139  
    140 /*  The chat channels system allows players to talk cross-MUSH to each 
    141  *  other, without needing to be in the same room. Whether or not you 
    142  *  want this depends on what type of MUSH you want.  
    143  */ 
    144 #define CHAT_SYSTEM /* */ 
    145  
    146100/* Many MUSHes want to change the +channels to =channels. That's 
    147101 * annoying. So we've got this CHAT_TOKEN_ALIAS, which allows + as well 
     
    152106/* #define CHAT_TOKEN_ALIAS '=' /* */ 
    153107 
    154 /* Quotas limit players to a fixed number of objects. 
    155  * Wizards can check and set quotas on players.  
    156  * See also restricted_building in game/mush.cnf for another way 
    157  * to slow database growth. 
    158  */ 
    159 /* #define QUOTA /* */ 
    160  
    161  
    162 /*------------------------------ DB ----------------------------------*/ 
    163  
    164 /* With EMPTY_ATTRS, empty (no value) attributes are retained on 
    165  * objects, keeping their attribute flags and locked status. 
    166  * Without this option, such attributes are fully deleted. 
    167  * Recommended. 
    168  */ 
    169 #define EMPTY_ATTRS /* */ 
    170  
    171  
    172 /*------------------------------ FLAGS --------------------------------*/ 
    173  
    174  
    175 /* If defined, enables the Jury and Judge flags, which don't do anything 
    176  * in themselves, but which other MUSHes may find useful  
    177  */ 
    178 /* #define JURY_OK /* */ 
    179  
    180 /* If defined, adds support for the UNREGISTERED flag, which you can 
    181  * arrange in mush.cnf to have set on new players, and can test for. 
    182  * The only hardcoded restriction is in wiz.c - unreg'd players can't 
    183  * be given powers 
    184  */ 
    185 /* #define ONLINE_REG /* */ 
    186  
    187 /* If defined, adds support for the ON-VACATION flag, which a player 
    188  * can set to indicate that they're going to be away from the MUSH 
    189  * for vacation (and which a wizard can test for when doing player purges, 
    190  * or which can aid other players, etc).  
    191  */ 
    192 /* #define VACATION_FLAG /* */ 
    193  
    194 /* If defined, adds the UNINSPECTED flag for rooms, which does nothing, 
    195  * but can be tested for in mushcode, etc. 
    196  */ 
    197 /* #define UNINSPECTED_FLAG /* */ 
    198108 
    199109/*------------------------- Cosmetic Features --------------------*/ 
     
    208118 
    209119 
    210 /*------------------------- Log Files ----------------------------*/ 
    211  
    212 /* The main log is given on the command line, after the config file. 
    213  * Checkpoints are written to a separate log, as are connects and 
    214  * disconnects from the game, commands used by wizards, report traces, 
    215  * and player commands. The defaults are listed below. 
    216  */ 
    217  
    218 #define CHECKLOG  "log/checkpt.log" 
    219 #define CONNLOG   "log/connect.log" 
    220 #define WIZLOG    "log/wizard.log" 
    221 #define TRACELOG  "log/trace.log" 
    222 #define CMDLOG    "log/command.log" 
    223  
    224120#endif 
  • 1.7.7/src/Makefile.SH

    r455 r459  
    7979      ../hdrs/htab.h ../hdrs/htab.h ../hdrs/ident.h ../hdrs/lock.h \ 
    8080      ../hdrs/log.h ../hdrs/log.h ../hdrs/malias.h ../hdrs/match.h \ 
    81       ../hdrs/memcheck.h ../hdrs/mushdb.h ../hdrs/mushtype.h \ 
     81      ../hdrs/mushdb.h ../hdrs/mushtype.h \ 
    8282      ../hdrs/mymalloc.h ../hdrs/mysocket.h ../hdrs/myssl.h \ 
    8383      ../hdrs/parse.h ../hdrs/pcre.h ../hdrs/privtab.h ../hdrs/ptab.h \ 
     
    192192 
    193193depend: funlocal.c cmdlocal.c local.c flaglocal.c 
    194     makedepend -w10 -- $(CFLAGS) -- $(C_FILES) $(H_FILES) 
    195     ../utils/fixdepend.pl Makefile 
     194    makedepend -fMakefile.SH -w10 -- $(CFLAGS) -- $(C_FILES) $(H_FILES) 
     195    ../utils/fixdepend.pl Makefile.SH 
    196196 
    197197# Requires GNU indent!  
     
    239239access.o: ../options.h 
    240240access.o: ../hdrs/mushtype.h 
     241access.o: ../hdrs/htab.h 
    241242access.o: ../hdrs/externs.h 
     243access.o: ../hdrs/dbdefs.h 
     244access.o: ../hdrs/mushdb.h 
     245access.o: ../hdrs/flags.h 
     246access.o: ../hdrs/ptab.h 
     247access.o: ../hdrs/chunk.h 
     248access.o: ../hdrs/attrib.h 
    242249access.o: ../confmagic.h 
    243 access.o: ../hdrs/memcheck.h 
    244250access.o: ../hdrs/access.h 
    245251access.o: ../hdrs/mymalloc.h 
     
    247253access.o: ../hdrs/parse.h 
    248254access.o: ../hdrs/log.h 
    249 access.o: ../hdrs/mushdb.h 
    250 access.o: ../hdrs/dbdefs.h 
    251 access.o: ../hdrs/htab.h 
    252 access.o: ../hdrs/flags.h 
    253255atr_tab.o: ../config.h 
    254256atr_tab.o: ../hdrs/conf.h 
     
    256258atr_tab.o: ../options.h 
    257259atr_tab.o: ../hdrs/mushtype.h 
     260atr_tab.o: ../hdrs/htab.h 
    258261atr_tab.o: ../hdrs/externs.h 
     262atr_tab.o: ../hdrs/dbdefs.h 
     263atr_tab.o: ../hdrs/mushdb.h 
     264atr_tab.o: ../hdrs/flags.h 
     265atr_tab.o: ../hdrs/ptab.h 
     266atr_tab.o: ../hdrs/chunk.h 
     267atr_tab.o: ../hdrs/attrib.h 
    259268atr_tab.o: ../confmagic.h 
    260 atr_tab.o: ../hdrs/attrib.h 
    261269atr_tab.o: ../hdrs/atr_tab.h 
    262 atr_tab.o: ../hdrs/ptab.h 
    263270atr_tab.o: ../hdrs/privtab.h 
    264271atr_tab.o: ../hdrs/mymalloc.h 
    265 atr_tab.o: ../hdrs/dbdefs.h 
    266 atr_tab.o: ../hdrs/htab.h 
    267272atr_tab.o: ../hdrs/log.h 
    268273atr_tab.o: ../hdrs/parse.h 
     
    272277attrib.o: ../options.h 
    273278attrib.o: ../hdrs/mushtype.h 
     279attrib.o: ../hdrs/htab.h 
     280attrib.o: ../hdrs/chunk.h 
    274281attrib.o: ../hdrs/attrib.h 
    275282attrib.o: ../hdrs/dbdefs.h 
    276 attrib.o: ../hdrs/htab.h 
     283attrib.o: ../hdrs/mushdb.h 
     284attrib.o: ../hdrs/flags.h 
     285attrib.o: ../hdrs/ptab.h 
    277286attrib.o: ../hdrs/externs.h 
    278287attrib.o: ../confmagic.h 
    279288attrib.o: ../hdrs/match.h 
    280 attrib.o: ../hdrs/memcheck.h 
    281289attrib.o: ../hdrs/parse.h 
    282290attrib.o: ../hdrs/privtab.h 
    283291attrib.o: ../hdrs/mymalloc.h 
    284292attrib.o: ../hdrs/strtree.h 
    285 attrib.o: ../hdrs/flags.h 
    286 attrib.o: ../hdrs/mushdb.h 
    287293attrib.o: ../hdrs/lock.h 
    288294attrib.o: ../hdrs/boolexp.h 
     
    293299boolexp.o: ../options.h 
    294300boolexp.o: ../hdrs/mushtype.h 
     301boolexp.o: ../hdrs/htab.h 
    295302boolexp.o: ../hdrs/mushdb.h 
     303boolexp.o: ../hdrs/flags.h 
     304boolexp.o: ../hdrs/ptab.h 
    296305boolexp.o: ../hdrs/match.h 
    297306boolexp.o: ../hdrs/externs.h 
     307boolexp.o: ../hdrs/dbdefs.h 
     308boolexp.o: ../hdrs/chunk.h 
     309boolexp.o: ../hdrs/attrib.h 
    298310boolexp.o: ../confmagic.h 
    299311boolexp.o: ../hdrs/lock.h 
    300312boolexp.o: ../hdrs/boolexp.h 
    301313boolexp.o: ../hdrs/parse.h 
    302 boolexp.o: ../hdrs/attrib.h 
    303 boolexp.o: ../hdrs/flags.h 
    304 boolexp.o: ../hdrs/dbdefs.h 
    305 boolexp.o: ../hdrs/htab.h 
    306314boolexp.o: ../hdrs/log.h 
    307315boolexp.o: ../hdrs/extchat.h 
    308316boolexp.o: ../hdrs/strtree.h 
    309 boolexp.o: ../hdrs/memcheck.h 
    310317bsd.o: ../hdrs/copyrite.h 
    311318bsd.o: ../config.h 
     
    313320bsd.o: ../options.h 
    314321bsd.o: ../hdrs/mushtype.h 
     322bsd.o: ../hdrs/htab.h 
     323bsd.o: ../hdrs/chunk.h 
     324bsd.o: ../hdrs/attrib.h 
    315325bsd.o: ../hdrs/mushdb.h 
     326bsd.o: ../hdrs/flags.h 
     327bsd.o: ../hdrs/ptab.h 
    316328bsd.o: ../hdrs/externs.h 
     329bsd.o: ../hdrs/dbdefs.h 
    317330bsd.o: ../confmagic.h 
    318 bsd.o: ../hdrs/dbdefs.h 
    319 bsd.o: ../hdrs/htab.h 
    320 bsd.o: ../hdrs/flags.h 
    321331bsd.o: ../hdrs/lock.h 
    322332bsd.o: .