-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Plugin causes "Invalid move player packet received" kicks upon teleports #255
Comments
Does not seem to happen with default Paper configs, had to copy our yml files to a test server to replicate. Will narrow down which option(s) cause this bug. |
Narrowed down the config file that causes it as |
Narrowed down the cause to enabling |
Can replicate with paper-1.19.2-265 with the following plugins:
All configs set to default , except for: Spamming /back from EssentialsX between two areas far apart where at least one of the areas has a QuickShop shop loaded. |
Does it only happened with player skull shop or all shops? |
Any shops, was able to replicate it on a fresh server like mentioned in my previous comment by using a chest as the item |
Issue still occurs. Didn't get it in the recording, but I also got instantly kicked for the same invalid move player packet when trying to log in at this location as well. Client is completely vanilla. |
How about setting |
That appears to fix the issue, yes, or at least I'm unable to reproduce it after changing that setting. Seems the problem is related to the virtual display item type. |
That's weird but could be a workaround, I need to dig into server and client to see what happens there, it will needs lots of time. |
Process report:
Logs:
But I still need to found why server is sending duplicated teleport REQ packet, It seems all running in the main thread and should not duplicated. |
Found the issue in the paper end and PR has opened in paper side, the paper build for this PR is here, you can test if this paper build fix it (looks good to me in testing): |
Can confirm it prevents the kicks for me too |
Updated paper build for testing is here, should be solving this issue as well: https://mega.nz/file/BwA3HC7I#qZgM8b93X0NKiidE3prUFZkg7aqdetgS3jiLgu8r-K4 |
Yep can confirm this patch also fixes the issue |
Upstream have merged my PR, so just use build 297 and above will fix it: https://papermc.io/downloads, if still have issue feel free to reopen it. |
Description
Upon teleporting some distance, players are occasionally kicked with an invalid move player packet error. This error was narrowed down to being caused by QuickShop after sequentially removing plugins from the server one by one until the kick no longer happened, and then adding QuickShop back to verify that the kick once again occurred after reinstalling it. Appears to only happen when one of the teleportation locations involved has shops nearby.
Minimum number of plugins installed that I tried while still getting the kick:
LWCX 2.2.7
EssentialsX
EssentialsX AntiBuild
EssentialsX Chat
EssentialsX Protect
EssentialsX Spawn
ProtocolLib
QuickShop 5.1.0.9
Console output during kick (/b is our server's alias for the Essentials /back command):
Steps to reproduce
To consistently reproduce using EssentialsX, teleport somewhere (/tpr works for this) and then spam /back until the issue occurs.
Expected Behaviour
Plugin should not be causing players to be kicked upon teleports.
Screenshots
Minecraft.2022.11.12.-.13.57.55.03.mp4
/qs paste
URLhttps://paste.helpch.at/ovodovafof
Additional Context
I can be reached on Discord at Mae#5439 if any additional information is needed regarding this issue.
The text was updated successfully, but these errors were encountered: