Up to Main Index                         Up to Journal for September, 2021

                   JOURNAL FOR SUNDAY 19TH SEPTEMBER, 2021
______________________________________________________________________________

SUBJECT: Input handling, output colours and bug fixes
   DATE: Sun 19 Sep 19:29:36 BST 2021

A new update has just been pushed out to the public experiment branch. The
main change is the addition of colours for commands. In general a successful
command response is green and a failed command response is red. Informational
messages and notifications are yellow.

The code handling input from players has been updated. Backspace is handled
for clients that send a literal backspace when deleting input. This can happen
if the Telnet client is not providing line editing — maybe it’s not supported
or not turned on. This is common with the default Windows Telnet client. The
code handling input will also validate input and filter out invalid runes and
UTF-8 sequences as well as codepoints in the C0 and C1 blocks.

The INVENTORY command had a minor text tweak. Instead of “You are carrying”
it now reads “You currently have”. This is because items can be held, worn or
wielded so “carrying” made little sense.

A bug has been fixed in the HOLD and WEAR commands. If you didn’t have the
body slots required to HOLD or WEAR an item a broken message was displayed:


  You can't hold X while holding .
  You can't wear X while wearing .


The correct messages are now displayed:


  You are incapable of holding X properly.
  You are incapable of wearing X properly.


The most common cause for this is if there are tiny, small, medium and large
variations of the body slots defined. A regular player can’t wear the tiny
clothes of a pixie — unless they are playing a pixie I guess…

A veto check was missing for the READ command. This has been added and reading
something can now be vetoed.

A veto check was also missing for the OPEN and CLOSE commands. The checks have
been added allowing OPEN and CLOSE to be vetoed. However, OPEN and CLOSE are
not vetoed for the item itself. This means automatic opening and closing of
doors using a Trigger event still work.

All changes are now out on the public experiment branch.

I said a while ago I was thinking of releasing snapshots for the experiment to
make it more accessible. As the experiment *WILL* become the next release I
want to merge the experiment into the main dev branch first. Before I do that
there is one more change I am working on to improve messages first. The plan
is to then do a clear down of the dev branch and merge in the experiment.

Finally, I’ll start releasing a snapshots. Once development reaches or exceeds
the current version of WolfMUD I’ll then make a full release.

--
Diddymus


  Up to Main Index                         Up to Journal for September, 2021