ComputerCraft Forums

ComputerCraft => Programs => Topic started by: Emily on May 20, 2019, 03:34 AM

Title: IC2 Reactor Computer Monitor + Controller
Post by: Emily on May 20, 2019, 03:34 AM
(https://camo.tmpim.com/c358ef58aeb8da9a80d1c4b799538b8360347b9c/68747470733a2f2f692e696d6775722e636f6d2f345747423348482e706e67)
For those rare few who still use IndustrialCraft Reactors instead of BigReactor reactors, I bring to you my Touchscreen Controller/Monitor program!

Setup

Reactor
(https://camo.tmpim.com/201da30ece84b87586b44d5e73fdc8f99a3b2aa4/68747470733a2f2f692e696d6775722e636f6d2f546e6e4f71775a2e706e67)

Pretty basic- All this does is send data to the Relay computer you will be setting up soon.

Layout:

Program:

Storage
(https://camo.tmpim.com/2802cb089341df6e37aeb61f524bb5f0a2c75de2/68747470733a2f2f692e696d6775722e636f6d2f78535936444f462e706e67)

This will send energy storage data to your Relay computer.

Layout:

Program:

Relay
(https://camo.tmpim.com/20dff515d70447f29e0f8d642810849b2d5e26b9/68747470733a2f2f692e696d6775722e636f6d2f6933634875374d2e6a7067)

The relay acts as a messenger between the monitor and reactor.

This is not necessary in all scenario, however my reactor is just outside the max range of wireless modem communication so this was required in my case. You will need to modify the code on your own if you wish to do without the relay.

Layout:

Program:

On/Off Gate
(https://camo.tmpim.com/95da6aeea5ada3882a4ca322026f6a42ab044450/68747470733a2f2f692e696d6775722e636f6d2f6a4e33726662672e706e67)
The Relay works with your Reactor computer's safety-net using this logic gate to ensure your reactor is never going to overheat if your Monitor computer breaks or is in a chunk that gets unloaded. Think of the safety-net as a fixed auto-shutoff function.

Layout:

Monitor
(https://camo.tmpim.com/c358ef58aeb8da9a80d1c4b799538b8360347b9c/68747470733a2f2f692e696d6775722e636f6d2f345747423348482e706e67)

Interactive Touchscreen Display for reactor control and info.

Layout:

Program:



All Scripts:
ReactorMonitor (https://pastebin.com/G3nVZkL9)
ReactorReader (https://pastebin.com/sYJ0QTT7)
ReactorStorage (https://pastebin.com/ZQDERnbb)
ReactorRelay (https://pastebin.com/BVMwZcaU)

Disclaimer+Credit
All code is my own; you are free to do with it as you please just plz don't steal credit :)

Idea for UI design influenced extremely heavily by YouTube user Krakaen's BigReactor Monitor design
Title: IC2 Reactor Computer Monitor + Controller
Post by: HydroNitrogen on May 20, 2019, 01:54 PM
Well done, simple yet fancy GUI. Nice software. I'm interested in stuff you'll produce in the future!