Skip to content

[codex] fix Terraria 1.4.5.6 patch runtime#59

Draft
ljy87263621 wants to merge 3 commits into
Qiu233:wpf-stablefrom
ljy87263621:codex/terraria-1456-tested-release
Draft

[codex] fix Terraria 1.4.5.6 patch runtime#59
ljy87263621 wants to merge 3 commits into
Qiu233:wpf-stablefrom
ljy87263621:codex/terraria-1456-tested-release

Conversation

@ljy87263621

Copy link
Copy Markdown

Summary

Fixes the Terraria 1.4.5.6 patch runtime path that was causing runtime instability in the tested package.

Changes

  • Adds shared unmanaged patch state for patch toggles/actions to avoid fragile remote static field access.
  • Keeps the QHackCLR AddType_Del delegate alive so the callback is not garbage-collected and does not trigger FailFast.
  • Fixes full-screen map right-click teleport coordinate conversion.
  • Moves selected toggles and runtime actions through shared state/runtime action helpers.

Validation

  • User-tested release package: v14.0.1-terraria-1.4.5.6
  • Release asset: QTRHacker-v14.0.1-terraria-1.4.5.6-x86.zip
  • SHA256: 57b2c217aace67c2ee997176e66a140034eb514a36dfec014f8b02dec48addf7
  • Static source check confirmed the full-screen map teleport formula.
  • ILSpy confirmed the packaged QTRHacker.Patches.dll contains the corrected formula.
  • Full local solution build is blocked by missing Visual Studio C++ targets (Microsoft.Cpp.*.props); the patches project Release build had previously succeeded with one existing warning.

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.

1 participant