MineColonies

MineColonies

53M Downloads

Scanning a Large Area Disconnects the Player

WenXin20 opened this issue · 13 comments

commented

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

  1. Scan a large area
  2. Confirm the scan and then get disconnected from the world.
commented

That's a known bug due to the message size limit. We're already working on that.

commented

Ok, thanks

commented

@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.

commented

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

commented
commented
commented
commented

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.

commented

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 ?

commented

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)

commented
commented
commented

closing this as not currently possible