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

Aperta
#4,950 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
48/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
go
Ambito
backend, game-dev

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Go
Stelle
97
Fork
61
Merge medio
4h 2m
PR unite (30g)
969

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di opensro-dev/opensro

Tutte le issue di opensro-dev/opensro

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.