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

Computers talking to eachother(tekkit classic)

Started by Orb_29, 09 April 2015 - 01:24 PM
Orb_29 #1
Posted 09 April 2015 - 03:24 PM
I'm not sure how I assume it's through wireless signals but I want computer A to give off a continuous
Bundled circuit output to the lights. but when computer B says "rs.setBundledOutput("back", 0)" computer A is still saying to give off the signal. make computer B tell computer A to shut-down or end the programme? sorry if you don't understand
Edited on 09 April 2015 - 02:46 PM
KingofGamesYami #2
Posted 09 April 2015 - 03:55 PM
I'm not sure if the "redstone" event triggers with changes in the bundled input, but if it does that's what you'll want.

Also, what version of computercraft are you using? If it includes modems and rednet, that might be easier.
Orb_29 #3
Posted 09 April 2015 - 04:13 PM
I have got a wireless modem on here it's computercraft 1.33 and it's readstone.setBundledOutput("back", 0) which is how I turn off everything with computer A. but I don't know how to use Modems or rednet
Edited on 09 April 2015 - 02:18 PM
Lupus590 #4
Posted 09 April 2015 - 04:22 PM
can you give us a screen shot of your computer setup?
KingofGamesYami #5
Posted 09 April 2015 - 04:35 PM
Well, with wired modems you can wrap the other computer as a peripheral, and shut it off: Computer API.

Edit:Fixed link.
Edited on 09 April 2015 - 02:35 PM
Orb_29 #6
Posted 09 April 2015 - 04:47 PM
Could you send a link to a video or something explaining modems and controlling two computers then because I don't know how to use them? I've sent pictures of my set up
Cing #7
Posted 09 April 2015 - 05:20 PM
It isn't from my but here is were i learnt it from.
https://www.youtube....h?v=TphOMZ_CSb4
Edited on 09 April 2015 - 03:25 PM
KingofGamesYami #8
Posted 09 April 2015 - 07:00 PM
Could you send a link to a video or something explaining modems and controlling two computers then because I don't know how to use them? I've sent pictures of my set up

I don't have a video, but I can give you step-by-step instructions

1. Place a wired modem on each computer
2. Place cable connecting the two (it should connect to the modem)
3. Right click on the modem of the computer you wish to turn off/on
4. In chat, it'll say something like "computer_0"
5. Use that value to wrap the computer ( c = peripheral.wrap( "computer_0" ) )
6. Turn off that computer whenever you want.


local c = peripheral.wrap( "computer_0" )
c.shutdown()
Bomb Bloke #9
Posted 09 April 2015 - 10:45 PM
Unfortunately, wired modems aren't an option until CC 1.51. I'm not even sure if computers can be treated as peripherals under CC 1.33, but if they can, then they'll need to be right next to each other.