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

Information Display System

Started by b2550, 27 November 2013 - 10:14 PM
b2550 #1
Posted 27 November 2013 - 11:14 PM
I have a large group of Advanced Computers with screens connected to them. They are put around a Subway station I made. I want to have a way for them to update with the following information:
  • Route Name (Color of route with destination of next train)
  • ETA of subway (with arrival message)
  • Updatable messages
There are multiple different stops and 4 routes with different stops

I only have worked on the message part and can't get it to work. I would love some help on the others.

I cannot get a RedNet message system working and I have tried this:

term.clear()
rednet.open("top")
term.setCursorPos(1,1)
print("Board Updater")
message = io.read()
rednet.send(0, message)


term.clear()
term.setCursorPos(1,1)
rednet.open("top")
while true do
id, message = rednet.receive()
redstone.setOutput("back", true)
local nTime = os.time()write(textutils.formatTime( nTime, false))
print (" - "..message)
print ()
sleep(1)
redstone.setOutput("back", false)
end

The map has one master control room and I would like all of this to be controlled from it. The destination system is not automatic and is set by the controller.

Each route has multiple screens on the platform.

This map will be published :D/>
It will be a fully operational subway system complete with MCEdit schematics and program floppy disks

Pictures of the platform are available if needed

I have these mods installed:
Railcraft
Traincraft
Computercraft (Duh)
Bomb Bloke #2
Posted 28 November 2013 - 06:51 AM
I only have worked on the message part and can't get it to work.
What happens instead?

My only guess is that you've got the computer ID wrong.