Repository navigation
sheet-charge 1.2.3: compare an encounter's room by objid - #95
Conversation
An encounter stores its room as objid(%l), but the join, add, leave and end notices compared it with %l or loc(), which answer with the bare dbref. The two never matched, so the "you are not in its room" notices went to people standing in it. Compare objid(%l) and objid(loc(...)). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
|
No actionable comments were generated in the recent review. WalkthroughThe ChangesSheet-charge release
Estimated code review effort: 2 (Simple) | ~8 minutes Possibly related PRs
Suggested reviewers: Merge Risk:
|
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Part of the 1.0 readiness pass, workstream Q2 (SharpMUSH/SharpMUSH#2561).
An encounter stores its room as
objid(%l). The join, add, leave and end notices compared that stored value with%lorloc(), which return the bare dbref. SharpMUSH#2561 makesloc()return the bare dbref too, as PennMUSH does. Because the stored objid and the bare dbref never match, the "you are not in its room" notices went to people who were standing in the room.This PR changes the four comparisons to use
objid(%l)andobjid(loc(...)). Those match the stored objid both before and after SharpMUSH#2561, so the two PRs can merge in either order.sheet-charge/package.yaml: the fourcomp()calls, and version 1.2.3 (main already took 1.2.2 for the 1.0 compatibility mark).index.yamlandREADME.md: version 1.2.3. The README table was regenerated withtools/readme-packages-table.py.tools/release/packages.py check-bumps origin/main HEAD: OK.🤖 Generated with Claude Code
https://claude.ai/code/session_01Rqqt7UANHQ73A3Wsib6mkh
Summary by CodeRabbit
sheet-chargepackage version to 1.2.3.