I am pleased to release version 4.99 of MUSHclient. See the release notes for more details.
- During plugin callbacks attempts to output Note, Tell or similar (eg. ColourNote, print in Lua) are deferred until the end of the next line of input from the MUD.
- Do not allow DeleteTemporaryTimers, DeleteTemporaryAliases, DeleteTemporaryTriggers to delete one which is currently executing a script.
- Updated LPEG (Lua Parsing Expression Grammar) from version 0.10 to 0.12. This includes an updated re.lua file.
- Modified Debug "summary" to include expansion of operating systems names Windows 8 and Windows 10.
- Updated PCRE (regular expression) library from 8.36 to 8.37 which is basically a bug-fix release.
- Updated PNG library from 1.6.17 to 1.6.18. This has minor bug-fixes.
- Updated SQLite3 library from 22.214.171.124 to 126.96.36.199.
Warning about LPEG incompatibility with JSON
It has emerged that the improvements to LPEG in this release are not compatible with the version of LuaJSON shipped with the release. This can be remedied by downloading a later version of LuaJSON as described in this forum thread.
You can view the release notes for version 4.99
You are strongly advised to backup (make a copy of) your existing MUSHclient world files before upgrading. Just in case.
If there are any problems, please post messages to the Bug Reports, Suggestions, or General parts of this forum.
MD5 sum for the installer
If you do an md5sum on mushclient499.exe you should get this result:
The forum post a small script to sumcheck the MUSHclient download shows how you can write a small script in MUSHclient to do the sumcheck. It also lists some places you can download md5sum.exe to do the sumcheck (if this is the first time you have downloaded MUSHclient).
One way of doing an md5sum is to download the Installer_sumcheck plugin from the Plugins page (RH click that link and "save link as" to get the plugin). Then install the plugin (see the File menu -> Plugins) and type "md5sum" which lets you browse to the installer file, load it, and display the sumcheck.
Message about "Failed to load resources file"
Some users are reporting getting a message like "Failed to load resources file: C:\Programme\MUSHclient\locale\DE.dll - trying English file" when starting MUSHclient (the DE.dll part might be another language like FR.dll).
This will be because you have customized the "locale" of MUSHclient to other than EN (English).
See the How to localize MUSHclient messages into other languages forum posting for more details about localization.
To fix this, find the directory you installed MUSHclient into (eg. "C:\Program Files\MUSHclient\") and then locate the subdirectory "locale". In that you will find a file en.dll. Copy or rename that file to match the missing file in the message (eg. copy en.dll to de.dll).
Alternative suggestion: Go into the File menu -> Global Preferences -> General, and change the field "Locale code" back to "EN" (English) and then it should look for EN.DLL next time.
Warning about Lua 5.1 upgrade (September 2006)
MUSHclient version 3.80 upgraded the Lua script engine from Lua 5.0.2 to 5.1.1. If you are upgrading to this version from an earlier version than 3.80, you should read Version 3.80 released - with Lua 5.1 script engine - this post has recommendations about what is required if you use Lua scripting or Lua plugins. Note: Since version 3.80 was released, the version of Lua has been upgraded. It is currently 5.1.4. Some versions (versions 4.49 to 4.52 of MUSHclient) may incorrectly report they are using Lua 5.1.1 when you open a world.
Warning about upgrading from versions prior to 3.21 (May 2002)
MUSHclient version 3.85 (onwards) no longer reads the old "binary" world files produced by versions prior to 3.21. For more information about this please read the forum post Versions 3.85 onwards no longer support world files created prior to version 3.21 - this post has recommendations about how to upgrade your world files if you are upgrading from a version earlier than 3.21.
Note that version 3.21 was released quite a few years ago (May 2002), so people who have recently installed MUSHclient should not have any problems.
The source code for this version is available from GitHub:
You can directly download the source from the Downloads page (https://github.com/nickgammon/mushclient/archive/master.zip), or preferably install Git and use the appropriate commands to clone or pull the source. For some suggestions about getting the source from Git see MUSHclient source being made available on GitHub forum posting.
If you install Git, subsequent downloads (of new versions) will be much faster as it only needs to download the changes, not the whole source. Also by using Git you can find out exactly what has changed from version to the next.
Summary of changes in this version
$ git --no-pager diff v4.98..v4.99 --stat
MUSHclient.dsp | 61 +-
MUSHclient.rc | 8 +-
doc.h | 6 +-
doc_construct.cpp | 1 +
install/readme.txt | 4 +-
lua/re.lua | 61 +-
pcre/readme.txt | 2 +-
plugins.cpp | 31 +
png/readme.txt | 3 +-
scripting/lpeg.c | 2433 --------------------------------
scripting/lpeg.h | 42 -
scripting/lpeg/lpcap.c | 544 +++++++
scripting/lpeg/lpcap.h | 43 +
scripting/lpeg/lpcode.c | 993 +++++++++++++
scripting/lpeg/lpcode.h | 40 +
scripting/lpeg/lpprint.h | 35 +
scripting/lpeg/lptree.c | 1307 +++++++++++++++++
scripting/lpeg/lptree.h | 77 +
scripting/lpeg/lptypes.h | 161 +++
scripting/lpeg/lpvm.c | 363 +++++
scripting/lpeg/lpvm.h | 58 +
scripting/lua_utils.cpp | 2 +-
scripting/methods/methods_aliases.cpp | 2 +-
scripting/methods/methods_noting.cpp | 4 +-
scripting/methods/methods_timers.cpp | 2 +-
scripting/methods/methods_triggers.cpp | 2 +-
sqlite3/readme.txt | 2 +-
world_debug.cpp | 17 +-
28 files changed, 3763 insertions(+), 2541 deletions(-)
Commit log (date order)
$ git --no-pager log --pretty=oneline --reverse --abbrev-commit v4.98..v4.99
8c84239 Updated version number to 4.99
9151f01 Defer outputting world.Note and similar during plugin callbacks
3386efc Do not allow DeleteTemporaryTimers/Aliases/Triggers delete one that is executing a script
d127c09 Updated lpeg (Lua Parsing Expression Grammar) from version 0.10 to 0.12
abd8293 Project file and re.lua file changes for the LPEG updates
a51d360 Added Windows 8 and Windows 10 to debug summary OS names
b80b502 Fixed compiling error under Visual Studio 2010
25d2910 Updated PCRE from 8.36 to 8.37
1f6f5d7 Updated SQLite3 library from 188.8.131.52 to 184.108.40.206
dbfb643 Updated PNG library from 1.6.17 to 1.6.18
3f00c09 Final changes before release