Skip to content

Prevent non-leader party members from using zone transition doors (#845)#865

Open
sfedev wants to merge 1 commit into
tiltedphoques:devfrom
sfedev:fix/bug/845
Open

Prevent non-leader party members from using zone transition doors (#845)#865
sfedev wants to merge 1 commit into
tiltedphoques:devfrom
sfedev:fix/bug/845

Conversation

@sfedev
Copy link
Copy Markdown

@sfedev sfedev commented Apr 20, 2026

When the local player is in a party but is not the leader, block load door activations (Door + ExtraTeleport) and show a system message pointing the user at the party menu teleport. Leader activations, solo play, non-party contexts, NPC/script activations, and in-cell doors (which lack ExtraTeleport) are untouched.
Scope note: this is the minimal "always block" interpretation. The issue's richer "door unlocks for followers once the leader passes through" mechanic is deferred, since it needs per-door state synced across the party and is worth its own PR.
Known trade-off: a quest script that calls player.Activate(loadDoor) directly will also be blocked for non-leaders. This path is rare in practice; if it surfaces, a per-quest exclusion list (mirroring QuestService's kNonSyncableQuestIds) is the natural follow-up.

…ltedphoques#845)

When the local player is in a party but is not the leader, block load
door activations (Door + ExtraTeleport) and show a system message
pointing the user at the party menu teleport. Leader activations, solo
play, non-party contexts, NPC/script activations, and in-cell doors
(which lack ExtraTeleport) are untouched.
Scope note: this is the minimal "always block" interpretation. The
issue's richer "door unlocks for followers once the leader passes
through" mechanic is deferred, since it needs per-door state synced
across the party and is worth its own PR.
Known trade-off: a quest script that calls `player.Activate(loadDoor)`
directly will also be blocked for non-leaders. This path is rare in
practice; if it surfaces, a per-quest exclusion list (mirroring
QuestService's kNonSyncableQuestIds) is the natural follow-up.
@miredirex
Copy link
Copy Markdown
Collaborator

miredirex commented Apr 21, 2026

What about the caves and other means of entering locations?

Also

"Only the party leader can use zone transition doors. Use the party menu to teleport to them."

needs to be a localizable string.

As I already commented on #845, we should really just prioritize fixing robustness of the existing actor management system. This change makes the game very restrictive (although maybe for good), I'd like to hear more opinions on this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants