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

Đang mở
#4,950 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
48/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go
Lĩnh vực
backend, game-dev

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Go
Star
97
Fork
61
Merge trung bình
4 giờ 2 phút
Pull request đã merge (30 ngày)
969

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của opensro-dev/opensro

Tất cả issue của opensro-dev/opensro

Issue tương tự

Thêm issue về Go

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.