Jump to content

Recommended Posts

Posted

Hi guys,

 

I'm having issues with some of my packets causing disconnections because they are over 32k (for those who know my mod, in particular the village map if village radiuses are high). Anyone know of ways to tackle that? I'm thinking along those lines:

- Compressing the streams, for instance with GZIPOutpustream. Not sure how to deal with the new ByteBufOutputStream however, they do not look compatible.

- Bumping the 32k limit, if this is possible for a mod to do

- Of course, splitting the info over multiple packets would work, but that's a lot of work if I want to do it for the various packet types where it can happen

 

Before I reinvent the wheel yet again, has anybody successfully done this already?

 

Thanks

 

K.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.