Gates: a closed gate's event zone does not block movement (Forgotten World and fortress)

Offen
#4,894 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 1 Tag

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
48/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
go, typescript

Rechercherichtung

Start with action/fortress_gates.go and the related Forgotten World gate work in #4889; read forgotten-world-triggers-v1188.md claim 5 for the native client behavior. Trace how event zone state changes are sent to the server and client, then inspect movement and click-to-move pathing entry points. Done when closed gate cells block movement on both sides and open gate cells allow it.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

Forgotten World gates (#4889) open and close: their state changes, and players get 0x351E. But a closed gate does not stop movement. The port's fortress gates have the same gap (action/fortress_gates.go: "an open gate is not yet walkable").

Native (v1.188): when an event zone's state changes, the server sets the navmesh event zone's byte as well as sending 0x351E. So a closed gate blocks its cells, and an open one lets players through. The v1.188 client does the same on its side (forgotten-world-triggers-v1188.md claim 5).

Scope:

  • server movement: refuse moves through the cells of a closed gate's event zone, for both the Forgotten World and the fortress gates
  • client: the same cells blocked for click-to-move and pathing while the gate is closed

Related: #4889, #4879.

Vorherrschende Sprache
Go
Sterne
97
Forks
61
Ø Merge
3 Std. 59 Min.
Gemergte PRs (30 T.)
966

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus opensro-dev/opensro

Alle Issues in opensro-dev/opensro

Ähnliche Issues

Weitere Issues zu Go

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.