Posted on October 31, 2020
Mudlet 4.10 & StickMUD
Our favorite web client, Mudlet, is releasing its long anticipated version 4.10! There are more than 160 changes which are part of the 4.10 release. We will highlight a few here and why we contributed them.
Privacy: StickMUD defaults to TLS port (#4072)
Effective October 2020, StickMUD now offers an encrypted way to connect via Telnet over Transport Layer Security (TLS 1.2) to the game server via port 8680. StickMUD is listed as a default game on Mudlet. Beside the connection information for the StickMUD profile, the Secure option is now checked to designate Mudlet connects via encryption.
- To learn more about setting this up for your game, this is a good reference.
Encoding: Server Data Encoding Selection via Telnet CHARSET (#3972)
By default, connections from most text game clients, including Mudlet, are performed with the ASCII encoding. Mudlet supports many other encodings, which are found in the Settings->General tab. The UTF-8 encoding is a preferred option supported by many game servers, because it enables access to the Unicode character set, which supports more international characters and emojis 😎. The change StickMUD contributed to Mudlet was to enable a way for games to automatically negotiate the change to UTF-8 (or another preferred encoding) via the Telnet CHARSET Option.
To learn more about setting this up for your game, this is a good reference.
Main Window Size: NAWS width handling & reporting (#4002)
StickMUD contributed an update to the width handling and reporting frequency for the NAWS (Negotiate About Window Size) protocol in Mudlet. This is relevant because it enables the client to tell the game server that the client window has changed its width (columns) or height (rows), enabling the server to adjust display accordingly.
- Before the change, the width of the window was reported as the wrap value set in “Settings->Main Display -> Wrap lines at” (default is 100 characters). After the change, when the width of the main window is less than the wrap value characters, the width of the main window will be reported.
- Before the change, when the “Settings->Main Display -> Wrap lines at” was adjusted, the new width was not sent as an update to NAWS negotiated servers. After the change, any update to “Settings->Main Display -> Wrap lines at” will trigger an update to NAWS negotiated servers.
Note: The functionality that freezes the width of the window to be the wrap value remains the same when the width value is greater than or equal to the wrap value in Mudlet.
Sound and Music: MXP to MSP Tags (#4015)
MXP tags for playing sound and music are now available via Mudlet. For game admins, if you host media content online, Mudlet will attempt to automatically download the media files with the “U” parameter shown in this example. These are stored in the “media” directory in your game’s profile on Mudlet.
<sound FName="cow.wav" U="https://raw.githubusercontent.com/StickMUD/StickMUDSounds/master/sounds/"> <sound FName="Off"> <music FName="wind.wav" U="https://raw.githubusercontent.com/StickMUD/StickMUDSounds/master/sounds/"> <music FName="Off">
- To learn more about MXP, this is a good reference.
- To learn more about MSP and the parameters that could be used, this is a good reference.
- StickMUD recommends everyone use the MUD Client Media Protocol, which is more current, flexible and uses GMCP. To learn more about MUD Client Media Protocol, this is a good reference.
Sound and Music: Introduce purgeMediaCache() (#4041)
A function was added to Mudlet to allow the “media” folder of your game’s profile on Mudlet. This is useful when updated media files become available.
- To learn more about purgeMediaCache(), this is a good reference.
Sound and Music: Remove Camel Case Package Requirement for MCMP (#3925)
Mudlet was updated to allow games that use the MUD Client Media Protocol to use GMCP package names that are not case sensitive.
- To learn more about MUD Client Media Protocol, this is a good reference.