Scanning a Large Area Disconnects the Player
WenXin20 opened this issue · 13 comments
Minecolonies version
version 0.6.3125-1.10.2
Expected Behavior
- To be able to scan a large area
Actual Behavior
- After scanning a large area, I was sent to a 'disconnected from world' screen from my singleplayer world.
Steps to reproduce the problem
- Scan a large area
- Confirm the scan and then get disconnected from the world.
@Raycoms Are you referring to my branch ?
I haven't touch the scanning part. Also as it is in single player, I am not sure what is causing this.
I don't think the issue should have been closed.
Their is virtually no limit to the packet size in SSP
The packet size limit in SMP comes from the packet type Minecraft configures Netty with.
It is something around 32 kB if i am not mistaken. However for SSP that packet type is not used, and no limit is actually implemented
Could you then use the compression and way you transfer it to the server as well to transfer it from server to client side on the single player?
This is where the crash happens atm.
Only working on transferring schematics from client to server and server to client, not on the scan part. However I can add the same compression to it.
I will reopen the issue and assign it to me as a reminder.
However in the present case, the error occurred in SP which AFAIK does not use any network transfer. Not too sure why it is crashing here.
@WenXin20 could you submit the log file ?
It is crashing because it still has to transfer things from server to client side even in singlePlayer. (The creation of the nbt happens on the server and we have to send it to the client)