News/ 2021/ November/ 4.14 – a statue of a giraffe in front of a waterfall

Release 4.14.1

4.14 – a statue of a giraffe in front of a waterfall

AI is all the hype these days, so we asked what AI thought of Mudlet’s logo… apparently it is a statue of a giraffe in front of a waterfall. That’s not relevant to today’s release, but we thought you’d be interested in knowing this! Features in this update include a dark theme toggle, addition of MUME, Discord button to open the game’s server, and additional text wait time is now adjustable!

Dark theme toggle

edru2 added a dark theme to Mudlet! You can how select it in settings:

vadi2 followed the option up with a feature to follow your system setting and to also update your editor theme.

MUME

Middle Earth makes its way into Mudlet, welcome!

Multi-Users in Middle-earth (MUME) is a highly competitive world PvP DikuMUD, set in J. R. R. Tolkien’s fictional world of Middle-earth, as described in The Hobbit and The Lord of the Rings, where players may choose to join the epic war between the forces of Sauron and the armies of the Free peoples. In MUME players can explore, role-play, acquire achievements, and complete quests across many challenging locations across Middle-earth such as Lothlórien, the Shire, Bree, Rivendell, Goblin-town, Mirkwood, Dol Guldur, and the Mines of Moria. The game is completely at no cost to play and has been continually enhanced since its inception in the fall of 1991.

Discord button customisation

atari2006tim worked on the Discord button! Games can now tell Mudlet what their Discord invite is, and once they do so – Mudlet will show a button that’ll take the player to straight to the game’s Discord server 😃

Adjustable text wait timer

SlySven has done work on the text wait timer for games that lack Telnet GA or EOR signalling and made it configurable in settings. By default this timer was 0.3s, which you can now lower or increase as needed.

Why do we even need to have it? Well because not all games are telling Mudlet when they are done sending all text. That’s exactly the meaning of GA. Games that do implement GA have no timer at all. Thus the better solution is, of course, to encourage games to implement GA!

Lowering the timer runs the risk that not all text will be received from the game before showing it on screen, which could ‘break’ your triggers for that particular line. Increasing the delay reduces that risk, but then of course the experience is compromised.

Lua, Rainforest tests

Quality is an important area of Mudlet, and alongside the newly created QA team, vadi2 has worked on automating Mudlet to run our Lua tests! Now whenever an improvement is done to our Lua functions, a copy of Mudlet is launched automatically in the cloud and all existing Lua tests are run to ensure nothing breaks. This also gives a safety net to anyone working on Mudlet that should they break something on accident, it’ll get caught. That said, the safety net needs to be expanded to cover all tests – so we’d love for volunteers to help strengthen it.

That’s not all on the quality story, either! vadi2 also worked on setting up visual tests that ensure the Mudlet interface itself – one you see and play with – is tested. Similar to Lua tests, automation launches Mudlet in the cloud and follows a script to click around on buttons and observe that they do what they ought to do. It is relatively intuitive to setup these tests, and we’d also love it if we had more volunteers to help flesh them out:

📢 Vote on best improvement

We announced earlier a trial to pay a bit of money for the top 3 most popular PRs – well it’s kicking in with this release! Head over to the form to vote on your favourite improvement in this update.

Anyone who submits an improvement to Mudlet is eligible for a spot on the poll. That said, this is still an experiment we’re trying out so we might change or scrap it in the future if it doesn’t work out.

Credits

Thanks to all coders who made this release happen! atari2600tim, Damian Monogue, Kebap, Manuel Wegmann, Mike Conley, mudlet-machine-account, Nils Schimmelmann, Piotr, Slobodan Terzić, Stephen Lyons, Tim Johnson, Vadim Peretokin, and 噢哎哟喂.

Thanks to all translators dutifully carrying the flags: Alan Sneath (alsneath), ifelse, Kamil Tunkiewicz (zeddicus), Leris, Marco “M0lid3us” Tironi (wiploo), vadi2, and vingi.

Changelog

There’s a lot of improvements in this Mudlet update besides the top 5 listed above, so dig into the changelog below to find goodies:

