21 | 04 | 2018
Version 4.2.2

This is a minor release with only a few small changes:

You can now configure whether MudMaster 2k6 hides in the tray when you minimize it. The default will be to remain visible in the taskbar.

DLL loading code now allows the dll authors to specify the dll should only be loaded once. The dll constructor has to handle the checking and return "singleton" if it is already running.

Several small changes to the database code changing the debug output, an object change, and setting the default mySQL port to 3306

the connect to mud string is now processed by script so actions can be made to trigger on it.

Files retrieved via the web are no longer cached.

The index of action and aliases reported in /grep result is correct now

New in this release:

System variable called $CurrentLogFile which is empty if the session is not logging but is the log file name while logging. This allows you to have script check for logging. @isempty($CurrentLogFile) returns 0 while logging and 1 once the log is closed.

System variable called $ReturnTripMsecs contains the milliseconds between when the last text was sent to the mud and the first bytes received from the mud after that. This is always displayed on the bottom status portion of the window to the left of Cmds:

New Database Connection String prefix of my5 for accessing via the MySql 5.1 ODBC connector. This expects you to provide the full connection string. For example, /sqlquery {select * from table1}{results} {my5:Server=mysql.mydomain.net; Port=3306;Database=exampleDB;Uid=myuser;Pwd=mypass;}

New Command

/listsort {list}{a or d} sorts the list either ascending or descending.

New procedures

@getArrayRows(arrayname) and @getArrayCols(arrayname) which return the row and column dimension size of the named array. 

@LeftPad(Some text,pad character,total string length) unlike @PadLeft which just concatenates a fixed number of the pad character @LeftPad only pads with enough characters to bring the string up to the total. If the initial string is longer that the total requested in will be truncated.

@RightPad(Some text,pad character,total string length) unlike @PadRight which just concatenates a fixed number of the pad character @RightPad only pads with enough characters to bring the string up to the total. If the initial string is longer that the total requested in will be truncated.

Input line has a new config option Show Border found on the Terminal/Input configuration tab of session options. Apparently extremely old versions of mm2000 had a border around the input so if you miss it you can have it.

 

 Test image medievia12pt

Test image silvercrescent11pt.png