Lua 5.1.2 DLL released

Posted by Nick Gammon on Thu 12 Apr 2007 02:53 AM — 3 posts, 13,244 views.

Australia Forum Administrator #0
There has been a bug-fix of Lua released. The latest Lua version is now 5.1.2.

Version 3.80 of MUSHclient was released with Lua 5.1.1.

The changes in Lua 5.1.2 are noted here (that is, the bugs which were in 5.1.1, but not in 5.1.2):

http://www.lua.org/bugs.html#5.1.1


Most of the bug-fixes are fairly obscure, however if you want the latest version of the script engine, simply download this file, unzip it, and replace the lua5.1.dll in your MUSHclient installation directory with the one from the download. There is also a new version of lua5.1.exe for standalone operation.

The DLL has exactly the same name as before, which is required because MUSHclient is linked against the DLL name.

The new version is available at:

http://www.gammon.com.au/files/mushclient/lua5.1_extras/lua5.1.zip

Lua 5.1.2 will be supplied with forthcoming releases (that is, MUSHclient 4.03 onwards).
Australia Forum Administrator #1
One of the bugs fixed is one I reported to the Lua team myself. If you have Lua 5.1.1 you can try this:


/ print (os.date (""))

Output
Run-time error
Immediate execution
[string "Command line"]:1: 'date' format too long
stack traceback:
        [C]: in function 'date'
        [string "Command line"]:1: in main chunk


If you have Lua 5.1.2 you should simply see an empty string printed.
Australia Forum Administrator #2
The md5sums for the files in the Lua extras directory are now:


fa6515b07b043812d77c9b9dc0ce3f53 *G15_Display.zip
ed273179233b1c3da2fdebca1af7b390 *lua5.1.zip
2d6e852f332db06978ffa57d56817b00 *lua5.1_lib.zip
f26034eee3ec1720aa2997230d24358b *luac5.1.zip
02f70e7e108ebdb7e7276cef27a295ac *luacom.zip
3a5d1c196819d957578f77231070153e *mysql.zip
7ebf3323439afe75d47f565c3a477d0e *odbc.zip
f50a017e6fcbb3a5489623ea9ad4c989 *windows_utils.zip