Jump to content




Computers talking to eachother(tekkit classic)


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

#1 Orb_29

  • Members
  • 8 posts

Posted 09 April 2015 - 02: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

Attached Thumbnails

  • Attached Image: m.jpg
  • Attached Image: My computers.jpg

Edited by Orb_29, 09 April 2015 - 03:46 PM.


#2 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 09 April 2015 - 02: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.

#3 Orb_29

  • Members
  • 8 posts

Posted 09 April 2015 - 03: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 by Orb_29, 09 April 2015 - 03:18 PM.


#4 Lupus590

  • Members
  • 2,028 posts
  • LocationUK

Posted 09 April 2015 - 03:22 PM

can you give us a screen shot of your computer setup?

#5 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 09 April 2015 - 03: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 by KingofGamesYami, 09 April 2015 - 03:35 PM.


#6 Orb_29

  • Members
  • 8 posts

Posted 09 April 2015 - 03: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

#7 Cing

  • Members
  • 72 posts

Posted 09 April 2015 - 04:20 PM

It isn't from my but here is were i learnt it from.
https://www.youtube....h?v=TphOMZ_CSb4

Edited by Cing, 09 April 2015 - 04:25 PM.


#8 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 09 April 2015 - 06:00 PM

View PostOrb_29, on 09 April 2015 - 03:47 PM, said:

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()


#9 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 09 April 2015 - 09: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.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users