PennMUSH Community

Changeset 421

Show
Ignore:
Timestamp:
08/12/06 17:14:21 (2 years ago)
Author:
pennmush
Message:

PennMUSH 1.7.7p11 Archival

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • 1.7.7/CHANGES

    r419 r421  
    1818 
    1919========================================================================== 
     20 
     21Version 1.7.7 patchlevel 11                     February 22, 2003 
     22 
     23Commands: 
     24  * New IDLE command (socket-level) does nothing, and does not update 
     25    the socket's last_time (so it doesn't change idle times). Useful 
     26    for people behind lame NAT firewalls that timeout their connections if 
     27    nothing is sent for 5 minutes. Suggested by Bolt and BladedThoth@M*U*S*H. 
     28Fixes: 
     29  * Win32 (and other OS) portability fixes. [EEH] 
     30  * Fixed the openssl Configure thing again. The right way, this time. 
    2031 
    2132Version 1.7.7 patchlevel 10                     February 22, 2003 
  • 1.7.7/Configure

    r419 r421  
    47144714fi 
    47154715 
     4716d_openssl="$undef" 
    47164717case "x$libssl$libcrypto" in 
    47174718    x) 
     
    47284729EOM 
    47294730 
    4730 d_openssl="$undef" 
    47314731if $cc $ccflags $ldflags -o test_openssl test_openssl.c $libs $libssl $libcrypto >/dev/null 2>&1 ; 
    47324732then 
  • 1.7.7/Makefile.SH

    r407 r421  
    201201      game/txt/* game/txt/nws/* game/txt/evt/* game/txt/hlp/* ) 
    202202 
    203 diffs: 
     203diffs: versions 
    204204    @make indent > /dev/null 2>&1 
    205205    @(cd utils; sh mkcmds.sh) > /dev/null 2>&1 
  • 1.7.7/Patchlevel

    r419 r421  
    11Do not edit this file. It is maintained by the official PennMUSH patches. 
    2 This is PennMUSH 1.7.7p10 
     2This is PennMUSH 1.7.7p11 
  • 1.7.7/game/txt/hlp/penncmd.hlp

    r417 r421  
    33373337 
    33383338See also: WHO, @poll, @doing 
     3339& OUTPUTPREFIX 
     3340& OUTPUTSUFFIX 
     3341  OUTPUTPREFIX <string> 
     3342  OUTPUTSUFFIX <string> 
     3343 
     3344  Sets your output prefix or suffix. These strings will be shown 
     3345  before and after the output of any command that you initiate, 
     3346  respectively. They are primarily useful for bots and the like. 
     3347 
     3348& IDLE 
     3349  IDLE 
     3350 
     3351  This command does nothing. It does not reset a connection's 
     3352  idle time. It is useful for people who are connecting from behind 
     3353  a NAT gateway with a short fixed timeout; if you're in this situation, 
     3354  have your client send the IDLE command every minute or so, and the  
     3355  NAT connection won't time out (but you won't appear, to other players, 
     3356  to be active). 
     3357 
    33393358& SESSION 
    33403359  SESSION 
  • 1.7.7/game/txt/hlp/pennvers.hlp

    r419 r421  
    11& changes 
    2 & 1.7.7p10 
     2& 1.7.7p11 
    33This is a list of changes in this patchlevel which are probably of 
    44interest to players. More information about new commands and functions 
     
    1212be read in 'help patchlevels'. 
    1313 
     14Version 1.7.7 patchlevel 11                     February 22, 2003 
     15 
     16Commands: 
     17  * New IDLE command (socket-level) does nothing, and does not update 
     18    the socket's last_time (so it doesn't change idle times). Useful 
     19    for people behind lame NAT firewalls that timeout their connections if 
     20    nothing is sent for 5 minutes. Suggested by Bolt and BladedThoth@M*U*S*H. 
     21Fixes: 
     22  * Win32 (and other OS) portability fixes. [EEH] 
     23  * Fixed the openssl Configure thing again. The right way, this time. 
     24 
     25& 1.7.7p10 
    1426Version 1.7.7 patchlevel 10                     February 22, 2003 
    1527 
     
    746758  * Fixes up to 1.7.4p12 merged in. 
    747759 
     760& 1.7.6p8 
     761Version 1.7.6 patchlevel 8                      February 20, 2003 
     762 
     763Fixes: 
     764   * Some redundant code cleanup in look_exits suggested by Vadiv@M*U*S*H. 
     765 
    748766& 1.7.6p7 
    749 Version 1.7.6 patchlevel 7                      January 23, 2003 
     767Version 1.7.6 patchlevel 7                      February 20, 2003 
    750768 
    751769Fixes: 
     
    61076125type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 
    61086126 
    6109 1.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 
    6110 1.7.6: 0, 1, 2, 3, 4, 5, 6, 7 
     61271.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 
     61281.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8 
    611161291.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 
    611261301.7.4: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 
  • 1.7.7/hdrs/conf.h

    r417 r421  
    11/* conf.h */ 
    22 
    3 #ifndef __CONFIG_H 
    4 #define __CONFIG_H 
     3#ifndef __CONF_H 
     4#define __CONF_H 
    55 
    66#include "copyrite.h" 
     7#ifdef I_SYS_TIME 
     8#include <sys/time.h> 
     9#else 
     10#include <time.h> 
     11#endif 
    712#include "options.h" 
    813#include "mushtype.h" 
     
    4045#define DOING_COMMAND "DOING" 
    4146#define SESSION_COMMAND "SESSION" 
     47#define IDLE_COMMAND "IDLE" 
    4248 
    4349#define PREFIX_COMMAND "OUTPUTPREFIX" 
     
    405411 
    406412 
    407 #endif              /* __CONFIG_H */ 
     413#endif              /* __CONF_H */ 
  • 1.7.7/hdrs/version.h

    r419 r421  
    1 #define VERSION "PennMUSH version 1.7.7 patchlevel 10 [02/22/2003]" 
    2 #define SHORTVN "PennMUSH 1.7.7p10
    3 #define NUMVERSION 001007007010 
     1#define VERSION "PennMUSH version 1.7.7 patchlevel 11 [02/22/2003]" 
     2#define SHORTVN "PennMUSH 1.7.7p11
     3#define NUMVERSION 001007007011 
  • 1.7.7/src/bsd.c

    r417 r421  
    21382138    dnext = d->next; 
    21392139    if (FD_ISSET(d->descriptor, &input_set)) { 
    2140       d->last_time = now; 
    21412140      if (!process_input(d)) { 
    21422141        shutdownsock(d); 
     
    36733672  (d->cmds)++; 
    36743673 
     3674  if (!strcmp(command, IDLE_COMMAND)) 
     3675    return 1; 
     3676  d->last_time = mudtime; 
    36753677  if (!strcmp(command, QUIT_COMMAND)) { 
    36763678    return 0; 
  • 1.7.7/src/look.c

    r417 r421  
    122122    return; 
    123123  } 
    124   if (COMMA_EXIT_LIST) { 
    125     if (Dark(loc)) { 
    126       for (thing = Exits(loc); thing != NOTHING; thing = Next(thing)) { 
    127     if (!(DarkLegal(thing)) && Light(thing)) { 
    128       total_count++; 
    129       if (!Transparented(loc) || Opaque(thing)) 
    130         exit_count++; 
    131     } 
    132       } 
    133     } else { 
    134       for (thing = Exits(loc); thing != NOTHING; thing = Next(thing)) { 
    135     if (!(DarkLegal(thing))) { 
    136       total_count++; 
    137       if (!Transparented(loc) || Opaque(thing)) 
    138         exit_count++; 
    139     } 
    140       } 
    141     } 
    142     if (total_count == 0) { 
    143       mush_free((Malloc_t) tbuf1, "string"); 
    144       mush_free((Malloc_t) tbuf2, "string"); 
    145       mush_free((Malloc_t) nbuf, "string"); 
    146       return; 
    147     } 
    148     thing = Exits(loc); 
    149  
     124  /* Scan the room and see if there are any visible exits */ 
     125  if (Dark(loc)) { 
     126    for (thing = Exits(loc); thing != NOTHING; thing = Next(thing)) { 
     127      if (!(DarkLegal(thing)) && Light(thing)) { 
     128    total_count++; 
     129    if (!Transparented(loc) || Opaque(thing)) 
     130      exit_count++; 
     131      } 
     132    } 
    150133  } else { 
    151  
    152     /* Scan the room and see if there are any visible exits */ 
    153     if (Dark(loc)) 
    154       for (thing = Exits(loc); 
    155        (thing != NOTHING) && (DarkLegal(thing) || !Light(thing)); 
    156        thing = Next(thing)) ; 
    157     else 
    158       for (thing = Exits(loc); 
    159        (thing != NOTHING) && DarkLegal(thing); thing = Next(thing)) ; 
    160     if (thing == NOTHING) { 
    161       mush_free((Malloc_t) tbuf1, "string"); 
    162       mush_free((Malloc_t) tbuf2, "string"); 
    163       mush_free((Malloc_t) nbuf, "string"); 
    164       return; 
    165     } 
     134    for (thing = Exits(loc); thing != NOTHING; thing = Next(thing)) { 
     135      if (!(DarkLegal(thing))) { 
     136    total_count++; 
     137    if (!Transparented(loc) || Opaque(thing)) 
     138      exit_count++; 
     139      } 
     140    } 
     141  } 
     142  if (total_count == 0) { 
     143    /* No visible exits. We are outta here */ 
     144    mush_free((Malloc_t) tbuf1, "string"); 
     145    mush_free((Malloc_t) tbuf2, "string"); 
     146    mush_free((Malloc_t) nbuf, "string"); 
     147    return; 
    166148  } 
    167149 
     
    171153  notify_by(loc, player, pbuff); 
    172154 
    173   for (; thing != NOTHING; thing = Next(thing)) { 
    174     if (Name(thing) && !DarkLegal(thing) && (!Dark(loc) || Light(thing))) { 
     155  for (thing = Exits(loc); thing != NOTHING; thing = Next(thing)) { 
     156    if (!DarkLegal(thing) && (!Dark(loc) || Light(thing))) { 
    175157      strcpy(pbuff, Name(thing)); 
    176158      if ((p = strchr(pbuff, ';')))