How To Use ccSensors
Started by theoriginalbit, Jan 20 2013 04:29 AM
45 replies to this topic
#41
Posted 24 January 2013 - 12:44 AM
Thanks for all the help guys! Glad to have it solved, now I could set up a defence line and maybe even make a showoff video with the link to this topic on youtube
#42
Posted 26 January 2013 - 06:19 AM
I'm curious to know what the problem was, do tell
#43
Posted 26 January 2013 - 01:30 PM
His sensor was actually picking up players as EntityPlayer not vq. So I added a check for both in the code. Fixed it in op code too.
#44
Posted 26 February 2013 - 08:23 PM
Hello, my question is more about commands i need to do this -- (other then commands already covered in this thread and in the "inventory Module — By remiX: http://pastebin.com/8QZzwre9")
I have a large factory and sorting setup, I would like the inventory sensors to detect whats in the chests and display the total of each item on a monitor. which either updates constantly or just every minute if that's easier with a wait loop.
The sorting system is large and will require several sensors, so it needs to detect all items in several chests and then just list the total of each type of item instead of just listing each 64 stack. Any examples of something like this out there? i've been searching but not having any luck.
*edit* so i'm just looking for a short example i can build from that gets item counts, adds it together and then displays it, keeping the total updated as it changes.
I have a large factory and sorting setup, I would like the inventory sensors to detect whats in the chests and display the total of each item on a monitor. which either updates constantly or just every minute if that's easier with a wait loop.
The sorting system is large and will require several sensors, so it needs to detect all items in several chests and then just list the total of each type of item instead of just listing each 64 stack. Any examples of something like this out there? i've been searching but not having any luck.
*edit* so i'm just looking for a short example i can build from that gets item counts, adds it together and then displays it, keeping the total updated as it changes.
#45
Posted 28 February 2013 - 02:19 AM
Mordokk, on 26 February 2013 - 08:23 PM, said:
- snip -
The main point is to loop through the chests and count items with the same identifier. this can be achieved easily with tables. take a look at the PIL for more on tables.
#46
Posted 17 July 2013 - 08:16 PM
Cool! Now I can see my MFSU' status by a monitor...
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users











