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

Logistics Pipes API problem in Tekkit Legends

Started by Yaefnn, 07 July 2016 - 06:47 AM
Yaefnn #1
Posted 07 July 2016 - 08:47 AM
Hiya,

I'm using the most recent version of Tekkit Legends (1.1.1), Logistics Pipes version 0.9.3.70, and ComputerCraft version 1.74. I've been trying the past couple hours googling, which has obviously been pretty fruitless since I'm now posting. Logistics Pipes API and ComputerCraft are apparently part of the modcraft. (A list of full mods can be found here.)

I'm basically using ComputerCraft, with CCSensors and Logistics Pipes API, to monitor and control the filling of (many) nuclear reactors with coolant cells and uranium.

I have a Request Pipe to the left of my computer. The LP network has power. Two stacks of stone in a chest are visible to the network, and they have another chest in the network to go to. Some other LP functions work, like .getAvailableItems(), but not the .makeRequest() function.

Edited on 07 July 2016 - 06:58 AM
Bomb Bloke #2
Posted 07 July 2016 - 09:25 AM
According to this, you should be able to use .help() to get numbered commands, and then .commandHelp(commandNumber) to get specifics.

But I suspect this page might tell you more of value. Really the command itself should give you proper details on usage.
Yaefnn #3
Posted 08 July 2016 - 01:25 PM
Oh wow, that actually worked out very well. I had suspicions that the argument was its own data type of somekind and not a number. It turns out every unique item has its own little identifier in the LP network, and you can only get this identifier by requesting a table of items in the network. You then plug this identifier in the .makeRequest() function.

I have to work on my Google-fu.

Thanks, Bomb Bloke. ♥