PluginBugs / Issues-CosmeticsCore

Repository used to keep track of issues of my plugin CosmeticsCore
https://lonedev.gitbook.io/cosmeticscore/
0 stars 0 forks source link

Passenger packet size issue #209

Closed Lerphie closed 9 months ago

Lerphie commented 9 months ago

Terms

Discord tag (optional)

mc_coder

What happened?

Your plugin is sending the player a packet weighing more than 3 megabits. I rechecked this by removing your plugin, without CosmeticsCore everything works fine and players are not kicked. As soon as I put your plugin I start to have problems with kicking players.

image

image

Steps to reproduce the issue

*

Server version

This server is running GuardSpigot 1.16.5 version git-Airplane-"e37fa86" (MC: 1.16.5) (Implementing API version 1.16.5-R0.1-SNAPSHOT)

CosmeticsCore Version

image

ProtocolLib Version

image

LoneLibs Version

image

FULL server log

No response

Error (optional)

[16:11:51] [Async Chat Thread - #100/INFO]: [L] JumbleBummer > ОО
[16:11:51] [Server thread/INFO]: Lerphie issued server command: /gamemode creative
[16:11:52] [Server thread/WARN]: _TARABAGANI_ moved wrongly! (0.1609882410448586)
[16:11:54] [Async Chat Thread - #100/INFO]: [L] JumbleBummer > каво видем
[16:11:54] [Server thread/INFO]: kirill2889 lost connection: Disconnected
[16:11:54] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=kirill2889} for player GlobalLocation{server='server_0_-1', world='world', x=4491.1043159208475, y=70.0625, z=-9616.812073182766, pitch=47.69988, yaw=28.498909}
[16:11:57] [Async Chat Thread - #100/INFO]: [L] MAX_242rof > хуй показывай
[16:11:57] [Async Chat Thread - #100/INFO]: [L] JumbleBummer > фортв
[16:11:59] [luckperms-worker-7/INFO]: [LP] LOG > (Console) [U] (liyas2014)
[16:11:59] [luckperms-worker-7/INFO]: [LP] LOG > permission set cosmeticscore.user.cosmetics.wear.b_ruby_wyverns_wings true
[16:12:01] [Async Chat Thread - #100/INFO]: [L] GG_godd > гг афк?
[16:12:03] [Server thread/INFO]: JumbleBummer lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100712. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=JumbleBummer} for player GlobalLocation{server='server_0_-1', world='world', x=4491.085708239474, y=70.0625, z=-9617.819446913782, pitch=19.950298, yaw=-266.70288}
[16:12:03] [Server thread/INFO]: AHHA5214 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=AHHA5214} for player GlobalLocation{server='server_0_-1', world='world', x=4501.814273082719, y=71.0, z=-9625.291268666404, pitch=6.052033, yaw=90.2151}
[16:12:03] [Server thread/INFO]: gg22564 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=gg22564} for player GlobalLocation{server='server_0_-1', world='world', x=4479.5, y=70.5125, z=-9613.5, pitch=-90.0, yaw=87.89963}
[16:12:03] [Server thread/INFO]: cook1es_ lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=cook1es_} for player GlobalLocation{server='server_0_-1', world='world', x=4498.769116135935, y=71.0, z=-9629.390213689652, pitch=6.4505734, yaw=-355.79163}
[16:12:03] [Server thread/INFO]: vuctuka_t0n lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=vuctuka_t0n} for player GlobalLocation{server='server_0_-1', world='world', x=4476.857834340422, y=70.0, z=-9619.230826470848, pitch=-4.200028, yaw=-92.84938}
[16:12:03] [Server thread/INFO]: GG_godd lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=GG_godd} for player GlobalLocation{server='server_0_-1', world='world', x=4479.29897386769, y=76.0, z=-9612.401589278943, pitch=75.150154, yaw=186.71082}
[16:12:03] [Server thread/INFO]: Nayron lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Nayron} for player GlobalLocation{server='server_0_-1', world='world', x=4456.906002544089, y=70.0, z=-9621.995621676957, pitch=9.299966, yaw=312.30066}
[16:12:03] [Server thread/INFO]: Nesquick_II lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Nesquick_II} for player GlobalLocation{server='server_0_-1', world='world', x=4496.5, y=70.0562500178814, z=-9643.5, pitch=40.233467, yaw=37.212452}
[16:12:03] [Server thread/INFO]: qw1ster lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=qw1ster} for player GlobalLocation{server='server_0_-1', world='world', x=4488.315449765733, y=70.2805, z=-9621.65440813551, pitch=30.814236, yaw=270.14093}
[16:12:03] [Server thread/INFO]: Moren_lm50 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Moren_lm50} for player GlobalLocation{server='server_0_-1', world='world', x=4489.2329886965035, y=70.37952962044928, z=-9621.484853573691, pitch=87.959206, yaw=-92.63623}
[16:12:03] [Server thread/INFO]: NighGhot lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:03] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=NighGhot} for player GlobalLocation{server='server_0_-1', world='world', x=2944.2433089120314, y=67.0, z=-10183.445529803346, pitch=4.4999638, yaw=-75.40225}
[16:12:04] [Craft Scheduler Thread - 1472 - SCore/INFO]: [SCore] [SQLITE_ERROR] SQL error or missing database (table cooldows has no column named paused)
[16:12:04] [Craft Scheduler Thread - 1482 - SCore/INFO]: [SCore] [SQLITE_ERROR] SQL error or missing database (table cooldows has no column named paused)
[16:12:04] [Craft Scheduler Thread - 1483 - SCore/INFO]: [SCore] [SQLITE_ERROR] SQL error or missing database (table cooldows has no column named paused)
[16:12:04] [Server thread/INFO]: Lerphie lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Lerphie} for player GlobalLocation{server='server_0_-1', world='world', x=4485.977040321484, y=70.0, z=-9611.07985785702, pitch=3.2331173, yaw=144.27385}
[16:12:04] [Server thread/INFO]: win5555 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=win5555} for player GlobalLocation{server='server_0_-1', world='world', x=4479.463886144571, y=71.65655883560241, z=-9625.381358457389, pitch=28.799534, yaw=-279.62787}
[16:12:04] [Server thread/INFO]: _TARABAGANI_ lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100712. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=_TARABAGANI_} for player GlobalLocation{server='server_0_-1', world='world', x=4477.178054237247, y=71.0625, z=-9614.699999988079, pitch=26.304287, yaw=-111.31093}
[16:12:04] [Server thread/INFO]: MAX_242rof lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=MAX_242rof} for player GlobalLocation{server='server_0_-1', world='world', x=4479.123613594919, y=71.25220334025373, z=-9609.666190200847, pitch=20.550016, yaw=-259.94653}
[16:12:04] [Server thread/INFO]: Zero_222 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Zero_222} for player GlobalLocation{server='server_0_-1', world='world', x=4480.833851410318, y=70.0, z=-9617.880825695329, pitch=4.9500036, yaw=121.95032}
[16:12:04] [Server thread/INFO]: funtIkk1k1 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=funtIkk1k1} for player GlobalLocation{server='server_0_-1', world='world', x=4500.001009482057, y=71.0, z=-9620.970695359396, pitch=34.799473, yaw=38.839844}
[16:12:04] [Server thread/INFO]: DinaMaip lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=DinaMaip} for player GlobalLocation{server='server_0_-1', world='world', x=4461.567770990993, y=70.0, z=-9620.845973236528, pitch=25.94983, yaw=-214.26294}
[16:12:04] [Server thread/INFO]: Milikorn1 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Milikorn1} for player GlobalLocation{server='server_0_-1', world='world', x=4496.5, y=70.0562500178814, z=-9641.5, pitch=15.300001, yaw=26.400244}
[16:12:04] [Server thread/INFO]: FortRomka lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=FortRomka} for player GlobalLocation{server='server_0_-1', world='world', x=4486.051794369366, y=70.0, z=-9614.113261680302, pitch=15.600068, yaw=92.801056}
[16:12:04] [Server thread/INFO]: BarsPers13 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=BarsPers13} for player GlobalLocation{server='server_0_-1', world='world', x=4478.35588884014, y=70.0, z=-9614.106546644536, pitch=29.849972, yaw=93.151375}
[16:12:04] [Server thread/INFO]: Never13th0 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=Never13th0} for player GlobalLocation{server='server_0_-1', world='world', x=4548.832175435719, y=85.05792506911833, z=-9608.344159691926, pitch=29.849451, yaw=72.30826}
[16:12:04] [Server thread/INFO]: ggmmzz lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=ggmmzz} for player GlobalLocation{server='server_0_-1', world='world', x=2119.512499988079, y=170.16570392380265, z=-12466.82591450264, pitch=-38.549995, yaw=-93.29639}
[16:12:04] [Server thread/INFO]: rugsadtg8961 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=rugsadtg8961} for player GlobalLocation{server='server_0_-1', world='world', x=2309.7350408915063, y=67.0, z=-12376.816892103463, pitch=10.310746, yaw=147.2655}
[16:12:04] [Server thread/INFO]: mihun666 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=mihun666} for player GlobalLocation{server='server_0_-1', world='world', x=1853.3225285729852, y=64.0, z=-13504.379285597102, pitch=24.600016, yaw=-58.049778}
[16:12:04] [Server thread/INFO]: DAK1 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=DAK1} for player GlobalLocation{server='server_0_-1', world='world', x=4500.047865919553, y=71.0, z=-9625.26218433086, pitch=8.550009, yaw=-88.79972}
[16:12:04] [Server thread/INFO]: legenda121 lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100709. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=legenda121} for player GlobalLocation{server='server_0_-1', world='world', x=2948.3245411782523, y=67.0, z=-10184.471725770267, pitch=18.750065, yaw=92.29402}
[16:12:04] [Server thread/INFO]: _Xo4y_yMePeTb_ lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152
[16:12:04] [Server thread/INFO]: [GunGaleWorldSyncCore] Save player location CraftPlayer{name=_Xo4y_yMePeTb_} for player GlobalLocation{server='server_0_-1', world='world', x=4470.79718096358, y=70.73423560066871, z=-9623.555718968155, pitch=16.949387, yaw=268.14722}
[16:12:04] [Craft Scheduler Thread - 1477 - SCore/INFO]: [SCore] [SQLITE_ERROR] SQL error or missing database (table cooldows has no column named paused)
[16:12:04] [Craft Scheduler Thread - 1482 - SCore/INFO]: [SCore] [SQLITE_ERROR] SQL error or missing database (table cooldows has no column named paused)
[16:12:04] [Server thread/INFO]: feid lost connection: Internal Exception: net.minecraft.server.v1_16_R3.PacketEncoder$PacketTooLargeException: PacketTooLarge - PacketPlayOutMount is 2100706. Max is 2097152

CosmeticsCore config.yml

No response

Problematic items yml configuration file (optional)

No response

Other files, you can drag and drop them here to upload. (optional)

No response

Screenshots/Videos (you can drag and drop files or paste links)

No response

LoneDev6 commented 9 months ago

Thanks so much, I will fix this as soon as possible. Probably another plugin is adding new passengers to the player and CosmeticsCore for some reason duplicates the passengers

Lerphie commented 9 months ago

Thanks so much, I will fix this as soon as possible. Probably another plugin is adding new passengers to the player and CosmeticsCore for some reason duplicates the passengers

image

Lerphie commented 9 months ago

This package is not created by the class constructor, but by modifying an already created package

LoneDev6 commented 9 months ago

Note for me: probably related to: #200

LoneDev6 commented 9 months ago

I will send you a new JAR to test today, thanks so much for all the patience