Posted October 30, 201312 yr My trouble. When i upgrade my Chest over a short value then my Integer say, i am now a short. Now i am do not know what the bug is. so to see my bug here a video: and here is my code. https://www.dropbox.com/sh/idhacqfywayzlck/0YViVpNdFQ So how can i fix this?
October 30, 201312 yr Author 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?
October 30, 201312 yr Author Question: Is it possible to send a packet from a container to a container? And if yes! how do i make it?
October 31, 201312 yr Author thanks. I tried already. But i have another idea. I split it down into parts and put it later together.
November 1, 201312 yr Author 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
November 3, 201312 yr Author 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.
November 3, 201312 yr se .toString() to get the String then use Short temp = Short.parseShort(InputString);
November 4, 201312 yr Author 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.