I'm coding a minecraft bot and I'm having some difficulties with unpacking the chunk data. I keep recieving this error:
File "C:\Users\alexk\PycharmProjects\MC bot\plugins\world.py", line 56, in packet_chunk_data
self.dimension == 0)
File "C:\Users\alexk\PycharmProjects\MC bot\venv\lib\site-packages\quarry\types\buffer\v1_9.py", line 75, in
unpack_chunk_section
palette = self.unpack_chunk_section_palette(value_width)
File "C:\Users\alexk\PycharmProjects\MC bot\venv\lib\site-packages\quarry\types\buffer\v1_9.py", line 92, in
unpack_chunk_section_palette
return [self.unpack_varint() for _ in xrange(self.unpack_varint())]
File "C:\Users\alexk\PycharmProjects\MC bot\venv\lib\site-packages\quarry\types\buffer\v1_9.py", line 92, in <listcomp>
return [self.unpack_varint() for _ in xrange(self.unpack_varint())]
File "C:\Users\alexk\PycharmProjects\MC bot\venv\lib\site-packages\quarry\types\buffer\v1_7.py", line 224, in unpack_varint
% (number_min, number, number_max))
ValueError: varint does not fit in range: -2147483648 <= 545457979376 < 2147483648
Hi,
I'm coding a minecraft bot and I'm having some difficulties with unpacking the chunk data. I keep recieving this error:
Here's the code:
Chunk class: