Up to Main Index                             Up to Journal for April, 2022

                      JOURNAL FOR SUNDAY 3RD APRIL, 2022
______________________________________________________________________________

SUBJECT: A few bug fixes and new player selectable prompt styles
   DATE: Sun  3 Apr 19:39:17 BST 2022

It’s been a week since I did a surprise and unplanned Beta 5 release. I hadn’t
planned on a release but there were a lot of changes accumulating — about 50
commits. All has been quiet since, I take that to be a good sign.

Since then I’ve been dotting i’s and crossing t’s ready for the actual v0.0.19
release. I’ve fixed the outstanding issues with mobiles and health events not
being registered. This could occur when a mobile is initially loaded and needs
healing, or when a held mobile is junked that needs healing.

For junked items, events were being cancelled instead of suspended. This would
allow preventing events from firing by repeatedly junking an item. The issue
has now been fixed and junking an item now causes events to be suspended.

User selectable prompts have been implemented. Players can currently choose
from five available prompts. A new /PROMPT player command can list, check and
switch prompts. The prompts available are:


    NONE:
  CURSOR: >
   BRIEF: H:30>
   SHORT: H:30/30>
    LONG: Health: 30/30>


An in-game example:


  H:30/30>/PROMPT
  Prompt is currently SHORT.
  H:30/30>/PROMPT ?
  Prompt type must be one of: BRIEF, CURSOR, LONG, NONE, SHORT
  H:30/30>/PROMPT NONE
  Prompt is now NONE.
  /PROMPT CURSOR
  Prompt is now CURSOR.
  >/PROMPT BRIEF
  Prompt is now BRIEF.
  H:30>/PROMPT SHORT
  Prompt is now SHORT.
  H:30/30>/PROMPT LONG
  Prompt is now LONG.
  Health: 30/30>


Something that was not implemented in v0.0.18, prompts are now persistent and
the player’s choice will survive across logins. Newly created players will
have a default SHORT prompt. Existing players will be upgraded to a default
SHORT prompt on first login.

With those changes I think everything from v0.0.18 as been reimplemented in
the new code. It has taken about 9 months to rewrite a decade of code. Looking
back, was it worth it? I believe it was. The code is in much better shape and
it is a lot easier to make changes. There is still a lot of cleaning up to be
done — the code was written in a “fast and furious” style in order to just get
everything working. The current plan is to get v0.0.19 released, implement
combat for v0.0.20, review the code and clean-up.

The bug fixes and new /PROMPT command are on the public dev branch. If there
are no surprises I’ll try and release v0.0.19 this week :)

--
Diddymus


  Up to Main Index                             Up to Journal for April, 2022