You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been trying to replace certain blocks with other blocks (e.g. disguise TNT as Wool).
When calling ChunkPacketProcessor.fromMapPacket() it throws "Field index out of bounds" exception.
I've looked at the source and I see that it tries to access a field that isn't in PacketPlayOutMapChunk:
processor.extraMask = ints.read(3); // packet.d;
PacketPlayOutMapChunk contains only 3 int fields.
I tried to figure out which server version PacketWrapper is supposed to be used with and can't find that information anywhere.
Also, i checked PacketPlayOutMapChunk in all versions from 1.12 back to 1.8 and wasn't able to spot more that 3 int fields in any of them.
I'm trying it on 1.12
After having spent some time looking at the protocol ( http://wiki.vg/Chunk_Format ) and PacketWrapper I have couple of questions:
Which version(s) does PacketWrapper support?
How hard would be to fix fromMapPacket() ? If not hard then how soon it can be fixed?
Alternatively, would it it possible to describe how to fix it? I tried to figure out the purpose of extraMask in ChunkPacketProcessor and fail to find any reference to it in the protocol
The text was updated successfully, but these errors were encountered:
Hi,
I've been trying to replace certain blocks with other blocks (e.g. disguise TNT as Wool).
When calling
ChunkPacketProcessor.fromMapPacket()
it throws "Field index out of bounds" exception.I've looked at the source and I see that it tries to access a field that isn't in
PacketPlayOutMapChunk
:PacketPlayOutMapChunk
contains only 3int
fields.I tried to figure out which server version PacketWrapper is supposed to be used with and can't find that information anywhere.
Also, i checked
PacketPlayOutMapChunk
in all versions from 1.12 back to 1.8 and wasn't able to spot more that 3int
fields in any of them.I'm trying it on 1.12
After having spent some time looking at the protocol ( http://wiki.vg/Chunk_Format ) and PacketWrapper I have couple of questions:
fromMapPacket()
? If not hard then how soon it can be fixed?extraMask
inChunkPacketProcessor
and fail to find any reference to it in the protocolThe text was updated successfully, but these errors were encountered: