13 posts
Posted 19 November 2014 - 01:38 AM
Hello, I would like to display whats in an inventory because I am trying to use CC alot as I have never used it (or lua) before. I am using 8 cyclic assemblers from Thermal Expansion and want to see there contents with ComputerCraft, Running DW20 1.7.10 pack with computercraft 1.65. Thanks in advanced.
7083 posts
Location
Tasmania (AU)
Posted 19 November 2014 - 05:06 AM
To the best of my knowledge, the mod that'd allow the sort of functionality you're after - that being
OpenPeripherals - still hasn't been updated to work alongside your more recent mod collection.
I'm starting to wonder if it'll update at all.
8543 posts
Posted 19 November 2014 - 05:32 AM
It might be worth giving OpenCCSensors a shot if the goal is to read the contents of inventories.
7083 posts
Location
Tasmania (AU)
Posted 19 November 2014 - 05:46 AM
… aaand this might be a good point to clarify whether "inventories" means "player inventories" or "inventories in general".
8543 posts
Posted 19 November 2014 - 06:16 AM
Tile entities implementing IInventory as well as entities with inventories implemented in the usual fashion.
In other words, yes.
13 posts
Posted 19 November 2014 - 11:19 PM
Yea I am looking to show the contents of not player inventories, just inventories of blocks ie chest. I will see what OpenCCSensors can do what I want it to, if so Ill edit this post:)
EDIT: Just looked at OpenCCSensors, it does not seem to be updated to 1.7.10 and the pack seems to have OpenPeripheralsCore and OpenPeripheralsAddons, not sure what they do but If there is any code I can use to see what is in a chest next to the computer, or maybe connected to network pipes or anything really.
Edited on 19 November 2014 - 10:26 PM
8543 posts
Posted 20 November 2014 - 02:17 AM
There may not be an official release build yet, but the
alpha build in the last page of the topic seems to be working fine for most people, with only a few issues with IC2 support reported so far,
13 posts
Posted 20 November 2014 - 03:35 AM
Okay thanks, now just wondering as Im new to Lua programming, how would I set up a simple code to show whats in a chest inventory, it can be an expample or a actual one I could use, just wondering so i can learn off of that, Thanks in advanced
EDIT: never mind sorry(made a new thread because its a different topic)
Edited on 20 November 2014 - 11:27 PM
13 posts
Posted 20 November 2014 - 01:13 PM
Thank you for the help, making another thread on my next question as im very curious about this mod.
Edited on 20 November 2014 - 11:25 PM