r/ComputerCraft • • Jan 07 '21

Script enabling usage of peripherals over wireless modems

https://github.com/jdf221/CC-WirelessPeripheral

Not sure if this is useful for anyone. Wanted to have my reactor control monitor in the base but didn't want to run a long networking cable cause ew.

So just made a copy of the peripheral API and reimplemented it so that it simply sent commands to other computers that were connected via wired modems to the reactors then sent back their replies. Should support everything from the real peripheral api unless I missed something. Even supports wrapping the peripherals.

9 Upvotes

17 comments sorted by

View all comments

Show parent comment

1

u/48756e746572 Apr 07 '23

Okay, I understand now. It looks the ME bridge expects that the chest it sends things to is on the same wired modem as itself. With that figured out, I put the chest and bridge on the same modem and send things to "minecraft:chest_29" This is a little annoying but with the fix you gave me I can make this work. Thanks!

1

u/jdf2 Apr 07 '23

Happy to help! I enjoyed the quick problem solving I got to do, have had an unfortunate lack of that in life recently lol.