This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ihatetn931's profile picture

Best Way

Started by ihatetn931, 23 January 2014 - 02:22 PM
ihatetn931 #1
Posted 23 January 2014 - 03:22 PM
What is the best way to put stuff in certian slots of an inventory.

Trying to automate adding fuel and cooling cells in a reactor and i want it to keep my order of what they're in, Tried openccensor but when the slot becomes empty, it returns nil making it hard to detect when it needs fuel. Openperphial dosen't seem to work as it should.

I want to put certian items in certian slots, when the fuel runs out, it will be pulled out and the "program" will put another one in the slot that has became empty

I need to do the same with cooling cells but the reactor needs to be powered off when it removes cells, i couldn't think of a way to turn the reactor off when cells got removed.
Bomb Bloke #2
Posted 23 January 2014 - 05:31 PM
Can't say I know that much about reactors, but in regards to your mods, I'd recommend inspecting your version numbers.
ihatetn931 #3
Posted 23 January 2014 - 05:38 PM
As far as i know i've got all the latest versions
Lyqyd #4
Posted 23 January 2014 - 06:08 PM
That's not helpful. Why don't you state what versions you do have so that we can help ensure that they are, in fact, the latest versions.
ihatetn931 #5
Posted 23 January 2014 - 06:14 PM

OpenCCSensors-1.6.4.1b
OpenBlocks-1.2.4
OpenModsLib-0.1
OpenPeripheralAddons-0.1
OpenPeripheralCore-0.3.0
ComputerCraft1.58

Need any other mods? Better yet here is a pic of my mod directory

OpenPeripheral pullItemIntoSlot and pushItemIntoSlot, dosen't put it in the slot you tell it to

[attachment=1449:mods.PNG]
Edited on 23 January 2014 - 05:16 PM
ihatetn931 #6
Posted 25 January 2014 - 12:51 PM
Not asking anyone to code anything, i just wanna know what is the best way to do this, i can handle the coding on my own with trial and error