Vswe's Summer Courses | You're not logged in. Sign up or log in | Server time: | Donate
One can now see other persons' badge hunts. Simply head over to their profiles to access them.

Go back to course page

Climbing the interface ladder

From basic graphical interfaces to very advanced ones

Synchronization

  • 2013-09-12 14:03:12
    I have a slight problem with the interface in assignment. When i log in and open up the gui progress bar is slightly de-syched. Not by much, just a few ticks. To fix it i need to reopen the gui. Is there some way to fix that?

    Code:
    https://www.dropbox.com/sh/a63ubjdijtyy2l5/f1buWW_EU2
  • 2013-09-12 14:35:29
    One more question: how to disable eg. Hoppers pulling from a slot?
  • 2013-09-12 15:23:04
    For the first question: the problem is that you're not using detectAndSendChanges() in your container.

    For the second one: You can implement the interface ISidedInventory and tell it to not allow pulling items out. It should be fairly straight forward if you take a look in the code for that interface.

  • Log in or sign up to reply to this thread