I've just started making a pruning program for my ME Network - so it caps the stacks of items at 1000 in the network.
I would like to do something similar with Essentia from Thaumcraft 4.
Eg: If the aspect count is > 1000 - then start dumping it into void/oblivion jars.
Is there a specific peripheral I need to use to get the networked Essentia amount?
When I put the computer beside an essentia provider - it just gives me a string 'arbor' for the 'getAspects' method.
No table to loop through etc
1
Get network amount of Essentia?
Started by Baaleos, Jun 12 2016 06:51 PM
6 replies to this topic
#1
Posted 12 June 2016 - 06:51 PM
#2
Posted 12 June 2016 - 07:07 PM
Closest I think I have found involves having to have the computer beside the me drive itself.
Then I can do
stacks = getAllStacks()
for each stack etc
then on each storage cell, I can get the available types, and used bytes etc
Anyone got a more elegant solution?
Then I can do
stacks = getAllStacks()
for each stack etc
then on each storage cell, I can get the available types, and used bytes etc
Anyone got a more elegant solution?
#3
Posted 13 June 2016 - 01:06 AM
Apparently "Thaumic Energistics" may have a block of some sort that helps with this? Or something?
http://www.computerc...ic-energistics/
http://www.computerc...ic-energistics/
#4
Posted 13 June 2016 - 01:13 AM
Cheers, will try that tomorrow, although that being said, I think I tried getAspects on the essentia provider block and it just returned a single essentia type "arbor"
#5
Posted 15 June 2016 - 10:04 PM
So I managed to use this code to get the amount of essentia from the network -
Does anyone know how to use computercraft to export essentia?
Eg: ExportItem works for items, but how does one export essentia into a jar?
I am hoping to automate the voiding of essentia - so
if aspect > 2000 => send it to the oblivion jar.
However, I can't find any export mechanism.
Does anyone know how to use computercraft to export essentia?
Eg: ExportItem works for items, but how does one export essentia into a jar?
I am hoping to automate the voiding of essentia - so
if aspect > 2000 => send it to the oblivion jar.
However, I can't find any export mechanism.
#6
Posted 16 June 2016 - 03:23 AM
ComputerCraft isn't actually supplying the functionality for dealing with the network peripherals at all; that's likely coming from OpenPeripheral (or perhaps Applied Energistics itself).
OP's documentation isn't as accessible as it could be. This script makes it a fair bit easier to read through:
http://www.computerc...openperipheral/
OP's documentation isn't as accessible as it could be. This script makes it a fair bit easier to read through:
http://www.computerc...openperipheral/
#7
Posted 16 June 2016 - 01:33 PM
Ok, I will have a go at that.
I have an idea of how I can achieve what I want.
Now that I can get the amount of essentia - I can output a redstone signal based on the value.
I can then use the redstone signal to enable or disable AE2 export buses upgraded with the redstone signal card.
The only problem I see is that this might require a lot of computers - or is there a way for one computer to control redstone signals across a whole room?
I was also seeing some client crashes last night.
When I say client crashes, I mean it was booting me off the server, saying Internal Server Error.
It was always occuring when
1. I had a Essentia Provider connected to the side of an Advanced Computer
2. I then placed redstone or anything else adjacent to the computer on the other side.(behind the computer for instance) <-- Crash
Logging back in, and then removing or adding more adjacent objects would then boot me again.
Its like it was being triggered on a peripheral discovery event or something.
Eg: detects a peripheral or object being placed or removed => crash
I have an idea of how I can achieve what I want.
Now that I can get the amount of essentia - I can output a redstone signal based on the value.
I can then use the redstone signal to enable or disable AE2 export buses upgraded with the redstone signal card.
The only problem I see is that this might require a lot of computers - or is there a way for one computer to control redstone signals across a whole room?
I was also seeing some client crashes last night.
When I say client crashes, I mean it was booting me off the server, saying Internal Server Error.
It was always occuring when
1. I had a Essentia Provider connected to the side of an Advanced Computer
2. I then placed redstone or anything else adjacent to the computer on the other side.(behind the computer for instance) <-- Crash
Logging back in, and then removing or adding more adjacent objects would then boot me again.
Its like it was being triggered on a peripheral discovery event or something.
Eg: detects a peripheral or object being placed or removed => crash
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users