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

Đang mở Phù hợp với người mới
#4,949 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ó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
78/100
Loại issue
Lỗi
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
go, typescript
Lĩnh vực
frontend, game-dev

Hướng nghiên cứu

Bắt đầu với inventory-notices.ts và mục 4 trong tệp được tham chiếu research/findings/forgotten-world-hole-location-v1188.md để xác nhận ánh xạ lỗi và thông báo gốc. Tìm các mục văn bản của Forgotten World và bài kiểm thử thông báo khi sử dụng vật phẩm; bổ sung kiểm thử cho [2, 0x51] khi bật và tắt công tắc. Hoàn tất khi công tắc bật hiển thị thông báo về tầng và công tắc tắt giữ nguyên hành vi hiện tại.

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

Mô tả

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.

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.