MrCrayfish / Controllable

Adds in the ability to use a controller to play Minecraft Java Edition
https://mrcrayfish.com/mods?id=controllable
GNU General Public License v3.0
271 stars 78 forks source link

"Invalid Packets" #442

Open ShadowDuded opened 1 year ago

ShadowDuded commented 1 year ago

Whenever joining specific servers after a little bit I will be kicked and it will say "You have been kicked for sending invalid packets" What can I fix this issue? (yes I tried it with only framework and controllable and i still does it :V)

MegPredator commented 1 year ago

those servers are not modded right? all of them do this or only some?

ShadowDuded commented 1 year ago

only some with no mods like pvplegacy as an example

MrCrayfish commented 1 year ago

These servers don't like the analog movement. E.g. when using a keyboard it's either 0 or 1, but when using controller it can be any number in-between (inclusive). Although vanilla servers accept these values just fine, custom servers have plugins that reject it.

cbrooker commented 9 months ago

Is there an option to toggle so the controller will round the values to just 0 or 1 so it works on these servers? Stick outside the deadzone = 1, stick in the deadzone = 0?