Dimension Hole: a use refused for level shows no message (port UIIT_MGS_ERR_GOD_LEVEL)

未关闭 适合新手
#4,949 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
78/100
Issue 类型
缺陷
描述清晰度
描述清楚
活跃度
活跃
技术栈
go, typescript
领域
frontend, game-dev

调研方向

从 inventory-notices.ts 和被引用文件 research/findings/forgotten-world-hole-location-v1188.md 的第 4 节入手,确认错误映射和原生消息。找到 Forgotten World 文本条目和物品使用通知的测试;补充 [2, 0x51] 在开关开启和关闭时的覆盖。完成条件是:开关开启时显示楼层通知,关闭时保留当前行为。

由索引模型根据 Issue 内容生成。

描述

What happens

A player right-clicks a Dimension Hole whose level band they are outside, and nothing happens. The server refuses the use correctly (0xB5BD result 2, code 0x51, i.e. 0x1851), but the client's item-use notice mapper (inventory-notices.ts, category 1) has no line for 0x51, so the refusal is silent. The player can't tell why the Hole didn't work.

Seen on a dev stack with SRO_FORGOTTEN_WORLD_ENTRY=on: a level-120 character got item-use: refused code=81 for every Hole it held. The highest band is 101..110.

Native

The VSRO 1.188 client routes the Hole handler's refusals through its item-use error table. See research/findings/forgotten-world-hole-location-v1188.md, section 4:

Server code Meaning VSRO 1.188 client v1.696 client
0x1851 level outside the Hole's P3..P4 UIIT_MGS_ERR_GOD_LEVEL "Required level is not reached for entering." same
0x184b user is in an instance world no message UIIT_STT_SKILL_POINT_USE_TOWN
0x1852 no free layer no message UIIT_MSG_INSTANCEDUNGEON_ERROR_MSG_01
0x183e target world not found / layer request failed UIIT_MSG_STRGERR_CANNOT_BE_USED same (already shown by the port)

The v1.150 client has none of the God keys. Neither UIIT_MGS_ERR_GOD_LEVEL nor its text is shipped by the port yet.

To do

  • Ship UIIT_MGS_ERR_GOD_LEVEL (VSRO 1.188 TextUISystem.txt, English "Required level is not reached for entering.") with the Forgotten World text. Map item-use code 0x51 to it, under the same switch as the Hole (SRO_FORGOTTEN_WORLD_ENTRY).
  • Keep 0x184b and 0x1852 silent, as VSRO 1.188 does. Showing the v1.696 lines for them would be a later-client extra, and would go behind its own flag if wanted.
  • Add a test that a 0xB5BD [2, 0x51] answer produces the level notice with the switch on, and stays as today with it off.

Related: #4896, #4939.

主要语言
Go
星标
97
派生
61
平均合并
4 小时 2 分钟
30 天内合并 PR
969

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

opensro-dev/opensro 的其他 Issue

查看 opensro-dev/opensro 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。