Many enchantments cause "Bad compression" kick - Printable Version +- Cuberite Forum (https://forum.cuberite.org) +-- Forum: Plugins (https://forum.cuberite.org/forum-1.html) +--- Forum: Plugin Discussion (https://forum.cuberite.org/forum-8.html) +--- Thread: Many enchantments cause "Bad compression" kick (/thread-2276.html) |
Many enchantments cause "Bad compression" kick - Mathias - 12-28-2015 Whenever I try to apply more than 14 different enchantments to an item, I get kicked for "Bad compression" when opening my inventory while in creative mode. This does not happen when I'm in survival mode. Why does this happen, and can it be avoided in some way? I've noticed that I get kicked for the same reason when creating items with a lot of data. RE: Many enchantments cause "Bad compression" kick - xoft - 12-28-2015 I guess that's the packet compression gone wrong. Could you provide an excerpt of your player JSON file that causes such a behavior? RE: Many enchantments cause "Bad compression" kick - Mathias - 12-31-2015 (12-28-2015, 06:13 PM)xoft Wrote: I guess that's the packet compression gone wrong. Could you provide an excerpt of your player JSON file that causes such a behavior?Here it is: Code: { RE: Many enchantments cause "Bad compression" kick - Mathias - 01-03-2016 The same "Bad compression" error appears when pasting a large command in a command block. RE: Many enchantments cause "Bad compression" kick - xoft - 01-03-2016 I suppose this has to do with packets larger than 256 bytes, the 1.8 protocol compresses them and I have never really tested that code path. I'd have expected, though, that the chunk data exceeds this threshold too so it should be sent compressed as well. |