Skip to content

v1.0.14 — fluid walking & combat

Latest

Choose a tag to compare

@samulit samulit released this 15 Jun 09:25

Fixes the mapper-induced lag that made the package slow while speedwalking and during combat (issue #4 and in-combat reports).

  • Room fast-path. onRoomInfo no longer rebuilds a room you walk back into unchanged — it caches a per-room signature (name, area, sorted exits, coords, terrain) in the persisted id-map and just recenters the view. Any real change still triggers the full rebuild.
  • Saves deferred off the hot path. The map is flushed to disk only after ~10s idle and never during combat, with a 5-minute hard cap, instead of a blind 30s cadence. No more full-map saveMap stutter mid-walk or mid-fight.

Measured on a 40-step walk: redundant map writes dropped from 187 → 2 and the map save moved entirely off the movement path.

Fast-path approach and idle-save thresholds contributed by Steve De Jongh (sdejongh / Arthr), PR #5.

In-Mudlet auto-update will pick this up; manual install: https://github.com/Icesus-mud/mudlet-package/releases/latest/download/Icesus.mpackage