This is patch04 to PennMUSH 1.7.5. After applying this patch, you will have version 1.7.5p4 To apply this patch, save it to a file in your top-level MUSH directory, and do the following: patch -p1 < 1.7.5-patch04 ./Configure -d make install If you use GNU patch 2.2, you probably want the above to be 'patch -b -p1', not just 'patch -p1'. Unix (or cygwin) users need not worry about failed hunks in src/switchinc.c, hdrs/switches.h, hdrs/cmds.h, or hdrs/funs.h. These files are automatically rebuilt on compile. Then @shutdown and restart your MUSH. - Alan/Javelin In this patch: Major changes: * The mush recognizes telnet-aware connections. This is neccessary for properly sending them some 8-bit characters. [SW] * Much more support for handling accented characters in the ISO 8859-1 character set. See help for accent(), stripaccents(), and NOACCENTS. Inspired by Elendor. [SW] * Things that do first-unique-prefix matching (command, attribute and flag names) now use a more space-efficient data structure than before. This adds two new files, src/ptab.c and hdrs/ptab.h [SW] Commands: * @sitelock/remove removes a sitelock entry. [SW] Functions: * ord() and chr() functions for converting characters to/from numerical values that represent them. [SW] Minor changes: * The useless FORCE_WHITE flag is really, truely, gone. [SW] * Use the new arglens argument to functions in more places. [SW] * capstr() and before() fixes reimplemented using arglens. [SW] * We now use the Mersenne Twister PRNG algorithm. [SW] Fixes: * setunion() no longer eats empty list elements. [SW] * Setting an inherited lock on a child could change the parent's lock. Reported by Riverwolf. [SW] * Help fixes. [SW, Nymeria] * Players waiting at the connect screen weren't being disconnected by the idle_timeout. * Detection of cygwin in Configure may be improved. * Fixes from 1.7.4p15. Prereq: 1.7.5p3 *** 1_7_5.66/Patchlevel Thu, 24 Jan 2002 10:49:36 -0600 dunemush (pennmush/5_Patchlevel 1.17.1.4 600) --- 1_7_5.96(w)/Patchlevel Fri, 15 Feb 2002 16:09:37 -0600 dunemush (pennmush/5_Patchlevel 1.17.1.5 600) *************** *** 1,2 **** Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.7.5p3 --- 1,2 ---- Do not edit this file. It is maintained by the official PennMUSH patches. ! This is PennMUSH 1.7.5p4 *** 1_7_5.66/CHANGES.174 Wed, 23 Jan 2002 10:11:06 -0600 dunemush (pennmush/8_CHANGES 1.219.1.66 600) --- 1_7_5.96(w)/CHANGES.174 Fri, 15 Feb 2002 16:10:35 -0600 dunemush (pennmush/8_CHANGES 1.219.1.72.1.1 600) *************** *** 9,21 **** [SW] is Shawn Wagner, a PennMUSH developer (aka Raevnos) [LdW] is Luuk de Waard, a former PennMUSH developer (aka Halatir) [RLM] is Ralph Melton, a former PennMUSH developer ! [NJG] is Nick Gammon, the Win32 porter [DW] is Dan Williams, the MacOS porter [2.2] refers to code which originated with the TinyMUSH 2.2 developers [3] refers to code by (or inspired by) TinyMUSH 3.0 [Rhost] refers to code by (or inspired by) RhostMUSH ========================================================================== Version 1.7.4 patchlevel 14 January 4, 2002 --- 9,51 ---- [SW] is Shawn Wagner, a PennMUSH developer (aka Raevnos) [LdW] is Luuk de Waard, a former PennMUSH developer (aka Halatir) [RLM] is Ralph Melton, a former PennMUSH developer ! [NJG] is Nick Gammon, the primary Win32 porter ! [EEH] is Ervin Hearn III, a Win32 porter (aka Noltar) [DW] is Dan Williams, the MacOS porter [2.2] refers to code which originated with the TinyMUSH 2.2 developers [3] refers to code by (or inspired by) TinyMUSH 3.0 [Rhost] refers to code by (or inspired by) RhostMUSH ========================================================================== + + Version 1.7.4 patchlevel 15 February 8, 2002 + + Minor Changes: + * @dolist and iter(), where multiple tokens are replaced (## and #@), + now do both replacements at once. This is more efficient in several + ways and fixes a problem where if the second token gets into the + string from a replacement of the first, it gets replaced. (iter(a#@, + ##) should return a#@, not a1). [SW] + * setunion no longer eats empty list elements. [SW] + * The help text for items() is now more descriptive of how it works + and differs from words(). Suggested by Zen@SW1. + * When you attempt to @chzone an object to a ZMO without a zone-lock, + a default zone-lock of "owner of the ZMO" is now set, and the + attempt succeeds. Suggested by Linda Antonsson. + * In the French message translation files, the word 'drapeau' and + 'flag' were used interchangeably. I've standardized on 'flag'. + Report by Vexon@M*U*S*H. + Fixes: + * Message typo fixed by Bellemore@M*U*S*H. + * No more ansified names in logged shutdown messages. Report by + Bellemore@M*U*S*H. + * Messages when destroying players now take into account the + destroy_possessions and really_safe settings. Suggested by Wayne@PDX. + * The parser no longer strips any first layer of braces in, e.g. + @switch action clauses, but only when the first character in the + clause is a brace. This prevents @sw 1=1, @wait me={@emit 1; @emit 2} + from being misparsed and running @emit 2 immediately. Reported by + Azratax@Azmush. [TAP] Version 1.7.4 patchlevel 14 January 4, 2002 *** 1_7_5.66/CHANGES Thu, 24 Jan 2002 10:49:36 -0600 dunemush (pennmush/g/7_CHANGES 1.22 600) --- 1_7_5.96(w)/CHANGES Fri, 15 Feb 2002 16:10:16 -0600 dunemush (pennmush/g/7_CHANGES 1.27.1.2 600) *************** *** 17,22 **** --- 17,53 ---- ========================================================================== + Version 1.7.5 patchlevel 4 February 15, 2002 + + Major changes: + * The mush recognizes telnet-aware connections. This is + neccessary for properly sending them some 8-bit characters. [SW] + * Much more support for handling accented characters in the ISO 8859-1 + character set. See help for accent(), stripaccents(), and NOACCENTS. + Inspired by Elendor. [SW] + * Things that do first-unique-prefix matching (command, attribute and flag + names) now use a more space-efficient data structure than before. + This adds two new files, src/ptab.c and hdrs/ptab.h [SW] + Commands: + * @sitelock/remove removes a sitelock entry. [SW] + Functions: + * ord() and chr() functions for converting characters to/from numerical + values that represent them. [SW] + Minor changes: + * The useless FORCE_WHITE flag is really, truely, gone. [SW] + * Use the new arglens argument to functions in more places. [SW] + * capstr() and before() fixes reimplemented using arglens. [SW] + * We now use the Mersenne Twister PRNG algorithm. [SW] + Fixes: + * setunion() no longer eats empty list elements. [SW] + * Setting an inherited lock on a child could change the parent's lock. + Reported by Riverwolf. [SW] + * Help fixes. [SW, Nymeria] + * Players waiting at the connect screen weren't being disconnected + by the idle_timeout. + * Detection of cygwin in Configure may be improved. + * Fixes from 1.7.4p15. + Version 1.7.5 patchlevel 3 January 24, 2002 Fixes: *** 1_7_5.66/game/txt/hlp/pennvers.hlp Thu, 24 Jan 2002 11:07:50 -0600 dunemush (pennmush/12_pennvers.h 1.169.1.42.1.9 600) --- 1_7_5.96(w)/game/txt/hlp/pennvers.hlp Fri, 15 Feb 2002 16:15:21 -0600 dunemush (pennmush/12_pennvers.h 1.169.1.42.1.3.1.5 600) *************** *** 1,5 **** & changes ! & 1.7.5p3 This is a list of changes in this patchlevel which are probably of interest to players. More information about new commands and functions can probably be gotten via 'help '. 'help credits' --- 1,5 ---- & changes ! & 1.7.5p4 This is a list of changes in this patchlevel which are probably of interest to players. More information about new commands and functions can probably be gotten via 'help '. 'help credits' *************** *** 11,16 **** --- 11,48 ---- A list of the patchlevels associated with each release can be read in 'help patchlevels'. + Version 1.7.5 patchlevel 4 February 15, 2002 + + Major changes: + * The mush recognizes telnet-aware connections. This is + neccessary for properly sending them some 8-bit characters. [SW] + * Much more support for handling accented characters in the ISO 8859-1 + character set. See help for accent(), stripaccents(), and NOACCENTS. + Inspired by Elendor. [SW] + * Things that do first-unique-prefix matching (command, attribute and flag + names) now use a more space-efficient data structure than before. + This adds two new files, src/ptab.c and hdrs/ptab.h [SW] + Commands: + * @sitelock/remove removes a sitelock entry. [SW] + Functions: + * ord() and chr() functions for converting characters to/from numerical + values that represent them. [SW] + Minor changes: + * The useless FORCE_WHITE flag is really, truely, gone. [SW] + * Use the new arglens argument to functions in more places. [SW] + * capstr() and before() fixes reimplemented using arglens. [SW] + * We now use the Mersenne Twister PRNG algorithm. [SW] + Fixes: + * setunion() no longer eats empty list elements. [SW] + * Setting an inherited lock on a child could change the parent's lock. + Reported by Riverwolf. [SW] + * Help fixes. [SW, Nymeria] + * Players waiting at the connect screen weren't being disconnected + by the idle_timeout. + * Detection of cygwin in Configure may be improved. + * Fixes from 1.7.4p15. + + & 1.7.5p3 Version 1.7.5 patchlevel 3 January 24, 2002 Fixes: *************** *** 125,130 **** --- 157,192 ---- * Indentation fixes [SW] * Fixes up to 1.7.4p12 merged in. + & 1.7.4p15 + Version 1.7.4 patchlevel 15 February 8, 2002 + + Minor Changes: + * @dolist and iter(), where multiple tokens are replaced (## and #@), + now do both replacements at once. This is more efficient in several + ways and fixes a problem where if the second token gets into the + string from a replacement of the first, it gets replaced. (iter(a#@, + ##) should return a#@, not a1). [SW] + * setunion no longer eats empty list elements. [SW] + * The help text for items() is now more descriptive of how it works + and differs from words(). Suggested by Zen@SW1. + * When you attempt to @chzone an object to a ZMO without a zone-lock, + a default zone-lock of "owner of the ZMO" is now set, and the + attempt succeeds. Suggested by Linda Antonsson. + * In the French message translation files, the word 'drapeau' and + 'flag' were used interchangeably. I've standardized on 'flag'. + Report by Vexon@M*U*S*H. + Fixes: + * Message typo fixed by Bellemore@M*U*S*H. + * No more ansified names in logged shutdown messages. Report by + Bellemore@M*U*S*H. + * Messages when destroying players now take into account the + destroy_possessions and really_safe settings. Suggested by Wayne@PDX. + * The parser no longer strips any first layer of braces in, e.g. + @switch action clauses, but only when the first character in the + clause is a brace. This prevents @sw 1=1, @wait me={@emit 1; @emit 2} + from being misparsed and running @emit 2 immediately. Reported by + Azratax@Azmush. [TAP] + & 1.7.4p14 Version 1.7.4 patchlevel 14 January 4, 2002 *************** *** 5063,5070 **** For information on a specific patchlevel of one of the versions listed, type 'help p'. For example, 'help 1.7.2p3' ! 1.7.5: 0, 1, 2, 3 ! 1.7.4: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 1.7.3: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 1.7.2: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 --- 5125,5132 ---- For information on a specific patchlevel of one of the versions listed, type 'help p'. For example, 'help 1.7.2p3' ! 1.7.5: 0, 1, 2, 3, 4 ! 1.7.4: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 1.7.3: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14 1.7.2: 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35 *** 1_7_5.66/game/txt/hlp/penntop.hlp Thu, 22 Nov 2001 15:42:40 -0600 dunemush (pennmush/13_penntop.hl 1.2.1.27.1.3.1.2.1.2.1.3 600) --- 1_7_5.96(w)/game/txt/hlp/penntop.hlp Thu, 07 Feb 2002 12:37:43 -0600 dunemush (pennmush/13_penntop.hl 1.2.1.27.1.3.1.2.1.2.1.4 600) *************** *** 353,359 **** & CREDITS Maintainer: Javelin Developers: Talek [TAP], Trivian [TN], Halatir [LdW], Raevnos [SW] ! Porters: Nick Gammon [NJG] (win32), Dan Williams [DW] (MacOS), Sylvia (OS/2) Former devteam: Rhyanna [RLM] The original TinyMUSH 1.0 code was written by Lawrence Foard, and was --- 353,360 ---- & CREDITS Maintainer: Javelin Developers: Talek [TAP], Trivian [TN], Halatir [LdW], Raevnos [SW] ! Porters: Nick Gammon [NJG] (win32), Dan Williams [DW] (MacOS), ! Sylvia (OS/2), Ervin Hearn III [EH] (win32) Former devteam: Rhyanna [RLM] The original TinyMUSH 1.0 code was written by Lawrence Foard, and was *** 1_7_5.66/game/txt/hlp/pennfunc.hlp Sun, 06 Jan 2002 20:49:01 -0600 dunemush (pennmush/16_pennfunc.h 1.2.1.50.1.1.1.1.1.2.1.7.1.8.1.1.1.1.1.1.1.2 600) --- 1_7_5.96(w)/game/txt/hlp/pennfunc.hlp Sun, 10 Feb 2002 11:38:45 -0600 dunemush (pennmush/16_pennfunc.h 1.2.1.50.1.1.1.1.1.2.1.7.1.8.1.1.1.1.1.1.1.1.1.3 600) *************** *** 180,194 **** String functions take at least one string and return a transformed string, parts of a string, or a value related to the string(s). ! after() alphamin() alphamax() art() before() ! brackets() capstr() case() caseall() cat() ! center() comp() decrypt() delete() edit() ! encrypt() escape() if() ifelse() lcstr() ! left() lit() ljust() merge() mid() ! pos() regedit() regmatch() repeat() reverse() ! right() rjust() scramble() secure() space() ! spellnum() squish() strcat() strinsert() stripansi() ! strlen() switch() trim() ucstr() wrap() See also: STRINGS & Time functions --- 180,195 ---- String functions take at least one string and return a transformed string, parts of a string, or a value related to the string(s). ! accent() after() alphamin() alphamax() art() ! before() brackets() capstr() case() caseall() ! cat() center() comp() chr() decrypt() ! delete() edit() encrypt() escape() if() ! ifelse() lcstr() left() lit() ljust() ! merge() mid() ord() pos() regedit() ! regmatch() repeat() reverse() right() rjust() ! scramble() secure() space() spellnum() squish() ! strcat() strinsert() stripaccent() stripansi() strlen() ! switch() trim() ucstr() wrap() See also: STRINGS & Time functions *************** *** 227,232 **** --- 228,284 ---- Returns the absolute value of a number. i.e. ABS(-4) returns 4; ABS(2) returns 2, etc. + & ACCENT() + accent(,