>changelog — Mudlet-4.13.0…Mudlet-4.14.1 124 changes
added
Add `--mirror` option for logging output to console #5402
Add Lua tests to CI #3795
New Crowdin updates #5462
Add dark theme toggle to preferences #4984
Add what color formats are acceptable in places it is missing in Geyser ldoc comments #5471
Add option for secure IRC connections #5473
Add an option to show errors view from the toolbar #5511
link to vision in README file #5516
Add IDManager and named tempTimers/event handlers from script #5521
add resetDiscordData() function #5491
Add Multi-Users in Middle-earth #5537
Add customization of Discord button using invite URL from GMCP or Lua #5490
clear error console functionality #5583
Save/Load map as .json from preferences dialog #5559
Custom right click menu items for command lines #5582
Add events when a speedwalk() is stopped, paused, or finishes (reaches the end) #5542
offer to update editor theme as well for dark theme #5563
`map.pauseSpeedwalk()` and `map.resumeSpeedwalk()` + mpp alias to generic mapper #5629
auto-enable theme for dark mode desktops #5574
show unicode characters which can change how code is interpreted in editor #5650
add mirror generic_mapper download path for chinese player #5652
Add IDManager.lua to mudlet.pro #5659
improved
allow wait for more network packets to be adjusted #5403
[Refactor} remove unneeded (and dangerously named) local variable #5464
simplify dlgRoomExits() invocation #5498
[CodeFactor] eliminate (some of) our C style casts #5355
use constants to index into special exit columns in dlgRoomExits #5505
update bundled NotoColorEmoji font #5507
cleanup room_exits.ui file #5512
Create room at right-click position #5526
Properly announce Discord failing on length 1 texts #5524
Improve map context item names #5525
icons not coloured status text for normal exits in exits dialog #5513
improve Discord custom button text limited in size not to get too big #5540
shorten welcome message for new aliases & triggers #5550
Create map / Load map dialog will be again present for empty map #5560
Clear edit forms for deleted items #5561
icons not coloured status text for special exits in exits dialog #5543
sync mpackage modules #5475
Remove extra braces in contructor arguments #5617
New Crowdin updates #5469
better map.echo in map.find_me #5656
New Crowdin updates #5654
fixed
Fix `ansi2decho` to calculate correct values for xterm256 colors > 16 #5444
repair prevent all controls from being hidden feature #5445
Fix copy2decho() on empty lines #5465
try and make connectExitStub(...) work as per the API #5395
Fix white profile in Windows dark theme #5482
Fix CodeQL warnings #5496
eliminate a load of warnings about missing-field-initializers #5501
don't show jibberish when Adjustable Container title bar is too short + add position as option for setTitle #5493
modules no longer get emptied if reloaded during saveProfile() #5509
Fix Export Triggers title bar to be more generic #5530
settings button will be available again before you connect to a profile #5578
Fix copy2decho, copy2html to work for all international text #5572
only provide NAWS information from main console #5160
remove stray debug messages #5571
disable more controls in preferences when there is no host #5591
update default Zombiemud port #5576
remove spaces in initializer brackets #5606
Lua functions for tempKey and tempAlias #5596
fix Discord logo dimensions on profiles screen #5581
update PCRE download source to one that still exists #5613
correct a missing override that showed up during CI #5609
Fix generic mapper custom_exits bug, add special exits support for chinese mud #5620
clear speedWalkPath and speedWalkWeight in generic_mapper upon completion #5642
fix buttontoolbar resizing on start #5637
Fix faulty regular expression error message #5657
other
(autocommit) Updated IRE mapping script to latest upstream #5447
Merge 4.13.1 into -dev #5453
Adjust height of command box when cycle through history #5446
remove some warnings in uses of QKeySequence #5458
switch literal n to new line in a debug message #5463
(autocommit) Updated text for translation #5467
(autocommit) Updated IRE mapping script to latest upstream #5468
Bump actions/setup-node from 2.4.0 to 2.4.1 #5470
Gmod busted tests #5472
More debug and error printing options #5457
Only enable IRE driver GA bugfix for IRE games #5474
Unregister fonts upon package/module uninstall #5480
(autocommit) Updated text for translation #5494
(autocommit) Updated IRE mapping script to latest upstream #5495
Do not trim whitespaces in tab completion #5477
(autocommit) Updated text for translation #5514
(autocommit) Updated autocompletion data #5515
Adjust changelog to strip category definitions from the front of lines #5518
Prefix changelog items list-style #5527
(autocommit) Updated text for translation #5533
(autocommit) Updated autocompletion data #5555
(autocommit) Updated IRE mapping script to latest upstream #5554
(autocommit) Updated text for translation #5553
Move showStatistics from TConsole to TMainConsole #5558
(autocommit) Updated autocompletion data #5586
(autocommit) Updated text for translation #5584
(autocommit) Updated IRE mapping script to latest upstream #5585
Merge remote-tracking branch 'origin/development' into release-4.14
(autocommit) Updated IRE mapping script to latest upstream #5633
4.14 release!
Reset to -dev
.1 update for tabs in editor
infrastructure
Revert "(autocommit) Updated IRE mapping script to latest upstream (#5447)" #5451
Revert "Cleanup: remove some warnings in uses of QKeySequence" #5459
git ignore 3rdparty boost and cocoapods #5478
add knowledge for debug symbols in builds #4774
danger checks in JS #5489
Improve ptb changelog generation #5500
remove unrendered emoji characters from changelog script. #5508
Infrastructure Bump actions/setup-node from 1 to 2.4.1 #5517
fixed autoupdate workflows to trigger checks #5528
More adjustments to the changelog styling #5531
make sure to fail Windows builds in case the packaging step failed #5539
added label for port in Github Codespaces #5536
add 'Chancel' as an allowed codespell - it's an area in Lusternia #5587
read error log correctly from Windows installer tool #5538
close out p tag in text label #5607
updated Lua tests documentation #5602
give a danger-friendly PR title to Crowdin updates #5605
remove unused mUserDefinedName in code #5535
disable Windows builds in GHA #5614
update appveyor signing password #5615
Add 'nd' as an allowed word #5616
fix Windows changelog generation now that we have quotes #5618
Update text for translation in Crowdin #5660
Revert "Reset to -dev"
↑↓ navigate ↵ open ctrlK anywhere