[Home] [Downloads] [Search] [Help/forum]


Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  MUSHclient
. -> [Folder]  Announcements
. . -> [Subject]  Version 4.73 released

Version 4.73 released

Postings by administrators only.

[Refresh] Refresh page


Posted by Nick Gammon   Australia  (22,982 posts)  [Biography] bio   Forum Administrator
Date Sun 08 May 2011 07:14 AM (UTC)

Amended on Fri 13 May 2011 11:44 PM (UTC) by Nick Gammon

Message

I am pleased to release version 4.73 of MUSHclient. See the release notes for more details.

Improvements

  • Added the eKeepEvaluating flag (8) to AddAlias. Also added it to the alias_flags table.
  • Fixed bug so that a newline in world.Execute is correctly processed.
  • Added "read_only", "ok_button_width", "cancel_button_width", and "no_default" options to "extras" table for utils.inputbox and utils.editbox.
  • Fixed various bugs in the generic Find routine.
  • Upgraded SQLite3 from 3.7.3 to 3.7.6.2.
  • Upgraded PNG library from 1.4.3 to 1.5.2.
  • Added new script function WindowSetZOrder which lets you change the Z-Order of miniwindows. This controls the order in which they are drawn (and mouse-clicks processed).
  • In order to prevent a crash, a script (eg. mousedown) called from a miniwindow callback can no longer delete the miniwindow that called it.
  • Added new script function UnloadPlugin. This lets a script remove a plugin from the world.
  • Fixed crash which would occur under certain circumstances (eg. a plugin directly or indirectly writing to the output buffer, when the output buffer was not ready).

Download

You can view the release notes for version 4.73

You can download MUSHclient 4.73 now from ...


  • http://www.gammon.com.au/files/mushclient/MUSHclient_4.73.zip (3.8 Mb).

    This second version (the .zip file) is an "installer-less" version. It is intended for situations where you want to put the MUSHclient directory somewhere you don't have administrator rights to install it to (eg. on a USB drive, on Vista if you are not an administrator, or on Ubuntu, or similar). The zip file contains a MUSHclient folder, and all the usual sub-folders. The preferences are already set up in the mushclient_prefs.sqlite database, with the various folder locations as relative paths (so they refer to sub-folders of wherever you install it). Once you unzip the archive, just execute MUSHclient.exe from that folder. The method I used for creating this "installer-less" version is here.

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 mushclient473.exe you should get this result:

3aada0b92f5fa790c5540ecbd54f1cc2

    If you do an md5sum on MUSHclient_4.73.zip you should get this result:

    34d2c4f66fbdf2611f13cc267cec5d55

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.


Source code

The source code for this version is available from GitHub:

http://github.com/nickgammon/mushclient/tree/v4.73

You can directly download the source from the Downloads page (http://github.com/nickgammon/mushclient/downloads), 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.72..v4.73 --stat

 Finding.cpp                               |  201 ++++++++++++-----------------
 MUSHclient.rc                             |    8 +-
 Utilities.cpp                             |   35 +++---
 dialogs/LuaInputBox.cpp                   |  111 ++++++++++++----
 dialogs/LuaInputBox.h                     |    8 +
 dialogs/LuaInputEditDlg.cpp               |  110 ++++++++++++----
 dialogs/LuaInputEditDlg.h                 |    8 +
 doc.cpp                                   |   44 ++++++-
 doc.h                                     |   11 +-
 doc_construct.cpp                         |    1 +
 install/readme.txt                        |    4 +-
 miniwindow.cpp                            |   16 ++-
 miniwindow.h                              |   10 ++
 mushclient.cnt                            |    2 +
 mushclient.odl                            |   18 ++-
 mushview.cpp                              |   65 ++++++++--
 png/.gitignore                            |    4 +
 png/readme.txt                            |   52 ++++----
 scripting/functionlist.cpp                |    2 +
 scripting/lua_methods.cpp                 |   30 +++++
 scripting/lua_utils.cpp                   |   35 +++++-
 scripting/methods/methods_aliases.cpp     |    1 +
 scripting/methods/methods_commands.cpp    |    5 +-
 scripting/methods/methods_miniwindows.cpp |   23 ++++
 scripting/methods/methods_noting.cpp      |   18 +++-
 scripting/methods/methods_plugins.cpp     |   42 ++++++
 sendvw.cpp                                |    2 +-
 sqlite3/readme.txt                        |    6 +-
 stdafx.h                                  |    4 +-
 29 files changed, 614 insertions(+), 262 deletions(-)

   

Commit log (date order)


$ git --no-pager log --pretty=oneline --reverse --abbrev-commit v4.72..v4.73

ddaf1ab Updated version number to 4.73
4821326 Added eKeepEvaluating flag to AddAlias
01a7858 Added KeepEvaluating to the alias_flag table
773ee3b Fixed bug where a newline in world.Execute is correctly processed.
97888a3 Fixed error message in gen_inputbox
84486cc Added read_only flag to extras table for utils.editbox and utils.inputbox
d33099e Allowed OK and cancel buttons sizes to change, and no_default option
9f901d5 Fixed bugs in generic Find routine
e873506 Updated PNG to 1.5.2 and SQLite3 to 3.7.6.2
d11a909 Added script function WindowSetZOrder to specify miniwindow drawing order
d6eb9b5 Miniwindow scripts can no longer delete the invoking miniwindow
f33af34 Added warning in source about Hyperlinks with omit from output
5072cd1 Added UnloadPlugin script function
9ac3d51 Fixed crash if attempts to Note were done before output buffer ready
8d68d3c Updated .gitignore to handle extra files
31244ed Final changes before release


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


6,539 views.

Postings by administrators only.

[Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.

[Home]


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( https://gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Hosted at HostDash]