Jump to content

Trouble with server client sync at my Transdimensional Tiny Chest


Recommended Posts

Posted

Found the Trouble. The ICrafting function is using the Packet105UpdateProgressBar when the server is used. And that sends infos only via Shorts instead of The integer. So how can i fix this now?

Posted

We are talking about a 32k integer. Its not possble to math it down and set it together at the other side without getting wrong informations!

 

I already had another idea but that does not work too.

There is only two ways! Make a custom packet for it (i tried but it was wrong and i have no clue how i can do it)

Or forge change Vanilla MC in 1.7 then people limited at the 1.4&1.6 xD

 

Posted

Hmmm good idea. A question how do i make out of a string a short that can be compiled back to a string and then to a Short again.

 

When you tell me ideas please read the container Functions and then where they get used.

Also the networkpacket (packet 105) cast the integer to a short. So i have to make a custom packet else i only stay at 32k.

 

 

Posted

Die7. i hope its ok that i write your name in this case (easier to write with phone)

 

Thanks i hope with that i can shrink down a full integer to a short and make it back to a full Integer on the other side.

I am still not good enought in java. But hey i am not old so i still can learn it.

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.