Jump to content

Recommended Posts

Posted

Hello.

 

I'm encountering some problems with GUI and Containers.

 

Basically, my problem is that when I want to get some items from my inventory and put them wherever I want in the TileEntity or I want to move it inside my inventory strange things happen.

 

A simple example:

I have an item on ther fourth slot of my player inventory, I press that slot to move the item, and the as I do that the item return to the slot. I can't pick it in any way. But, if I have an item in the sixteenth slot, as I press the slot I get another item of 8 slots before, and when I place it down it behaves strangely.

 

I think it's caused by some wrong communication between the local server and the client, but I don't know what is wrong.

 

Some code:

 

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

 

  Reveal hidden contents

 

 

Well, I have no idea of what I'm missing...

 

Thank you.

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.