This update now stores characters' passwords securely, improves selection (but more work to do there), adds ANSI colours to cecho and friends, and fixes the font spacing in the error console.
We know quality of the last few updates hasn't been amazing, and quality is something we pride ourselves in. We've worked extra hard this time to test everything!
Selection in Mudlet has gotten worse in the last few updates - we apologise for that. We're working on fixing that to work as you'd expect, and this update thanks to SlySven and vadi2 brings the following: selecting left to right works better, selecting to the end of line doesn't overselect other text and finally, selecting just one letter is possible.
There are still issues with selection, however: selecting many things up and down doesn't work well for example. We're working on fixing this, look for improvements in future updates.
Remember you can hold Ctrl while selecting to select entire lines at once!
SlySven put in a lot of work to improve stopwatches: they can now persist across sessions, be deleted/recreated as needed, adjusted on the fly, be given names and more. See all of the new functions in the API.
While stopwatches worked as expected, their functionality was very limited. Additionally, they worked differently from their real worl counterparts which made their use not very intuitive.
Mudlet previously stored passwords in an unencrypted binary file. While it wasn't a text file, and thus not so easy to look at, it still wasn't ideal. vadi2 fixed this in this update, and integrated the QtKeychain open-source library to enable Mudlet to store passwords securely on Windows, macOS, and Linux.
The drawback of storing the password on the computer itself, however, is that if you use cloud sync for your profiles - the password won't the syncronised. You can go to Special Options in settings and change the password to be stored within the profile to make that work, if you'd like the password to be portable but visible in plaintext.
This piece of work was a necessary step towards custom locations for Mudlet profiles - necessary for cloud sync and portable Mudlet, so look for more in this area
SlySven worked to make ANSI colours - ones you see in preferences - be available right in your scripts! This means you can create coloured cechoes (and more) with the exactly same colours you'd see in the game. Nice!
In the same vein, as you notice from the screenshot that demonnic worked to make showColors() sort colours! It now is a lot easier to pick out the exact colour you'd like.
Mudlet now automatically goes into Dark Mode if you've got that enabled on your macOS:
Enjoy!
The error console font used to be... strange in the last few releases. We apologise for the lapse in quality here, and it is now fixed.
We've spent time improving the generic mapping script as well, making it easier to use and understand:
Doing map basic will show the room name and exits that have been captured, so you can tell if the script is working.
Thanks to all coders: demonnic, keneanung, Leris, Loon-Toon, SlySven, and vadi2 for making this update possible!
Thanks to all translators: 王AQ (Anselmus), Marco "M0lid3us" Tironi (wiploo), Leris, and vadi2 for keeping translations up to date.
added:
improved:
fixed:
Svof
Mudlet Discord join up
Comments
A few people have commented that their custom prompts disappeared upon updating to 4.2 too. Not a problem I encountered, but both Jarrod and Dominika reported the problem in-game.
(svof): Going into empty defs mode so pre-cache doesn't take anything out, and stuffing away all
riftables...
"startStopWatch: bad argument #1 type (stopwatch id as number or name as string expected, got nil!)"
On a second profile it's completely lost all SVOf settings. All vconfig politics colours, all defs, and my prompt.
I really appreciate the work going into this for free, but please can we have some more testing before updates are released?
Edit - Defups lost on main Sobby profile too...
Luckily, I back up stuff way more than needed. But in this case just closed Mudlet without saving and restarted. But then, I use my own and don't sync across profiles or via cloud.
Penwize has cowardly forfeited the challenge to mortal combat issued by Atalkez.
Svof adds in ansi colours by default. They're labeled as a_darkgreen a_darkred etc. I can't say for certain, but try checking the colours on your prompt tags and whatever else and changing them from a_ to ansi_. Don't see how this would effect defups or settings in any way, that does sound like a svof thing not a mudlet thing, but it could potentially be throwing things like prompt and echoes off as I know svof uses its a_colours pretty extensively.
Results of disembowel testing | Knight limb counter | GMCP AB files