Up to Main Index                             Up to Journal for April, 2022

                     JOURNAL FOR MONDAY 18TH APRIL, 2022
______________________________________________________________________________

SUBJECT: Bits and pieces from last week + an early sneak peek…
   DATE: Mon 18 Apr 20:43:45 BST 2022

The past week has been a bit mad. There I was, minding my own business waiting
for Go updates to drop. I spent the time cleaning up some odds and ends, added
a new history feature, and found a potential security issue. As I fixed the
security issue Go 1.18.1 and Go 1.17.9 dropped. New Chromebook was delivered.
Spotted a Raspberry Pi essentials kit in stock at Pimoroni, containing an 8Gb
Raspberry Pi 4.

I ordered the Raspberry Pi immediately on Wednesday when I saw it. The order
status has stayed at “picked” and not progressed to “shipped”. I really hope
this is due to Easter and that they haven’t just taken my money and can’t
actually fulfil the order. This Pi is for ARM 64-bit work, including WolfMUD.

The Chromebook. I needed to replace my Acer R11 (CB5-132T). Nothing wrong with
the R11, it was well looked after and in very good condition — but approaching
AUE[1], damn annoying :( The new Chromebook is an Acer Spin 511 (R752TN). The
Spin 511 is basically an updated R11, with a stylus. With an Easter discount
it cost £275 and has a “use by” date of June 2027, five years from now.

The v0.0.19 release is currently soaking for a few days. If no serious bug
reports crawl in I’ll release Beta 6 as v0.0.19 with release notes detailing
differences between v0.0.18 and v0.0.19 and any action required to upgrade.

I hope the new Pi arrives in time to test the ARM64 builds before release.

In my haste with the beta I didn’t really explain the new player history.

There is a new player command /HISTORY, abbreviated as ‘/!’ that will show the
three most recent player commands. Any of the three commands can be recalled
using ‘!’, ‘!!’ or ‘!!!’. The /HISTORY and ‘/!’ commands do not get added to
the history. A recalled command is not added to the history. If the current
command is a duplicate of the most recent command it is not added to the
history. History in the making:


  :
  :
  You see a small doll here.

  You see exits: west
  H:30/30>EXAMINE DOLL
  You examine the small doll.
  This is a small child's toy doll. They are wearing a tiny dress and a tiny hat.
  H:30/30>GET DOLL
  You get the small doll.
  H:30/30>DROP DOLL
  You drop the small doll.
  H:30/30>/HISTORY
  Your three most recent commands:
      !: DROP DOLL
     !!: GET DOLL
    !!!: EXAMINE DOLL
  H:30/30>!!!
  You examine the small doll.
  This is a small child's toy doll. They are wearing a tiny dress and a tiny hat.
  H:30/30>!!
  You get the small doll.
  H:30/30>!
  You drop the small doll.
  H:30/30>!!!
  You examine the small doll.
  This is a small child's toy doll. They are wearing a tiny dress and a tiny hat.
  H:30/30>/HISTORY
  Your three most recent commands:
      !: drop doll
     !!: get doll
    !!!: exam doll
  H:30/30>


Anything else to report? Hrm… first ever successful combat in WolfMUD? This is
a very early pre sneak peek, it is not on the public dev branch yet — hell it
isn’t even committed to any of my local branches yet!

From the attacker’s point of view of the fight:


  Welcome back Diddymus!

  [Fireplace]
  You are in the corner of the common room in the dragon's breath tavern. A fire
  burns merrily in an ornate fireplace, giving comfort to weary travellers. The
  fire causes shadows to flicker and dance around the room, changing darkness to
  light and back again.

  You see no obvious exits.
  H:30/30>
  There is a cloud of smoke from which Tass emerges coughing and spluttering.
  H:30/30>ATTACK TASS
  You attack Tass!
  H:30/30>
  You hit Tass (13).
  H:30/30>
  You hit Tass (11).
  H:30/30>WIELD DAGGER
  You wield the dagger.
  H:30/30>
  Tass hits you (9).
  H:21/30>
  Tass hits you (8).
  H:13/30>
  You hit Tass (14).
  You kill Tass!
  H:13/30>


From the defender’s point of view of the fight:


  Welcome back Tass!

  [Fireplace]
  You are in the corner of the common room in the dragon's breath tavern. A fire
  burns merrily in an ornate fireplace, giving comfort to weary travellers. The
  fire causes shadows to flicker and dance around the room, changing darkness to
  light and back again.

  You see Diddymus here.

  You see no obvious exits.
  H:30/30>
  Diddymus attacks you!
  H:30/30>
  Diddymus hits you (13).
  H:17/30>
  Diddymus hits you (11).
  H:6/30>
  Diddymus wields a dagger.
  H:6/30>
  You hit Diddymus (9).
  H:6/30>
  You hit Diddymus (8).
  H:6/30>
  Diddymus hits you (14).
  Diddymus kills you.
  [Fireplace]
  You are in the corner of the common room in the dragon's breath tavern. A fire
  burns merrily in an ornate fireplace, giving comfort to weary travellers. The
  fire causes shadows to flicker and dance around the room, changing darkness to
  light and back again.

  You see Diddymus here.

  You see no obvious exits.
  H:1/30>


This is about as basic as combat can be, there aren’t even any corpses yet.

For testing combat I’m using the quiet zone, quiet.wrj, this means only combat
and health events are firing. Each round of combat it’s a simple 50/50 chance
who hits. Damage is 8 + (random 1-8) for quick fights. Time between rounds is
2 seconds. It’s possible to issue commands during combat — the sneaky dagger
wielding in the above. This is all just to get something working. Actual
weapons, armour and everything else you would expect in a combat system is yet
to be implemented :P

I hope to have implemented enough of the combat system so that when v0.0.19
drops I can push an update to the public dev branch and get the ball rolling
for a v0.0.20 release :)

--
Diddymus

  [1] AUE: Automatic update expiry, aka use by date :|


  Up to Main Index                             Up to Journal for April, 2022