vroominator Posted November 14, 2012 Posted November 14, 2012 I have a bit of a Dilemma. I'm working on adding BuildCraft pipe compatibility to Sorcery's machines. I've got item pumping going just fine, and Liquid pumping is almost there, I've just got one problem. The client doesn't get notified when liquid is pumped into or out of my machine. To my knowledge, when a BuildCraft pipe pumps a liquid into my machine, it calls the fill method required by ITankContainer in the BuildCraft API. I also use this same method when adding liquids to my machine manually (Putting a lava bucket into a Gui Slot), and the client finds out just fine. Really not sure why this is happening. Any help would be greatly appreciated. Quote
SanAndreaP Posted November 14, 2012 Posted November 14, 2012 Could you post the code of this method you're talking about? Quote Don't ask for support per PM! They'll get ignored! | If a post helped you, click the "Thank You" button at the top right corner of said post! | mah twitter This thread makes me sad because people just post copy-paste-ready code when it's obvious that the OP has little to no programming experience. This is not how learning works.
DarkGuardsman Posted November 15, 2012 Posted November 15, 2012 just create a packet handler to tell the client that something changed. Also do you know a good tut for BuildCraft api. I have my own pipe mod but want to make it work with buildcraft machines. Quote http://i577.photobucket.com/albums/ss215/bobstrong/ModBannerMed.png[/img]
vroominator Posted November 15, 2012 Author Posted November 15, 2012 I assumed I might just need to send off a packet any time some liquid is pumped in. And as for the BC Tut, I do not know of any, but just PM me what you need help with and I shall try. Quote
Recommended Posts
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.