SquidDev-CC / plethora

A peripheral provider for ComputerCraft
https://plethora.madefor.cc/
MIT License
56 stars 23 forks source link

Can't find way to pull/push items across network. #235

Closed mmance closed 4 years ago

mmance commented 4 years ago

I have been able to use pullitem and pushitem to move between adjacent inventories, but I can't figure out how to move to another inventory on the network.

I have cc-tweaked installed. I looked at the documentation, both in game and on the wiki, but there are no examples for remote inventories. I do not see remote inventories when I try getTransferLocations().

Thank you for a wonderful mod.

SquidDev commented 4 years ago

Hrmr, can you post a screenshot of your wired network?

mmance commented 4 years ago

I think I figured it out. I am trying to move from the small chest to the big chest, but the small chest is only a peripheral on the computer, it does not have a modem. When I looked at getTransferLocations() on the bigchest, I could see everything except the small chest.

Guess everything has to have a modem and not just be a peripheral directly.

Thank you so much for getting back to me quickly. I posted the picture of the setup as to maybe help someone else with this issue.

mmance commented 4 years ago

I also wanted to point out that even though I added a wired modem block to the small chest, it does not work yet, because my code says peripheral.find('chest') it wraps as "top" instead of via the modem.

SquidDev commented 4 years ago

I think all your questions are answered, so closing this. Just shout if I missed something, and I'll reopen.