Changeset 421
- Timestamp:
- 08/12/06 17:14:21 (2 years ago)
- Files:
-
- 1.7.7/CHANGES (modified) (1 diff)
- 1.7.7/Configure (modified) (2 diffs)
- 1.7.7/Makefile.SH (modified) (1 diff)
- 1.7.7/Patchlevel (modified) (1 diff)
- 1.7.7/game/txt/hlp/penncmd.hlp (modified) (1 diff)
- 1.7.7/game/txt/hlp/pennvers.hlp (modified) (4 diffs)
- 1.7.7/hdrs/conf.h (modified) (3 diffs)
- 1.7.7/hdrs/version.h (modified) (1 diff)
- 1.7.7/src/bsd.c (modified) (2 diffs)
- 1.7.7/src/look.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
1.7.7/CHANGES
r419 r421 18 18 19 19 ========================================================================== 20 21 Version 1.7.7 patchlevel 11 February 22, 2003 22 23 Commands: 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. 28 Fixes: 29 * Win32 (and other OS) portability fixes. [EEH] 30 * Fixed the openssl Configure thing again. The right way, this time. 20 31 21 32 Version 1.7.7 patchlevel 10 February 22, 2003 1.7.7/Configure
r419 r421 4714 4714 fi 4715 4715 4716 d_openssl="$undef" 4716 4717 case "x$libssl$libcrypto" in 4717 4718 x) … … 4728 4729 EOM 4729 4730 4730 d_openssl="$undef"4731 4731 if $cc $ccflags $ldflags -o test_openssl test_openssl.c $libs $libssl $libcrypto >/dev/null 2>&1 ; 4732 4732 then 1.7.7/Makefile.SH
r407 r421 201 201 game/txt/* game/txt/nws/* game/txt/evt/* game/txt/hlp/* ) 202 202 203 diffs: 203 diffs: versions 204 204 @make indent > /dev/null 2>&1 205 205 @(cd utils; sh mkcmds.sh) > /dev/null 2>&1 1.7.7/Patchlevel
r419 r421 1 1 Do not edit this file. It is maintained by the official PennMUSH patches. 2 This is PennMUSH 1.7.7p1 02 This is PennMUSH 1.7.7p11 1.7.7/game/txt/hlp/penncmd.hlp
r417 r421 3337 3337 3338 3338 See 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 3339 3358 & SESSION 3340 3359 SESSION 1.7.7/game/txt/hlp/pennvers.hlp
r419 r421 1 1 & changes 2 & 1.7.7p1 02 & 1.7.7p11 3 3 This is a list of changes in this patchlevel which are probably of 4 4 interest to players. More information about new commands and functions … … 12 12 be read in 'help patchlevels'. 13 13 14 Version 1.7.7 patchlevel 11 February 22, 2003 15 16 Commands: 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. 21 Fixes: 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 14 26 Version 1.7.7 patchlevel 10 February 22, 2003 15 27 … … 746 758 * Fixes up to 1.7.4p12 merged in. 747 759 760 & 1.7.6p8 761 Version 1.7.6 patchlevel 8 February 20, 2003 762 763 Fixes: 764 * Some redundant code cleanup in look_exits suggested by Vadiv@M*U*S*H. 765 748 766 & 1.7.6p7 749 Version 1.7.6 patchlevel 7 January 23, 2003767 Version 1.7.6 patchlevel 7 February 20, 2003 750 768 751 769 Fixes: … … 6107 6125 type 'help <version>p<patchlevel>'. For example, 'help 1.7.2p3' 6108 6126 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 6127 1.7.7: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11 6128 1.7.6: 0, 1, 2, 3, 4, 5, 6, 7, 8 6111 6129 1.7.5: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12 6112 6130 1.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 1 1 /* conf.h */ 2 2 3 #ifndef __CONF IG_H4 #define __CONF IG_H3 #ifndef __CONF_H 4 #define __CONF_H 5 5 6 6 #include "copyrite.h" 7 #ifdef I_SYS_TIME 8 #include <sys/time.h> 9 #else 10 #include <time.h> 11 #endif 7 12 #include "options.h" 8 13 #include "mushtype.h" … … 40 45 #define DOING_COMMAND "DOING" 41 46 #define SESSION_COMMAND "SESSION" 47 #define IDLE_COMMAND "IDLE" 42 48 43 49 #define PREFIX_COMMAND "OUTPUTPREFIX" … … 405 411 406 412 407 #endif /* __CONF IG_H */413 #endif /* __CONF_H */ 1.7.7/hdrs/version.h
r419 r421 1 #define VERSION "PennMUSH version 1.7.7 patchlevel 1 0[02/22/2003]"2 #define SHORTVN "PennMUSH 1.7.7p1 0"3 #define NUMVERSION 00100700701 01 #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 2138 2138 dnext = d->next; 2139 2139 if (FD_ISSET(d->descriptor, &input_set)) { 2140 d->last_time = now;2141 2140 if (!process_input(d)) { 2142 2141 shutdownsock(d); … … 3673 3672 (d->cmds)++; 3674 3673 3674 if (!strcmp(command, IDLE_COMMAND)) 3675 return 1; 3676 d->last_time = mudtime; 3675 3677 if (!strcmp(command, QUIT_COMMAND)) { 3676 3678 return 0; 1.7.7/src/look.c
r417 r421 122 122 return; 123 123 } 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 } 150 133 } 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; 166 148 } 167 149 … … 171 153 notify_by(loc, player, pbuff); 172 154 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))) { 175 157 strcpy(pbuff, Name(thing)); 176 158 if ((p = strchr(pbuff, ';')))
