Skip to content

SneakHack Packet mode is inoperative #1163

@ZANX3Y

Description

@ZANX3Y

Pre-reporting checklist

  • I have searched existing issues and didn't find any previous reports of this bug.
  • This bug still happens in the latest version of Wurst. I've made sure my installation is up to date.
  • I have tried removing all other mods and the bug still happens.

Description

The Packet mode implementation for the Sneak hack is inoperative after changes in Minecraft's network protocol. The existing code was commented out to prevent compilation errors but was not replaced with a functional equivalent.

Context
The sneaking state now appears to be controlled via PlayerInputC2SPacket and PlayerInteractEntityC2SPacket.

Solution
A new implementation could intercept and modify these packets using the PacketOutputListener. This would also involve sending the appropriate packets upon enabling and disabling the hack.

I am opening this issue instead of a PR since I am not entirely sure whether that would be the best approach.

Repro steps

N/A

Wurst Client version

7.49

Minecraft version

1.21.6

Crash report (if applicable)


Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions