Siphalor / mouse-wheelie

"Small" Minecraft mod focusing on inventory utilities, like scrolling, sorting and auto refilling of items
https://modrinth.com/mod/mouse-wheelie
Apache License 2.0
100 stars 35 forks source link

Invalid HeldItemSlot packet packets #260

Open JoField08 opened 3 months ago

JoField08 commented 3 months ago

Version Minecraft Version: 1.20.4 MouseWheelie Version: 1.13.3

Describe the bug When using the refill feature of MouseWheelie in multiplayer, the mod can trigger false positives for invalid held item slot packets with certain anti-cheat systems such as Polar AntiCheat and Vulcan AntiCheat. A specific scenario that consistently reproduces this issue involves having food (for example: golden carrots) in the off-hand and fireworks in hotbar slots 1 and 2. Upon depleting the fireworks in slot 1 through use, MouseWheelie automatically moves the golden carrots from the off-hand to slot 1 and switches the active hotbar selection to slot 2, which still contains fireworks. This action results in the player being flagged and potentially banned for suspicious game protocol by Polar AntiCheat and for bad packets by Vulcan AntiCheat.

To Reproduce Steps to reproduce the behavior:

Video: https://i.imgur.com/hxr3tBN.mp4

Expected behavior The expected behavior is that the refill feature of MouseWheelie would not cause false positives with anti-cheat systems. Players should be able to use the mod's functionality without risk of being flagged or banned for invalid packet behavior. The mod should avoid making simultaneous item switches that are likely to be flagged by anti-cheat systems.

Additional context This issue may not be limited to the specific scenario described and could potentially occur in other situations where the refill feature is used. Disabling "Refill on other occasions" seems to be a temporary fix for that problem.

TheBjoRedCraft commented 4 weeks ago

Pls fix this bug, its very important for anticheats/servers. The mod is very usefull but with this bug you cannot use it.