Closed Millionary closed 1 year ago
There's two ways to "fix" the bug, delete all MMOitems or remove some IA items as i do in the video.
@LoneDev6 This problem is still going on.
Well seems you have an insane amount of recipes. Please install this and post the log.
[11:57:23 INFO]: [RecipesCount] [STDOUT] Total recipes: 4174
[11:57:23 WARN]: Nag author(s): '[]' of 'RecipesCount' about their usage of System.out/err.print. Please use your plugin's logger instead (JavaPlugin#getLogger).
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_decoradores -> 47
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_ciruela -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_almendro -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_roble_ancestral -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_roble -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_naranja -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_bananero -> 54
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_jacaranda -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_durazno -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_aguacate -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_roble -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_secoya -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_pera -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] crafteos -> 40
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_cerezo -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_armaduras -> 21
[11:57:23 INFO]: [RecipesCount] [STDOUT] minerales -> 136
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_purificadores_de_agua -> 3
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_crafteos -> 40
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_mango -> 54
[11:57:23 INFO]: [RecipesCount] [STDOUT] decoradores -> 47
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_variantes_de_maderas -> 231
[11:57:23 INFO]: [RecipesCount] [STDOUT] customcrafting -> 153
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_bananero -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_aguacate -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] minecraft -> 1089
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_baobab -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] betterbackpacks -> 6
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_naranja -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_roble_ancestral -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_ciruela -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] variantes_de_maderas -> 231
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_cipres -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_maple -> 50
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_limon -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_almendro -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_baobab -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] customcrops -> 9
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_olivo -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_maple -> 54
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_cipres -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_mango -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_aspen -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_customcrops -> 9
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_palmera -> 49
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_palmera -> 53
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_minerales -> 74
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_olivo -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] purificadores_de_agua -> 6
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_jacaranda -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_aspen -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_secoya -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_cerezo -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] arbol_durazno -> 52
[11:57:23 INFO]: [RecipesCount] [STDOUT] armaduras -> 21
[11:57:23 INFO]: [RecipesCount] [STDOUT] extractableenchantments -> 1
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_limon -> 48
[11:57:23 INFO]: [RecipesCount] [STDOUT] zzzfake_arbol_pera -> 48
What is the zzzfake namespace? It seems like some namespaces are duplicated
I don't think the number of recipes is the cause because even with all the items but without the MMOitems the server allows me to access normally
If this haven't a solution i will delete the recipes and put them into a custom table (a block/furniture trade machine)
Delete many of the recipes "fix" the problem but it still going wrong with crafting table recipes @LoneDev6
This only happen when the itemsadder items are hooked into mmoitems, without the hook there's no problem When there aren't any MMOitems items the recipes work fine
This is not the complete list of the output of the RecipesCount
plugin.
What is the zzzfake namespace? It seems like some namespaces are duplicated
It's an internal thing of ItemsAdder and is not the cause of the "Packet too large kick" problem since they are not even sent to the client.
This problem happens because you have a lot of recipes which have ingredients and results with big NBT data (display name, lore, attributes).
The game duplicates these items on e bugach recipe even if they are the same item, it's stupid but it's how it works.
ItemsAdder implemented a workaround fix for that Minecraft bug which can be enabled in config.yml fix-packet-too-large-kick: true
.
If that doesn't work it means that you have somehow reached the limit anyway because of the high amount of items in recipes.
It's the only explanation I can give: the recipes list+ingredients packet is too large.
More info here: https://github.com/PluginBugs/Issues-ItemsAdder/issues/1838
@LoneDev6 thanks for the explanation, i will transfer the recipes to block/furniture trade machines, that solves the problem because the items are very complex with a lot of data from MMOitems, apreciate your time and pacience, love your plugin ;)
No problem! I just wish Mojang didn't structure the recipes packet in that stupid way. Like yea let's send all recipes in a single go XD They might fix in the future, Fabric already fixed this in a patch.
Have a nice week!
Terms
Discord tag (optional)
Millionary#3711
What happened?
I updated to 1.19.3 and the integration with MMOitems is causing trouble. I have many tools created with ItemsAdder and hooked to MMOitems, the problem is that if i have all my tools the server doesn't let me join becouse of the Packet Too Large Exception even if the "fix-packet-too-large-kick" option it's set to true.
When i remove many of the Items Adder items hooked to MMOitems the problem is solved.
I have aproximately 364 Items hooked to MMOitems, when i remove 140 (from my Trees wooden tools) the problem get fixed.
Steps to reproduce the issue
Server version
This server is running Paper version git-Paper-380 (MC: 1.19.3) (Implementing API version 1.19.3-R0.1-SNAPSHOT) (Git: 0ed4b91)
ItemsAdder Version
ItemsAdder version 3.3.0b-r5
ProtocolLib Version
ProtocolLib version 5.0.0-SNAPSHOT-b612
LoneLibs Version
LoneLibs version 1.0.23
LightAPI Version (optional)
LightAPI version bukkit-5.3.0 (build SNAPSHOT)
LibsDisguises Version (optional)
No response
FULL server log
latest.log
Error (optional)
Magic Cosmetics and MMOcore doesn't cause the trouble, i try it without those two and it's the same.
Problematic items yml configuration file (optional)
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)
Demostration video: https://youtu.be/HN_0eW9GV2A
This is ItemsAdder with all the elements from my trees:
And this is without it:
140 items from those are tools hooked to MMOitems, without those the bug get fixed