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

Ouverte
#4,950 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub

Les mainteneurs répondent en général sous 1 jour

Personne n'a encore pris cette issue.

Évaluation

Difficulté
4/5
Temps estimé
3-5 jours
Accessibilité débutants
48/100
Type d'issue
Fonctionnalité
Clarté
Plutôt claire
Activité
Active
Stack technique
go
Domaine
backend, game-dev

Piste de recherche

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.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Description

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.

Langage dominant
Go
Étoiles
97
Forks
61
Merge moyen
4 h 2 min
PR mergées (30 j)
969

Préparer son environnement

Par où commencer

  1. Lisez l'issue en entier, puis le guide de contribution du projet.
  2. Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
  3. Forkez le dépôt et travaillez sur une branche.
  4. Ouvrez une pull request qui référence le numéro de l'issue.

Autres issues de opensro-dev/opensro

Toutes les issues de opensro-dev/opensro

Issues similaires

Plus d'issues Go

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.