Dimension Hole: the tooltip shows no level requirement (port UIIT_STT_GOD_LV_EXTENT)

未关闭
#4,950 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
48/100
Issue 类型
功能
描述清晰度
基本清楚
活跃度
活跃
技术栈
go
领域
backend, game-dev

调研方向

Trace the tooltip builder for TID 3/3/12/7 in the VSRO 1.188 client and determine how it selects the level band and formats %s. Read research/findings/forgotten-world-entry-v1188.md for the Togui mismatch, then locate the port’s tooltip code and asset strings. Done means the native line and keys are ported under SRO_FORGOTTEN_WORLD_ENTRY and tests cover one Hole per band.

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

描述

What happens

Hovering a Dimension Hole in the inventory shows no level requirement, so a player can't tell which Hole they can use until a use is refused (and that refusal is silent today, #4949).

Native

The VSRO 1.188 client shows the Hole's level band on hover. Its TextUISystem.txt carries the strings for it:

Key English
UIIT_STT_GOD_LV_EXTENT Level : %s
UIIT_STT_GOD_LV_EXTENT_1 41~50 lv
UIIT_STT_GOD_LV_EXTENT_2 51~60 lv
UIIT_STT_GOD_LV_EXTENT_3 61~70 lv
UIIT_STT_GOD_LV_EXTENT_4 71~80 lv
UIIT_STT_GOD_LV_EXTENT_5 81~90 lv
UIIT_STT_GOD_LV_EXTENT_6 91~100 lv
UIIT_STT_GOD_LV_EXTENT_7 101~110 lv

The Hole rows' description is SN_ITEM_ETC_TELEPORT_HOLE_TT_DESC (VSRO 1.188 TextData_Object.txt). The v1.150 client has none of these keys, and the port doesn't ship them yet.

Open questions, to trace in the VSRO 1.188 client before porting

  • Which routine prints the line? It's the tooltip builder for TID 3/3/12/7. Find it, and how it picks %s.
  • How is the band chosen? It could be an extent index by world or by item param, or a value formatted from the row.
  • Togui mismatch: EXTENT_1 reads "41~50" while the Togui _35_50 Hole's server check is P3..P4 = 35..50 (research/findings/forgotten-world-entry-v1188.md). The trace should settle which one the native tooltip shows. The port shows what native shows, even where it differs from the server's check.
  • Description text: the description says "Gates can only be created in a town", but the server has no town rule (forgotten-world-hole-location-v1188.md). Whether to ship the description as is is the port's usual question: native text is shipped as native.

To do

  • Ship the UIIT_STT_GOD_LV_EXTENT* keys, and show the level line on the Hole tooltip the way the traced builder does, under SRO_FORGOTTEN_WORLD_ENTRY.
  • Add a test for the tooltip line of one Hole per band.

Related: #4949, #4896.

主要语言
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 摘要。