Jump to content




Requesting Mana Beans by type from Logistics Pipe network


  • You cannot reply to this topic
6 replies to this topic

#1 GamerNebulae

  • Members
  • 216 posts
  • LocationNetherlands

Posted 22 May 2014 - 03:40 PM

I've seen the DireWolf20 video about requesting mana beans from the AE system that is connected through Logistics Pipes. There is a supplier pipe connected to the ME Interface and, for now, there is a request pipe hooked up to a chest with a computer next to it.

My question is: can someone explain to me how this works and how I can request mana beans from the network? This is what I have so far:

reqpipe = peripheral.wrap("right")
items = reqpipe.getAvailableItems()

for k,v in pairs(items) do
  nameBean = reqpipe.getNBTTagCompund(v[1])
  print(nameBean["value"]["Aspects"]["value"][1]["value"]["key"]["value"])
end

Edited by GamerNebulae, 22 May 2014 - 03:40 PM.


#2 CometWolf

  • Members
  • 1,283 posts

Posted 22 May 2014 - 07:48 PM

I haven't played around much with LP and computers, but i have to ask, what is the point in the first place? If you want it automatically restocked, use a supplier pipe. Or if you want to be able to request them at will, use a request pipe mk3 and just right click on it. Also, you'll probably need a provider pipe on your AE system, not a supplier lol.

#3 flaghacker

  • Members
  • 655 posts

Posted 22 May 2014 - 08:39 PM

Direwolf20 made a essentia refill system with computercraft. You select a aspect, click e.g. "add 10", and the computer puts it the machine that cooks up the aspects.

Just look at his newest episode, he posted his code on pastebin.

#4 CometWolf

  • Members
  • 1,283 posts

Posted 22 May 2014 - 08:45 PM

I don't use Thaumcraft or watch Direwolf20, so these are just meaningless words to me :P

#5 flaghacker

  • Members
  • 655 posts

Posted 22 May 2014 - 09:18 PM

View PostCometWolf, on 22 May 2014 - 08:45 PM, said:

I don't use Thaumcraft or watch Direwolf20, so these are just meaningless words to me :P/>
Yea, but the OP does...

#6 GamerNebulae

  • Members
  • 216 posts
  • LocationNetherlands

Posted 24 May 2014 - 01:49 PM

View Postflaghacker, on 22 May 2014 - 09:18 PM, said:

View PostCometWolf, on 22 May 2014 - 08:45 PM, said:

I don't use Thaumcraft or watch Direwolf20, so these are just meaningless words to me :P/>
Yea, but the OP does...

The problem with Dire's program was that you need to click buttons to make it refill. Instead, I wanted to make a system that automatically refilled them without the user having to click something. This was my solution:

http://pastebin.com/xYyDNRak

EDIT: typo's

Edited by GamerNebulae, 24 May 2014 - 01:50 PM.


#7 flaghacker

  • Members
  • 655 posts

Posted 24 May 2014 - 01:57 PM

Nice program, but is 60 seconds enough in all cases? Because it's really going to mess up if not... I was thinking a sensor from openperipherals might be able to tell if the golem is done...





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users