someaddons / connectivity

Minecraft mod connectivity which fixes connection issues
9 stars 0 forks source link

[1.18.X]: Payload May not be Larger than 1048576 #17

Closed aking4125 closed 2 years ago

aking4125 commented 2 years ago

Describe the bug you're experiencing

Hello, upon attempting to connect to a LAN world. The Client receives the error "Payload May not be Larger than 1048576" and the connection terminates. We attempted to use this mod to help with that as it helped for 1.16.5.

Capture

Below are both debug.log files. debugPrintMessages = true was enabled for both debug.log files.

Reproducability

I guess simply attempt to host a LAN world, then have another player or client attempt to connect and it breaks? Perhaps some incompatibility somewhere?

Mod up to date

We didn't update to 1.18.2 because many of the mods from our pack hasn't updated as of yet.

Minecraft version

1.18.1

Modloader version

Forge

Logs

Client debug.log Server [LAN Hosted] debug.log

debugPrintMessages = true was enabled for both debug.log files

aking4125 commented 2 years ago

Sorry for the delay @someaddons. I have updated the original comment with both debug.log files and a screenshot.

debugPrintMessages = true was enabled for both debug.log files

someaddons commented 2 years ago

lan mode is generally not supported in a modded environment, and may cause these kind of issues. Can you try moving it to a local forge server instead and see if it still happens?

aking4125 commented 2 years ago

Alright. So rebuild the pack and swapped to 1.18.2. Created a dedicated server and...

image

Both Client and server has the same version of Connectivity.

Server: debug.log Client: debug.log

Connectivity-1.18.2-2.8 [Forge]

lan mode is generally not supported in a modded environment, and may cause these kind of issues. Can you try moving it to a local forge server instead and see if it still happens?

Should point out that in 1.16.5. This isn't an issue, world works on dedicated server and LAN world. It's only 1.18 that seems to be different. But both LAN and Dedicated servers error out with the above issue.

someaddons commented 2 years ago

Try version 2.9 I just uploaded, think that one should fix it

aking4125 commented 2 years ago

Sorry for the late response.

Version 2.9 of Connectivity for Forge 1.18.2 works perfectly!

someaddons commented 2 years ago

nice, seems the payload limit modification didnt take effect as intended before :)