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

ReactorMonitor - Simple BigReactor Control

Started by cpblack, 02 October 2014 - 07:21 PM
cpblack #1
Posted 02 October 2014 - 09:21 PM
Version 1.3
Just a simple BigReactors program.
ComputerCraft Command: pastebin get s33bki5y disk/startup
Accepts Redstone to toggle program (not reactor)
Saves original setup to computer, so that you can use the disk on any computer, and have the computer have its own setup.



Current Computer Display Example:

Reactor Monitor V1.3 By: Cpblack	  1:54:32

POWER: 12391235023RF
FUEL: 1219038102 mb
REACTIVITY: 345%
RATE: 3987 RF/T
Edited on 15 October 2014 - 03:48 PM
KingofGamesYami #2
Posted 02 October 2014 - 11:54 PM
Welcome to the forums! There are these wonderful things called code tags that you should use!
(but without the spaces)
Also, the syntax highliting isn't lua, so comments are messed up

--a normal lua comment
--#a forums edited lua comment
Agoldfish #3
Posted 03 October 2014 - 01:06 AM
Also, putting it on pastebin is a good idea too. People with the HTTP API enabled will be able to download it without writing every line of code.

I did it for you, you can just copy and paste this line into the computer you want to download it on, and OP can put it in the thread if he wants.

pastebin get 8wQr14ab rmbm
cpblack #4
Posted 03 October 2014 - 04:19 PM
Does anyone know why the mon. section is bumping so far forward?
theoriginalbit #5
Posted 03 October 2014 - 05:04 PM
Does anyone know why the mon. section is bumping so far forward?
the forum software interprets four spaces as a tab, a tab shows a larger amount of whitespace than 4 spaces. if you want it to display with perfect indenting use four spaces instead of two
cpblack #6
Posted 03 October 2014 - 07:33 PM
Does anyone know why the mon. section is bumping so far forward?
the forum software interprets four spaces as a tab, a tab shows a larger amount of whitespace than 4 spaces. if you want it to display with perfect indenting use four spaces instead of two
does one space each work?

Also, does anyone know how to use HTML to pull the code directly from pastebin, so I do not have to copy it back and forth? Edit: I meant like on this page, so I could have a spoiler with a live feed from the page
Edited on 07 November 2014 - 04:49 PM
KingofGamesYami #7
Posted 03 October 2014 - 08:35 PM
http://pastebin.com/raw.php?i={insert code}