Closed NikV2 closed 2 years ago
This is handled in the dev builds in ViaBackwards; see this commit: https://github.com/ViaVersion/ViaBackwards/commit/455bb546f0606927038a0a86cda0de1cd474bb2d
Then this should be set to true by default. since its a very important feature.
99.9% of people usually don't touch the config or they may be updating from an older version without looking at the changes, And get in trouble thinking it's the anticheat.
Actually this shouldn't even be configurable, it should always act like that since every single anticheat uses the ping packet as a replacement for transactions.
Apologies for opening an issue even though this was already fixed, Just got confused since i wasn't aware of this.
Take care!
Then this should be set to true by default. since its a very important feature.
You're able to set the system property to enable it, if your anticheat relies on it: https://github.com/ViaVersion/ViaBackwards/commit/455bb546f0606927038a0a86cda0de1cd474bb2d#diff-50aa7552a280f8d1bca67614f0f43d66c98d805c62c28c458ed8aa459442996aR76
It's not enabled by default because inventory transactions use a short, whereas the new ping packets use an integer. Larger numbers in the ping packet will not be translated correctly - having this as a setting means you're aware of the inconsistencies with translating when enabling.
Describe the bug, provide any errors ViaRewind does not translate ping - pong packets to transactions for clients < 1.17. The reason i'm reporting this as a bug report is that im guessing it's designed to be handled somehow. However from my testing and a lot of debugging these are the results i see. ProtocolSupport seems to work properly and older clients are properly receiving ping packets as transactions and vice versa. Note, this also applied for ViaBackwards, I simply decided to report this on one of them
How can we reproduce it? Steps to reproduce the behavior:
Expected behaviour Ping and Pong packets should be translated to transactions for legacy versions
Additional server info Spigot + PaperSpigot 1.17.1 Plugins being ProtocolLib, ViaVersion, ViaRewind, ViaBackwards and a plugin that sends ping packets to the player every now and then.
Checklist (mark with [X] to check)