Skip to content

Debug helpers: clear stuck dialogue and re-enable controls - #916

Merged
miredirex merged 3 commits into
tiltedphoques:devfrom
GhostWriter42:unstuck-dialogue-helpers
Oct 14, 2026
Merged

miredirex merged 3 commits into
tiltedphoques:devfrom
GhostWriter42:unstuck-dialogue-helpers

Conversation

@GhostWriter42

Copy link
Copy Markdown
Contributor

Draft: not compiled or tested yet. I've only reviewed this statically. I haven't built it or run it in a 2-client co-op session. The planned check is below, and I'll update this PR once I've done it.

What

  • New F3 Helpers → "Clear stuck dialogue" button: calls StopCurrentDialogue(true) on the player, then unblocks and re-enables PlayerControls. No knockback.
  • "Unstuck player" now does the same clear first, then the existing knockback, and null-checks currentProcess.

Why

In co-op, guests sometimes get stuck in a dialogue or scene with input blocked, for example when the scene's NPC packages run on the leader's client. "Unstuck player" only applied a knockback, which doesn't release a stuck dialogue or blocked controls. This gives players a manual way out without touching quest stages, scene state, or networking.

How tested

Not tested yet: no compile and no 2-client run so far.

Planned 2-client check: reproduce a guest dialogue hang. "Clear stuck dialogue" should give control back without moving the player, and "Unstuck player" should give control back and then knock the player.

Related

GhostWriter42 and others added 2 commits October 5, 2026 20:12
Guests can end up stuck in a dialogue / scene with input blocked (for
example when a scene's NPC packages run on another client). The F3
"Unstuck player" helper only applied a knockback, which does not release
a stuck dialogue or blocked controls.

- New Helpers > "Clear stuck dialogue": StopCurrentDialogue(true), then
  unblock and re-enable PlayerControls. No knockback.
- "Unstuck player" now runs the same clear first, then the knockback, and
  null-checks currentProcess.

Debug menu only. Does not change quest stages, scene state or
networking.
@miredirex
miredirex marked this pull request as ready for review October 14, 2026 14:38
"Clear stuck dialogue" becomes "Restore player
controls", and it now also turns back on the same input flags that
Game.EnablePlayerControls() does
@miredirex
miredirex merged commit cae2443 into tiltedphoques:dev Oct 14, 2026
@GhostWriter42
GhostWriter42 deleted the unstuck-dialogue-helpers branch October 14, 2026 21:43
absol89 added a commit to absol89/TiltedEvolutionScriptFixes that referenced this pull request Oct 17, 2026
This reverts commit 5e6eb0f, an early snapshot of PR tiltedphoques#916 (2a03b9f)
picked before the PR was reworked. The merged version (next commit)
replaces it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019Mdy6FmrJTc1m7KuVM1n3H
absol89 pushed a commit to absol89/TiltedEvolutionScriptFixes that referenced this pull request Oct 17, 2026
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