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

Aberta
#4,950 0 comentários 0 reações 0 responsáveis Ver no GitHub

Mantenedores costumam responder em até 1 dia

Ninguém assumiu esta issue ainda.

Avaliação

Dificuldade
4/5
Tempo estimado
3-5 dias
Facilidade para iniciantes
48/100
Tipo de issue
Funcionalidade
Clareza
Razoavelmente clara
Status de atividade
Ativa
Stack de tecnologia
go
Domínio
backend, game-dev

Direção de pesquisa

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.

Escrita pelo modelo de indexação a partir do texto da issue.

Descrição

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.

Linguagem predominante
Go
Estrelas
97
Forks
61
Merge médio
4h 2min
PRs com merge (30d)
969

Preparar o ambiente

Primeiros passos

  1. Leia a issue inteira e depois o guia de contribuição do projeto.
  2. Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
  3. Faça um fork do repositório e trabalhe em uma branch.
  4. Abra um pull request que referencie o número da issue.

Mais de opensro-dev/opensro

Todas as issues de opensro-dev/opensro

Issues semelhantes

Mais issues de Go

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.