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

Active Reactor OS v1.0

Started by JakeDaSnake, 28 December 2014 - 06:11 PM
JakeDaSnake #1
Posted 28 December 2014 - 07:11 PM
Active Reactor OS aims to get your Big Reactors in check by running them at optimal levels, and giving you a full read out of what, and how your reactor is doing!

In the past, I've had problems with my reactors' GUI not displaying information in real time, or even reading out all zeros. I also hate having to monitor my reactor, but I don't have to anymore! And neither do you!


Description:
This "Active Reactor" operating system gives you a read-out of all the important things you need to know about your reactor. Whether it's currently stored RF, to how much fuel is being used, Active Reactor has you covered.

But wait! There's more!

That's right, it gets even better! Active Reactor OS isn't called "active" for just any reason, Active Reactor adjusts the amount of energy your reactor is making twice a second! That's right people! No more coming home to a sad, atom hungry reactor again! No more accidentally leaving your reactor off and running out of power!

Here's some screenshots!
SpoilerReactor sitting, idle:

Reactor, starting up:

Reactor sitting active, monitoring energy usage:

You must note, your screen must be a minimum of 2x2!

How to install:
First, Download!

[attachment=2024:AROS.txt]

Then, change it to a regular file!

For a single save, click this spoiler!
SpoilerIf you use this method, it's best to save to title before inserting any script!


1. Navigate to your saves folder!

2. Open the save you would like to have the code in!

3. Open the "computer" folder!

4. Select the computer and/or disk you want the operating system on!

5. Put the file in the computer/disc you choose, load up your world, and now you have your brand-spankin-new Active Reactor OS installed! Enjoy!

For all your saves, click this one!
SpoilerIf you use this method, changes will not take effect until you re-start Minecraft!


1. Navigate to your Minecraft folder!

2. Open your mods folder!

3 Depending on the version, it's either "ComputerCraft x.xx.jar" or "ComputerCraft x.xx.zip". If it's ".jar", open it with WinRar or equivalent! If it's a ".zip", just double click it!

4a. If it's a ".jar", open folders assets, then computercraft, lua, then rom, and lastly, programs!

4b. If it's a ".zip", open folders lua, then rom, and then programs!

5.Now just drag and drop (make sure not to accidentally place it in a folder), start Minecraft, load your world, and in your Computers program listings is your brand new, top-of-the-line Active Reactor OS! Enjoy!

Don't like reading? Watch me do it, then!
Spoiler


Don't like me? Okay, I have a solution for that too! Watch these guys:
SpoilerTheSommersMC
- https://www.youtube....h?v=uwFyVxfzYU4

Hashtagaming - https://www.youtube....h?v=AYaDLzs4v7Q


If that doesn't cut it, these are your best solutions! I use these every day!
SpoilerOption A
Option B
Option C

(My personal favorite is Option A)

And last, but certainly not least, if, for any reason, you would like to use my code, or my program, in or for anything, you have my permission! But if you could, let me know aswell! And please don't claim it as your own. Thanks!
Exerro #2
Posted 28 December 2014 - 08:02 PM
I'm sure it's a very good program, but I don't really see how this is an operating system. Typically, operating systems run other programs, and provide various APIs or features that make it easier to use those programs (i.e. easy networking, multitasking, windows etc).
JakeDaSnake #3
Posted 28 December 2014 - 08:38 PM
@awsumben13 Technically, this is considered an extremely basic operating system. It implements real-time monitoring of all of the reactors actions. It implements real-time commands for the reactor, based upon the reactors status. It also gives you somewhat of a GUI.

I have plans in the near future to add a few move readouts, some user - reactor interactions, and eventually a complete GUI for the actual computer consisting of toggles, different measurement types to choose from, color schemes, and a few more ideas.

But, if this truly is not an operating system, what is it then? Cuz I'll post it there, instead.
Lyqyd #4
Posted 28 December 2014 - 09:07 PM
It could be either, so if you consider it an OS, it is one. There are very few meaningful criteria for what makes something an OS in the context of ComputerCraft, so it mostly comes down to whether it is intended to be an OS or not.
ElvishJerricco #5
Posted 28 December 2014 - 11:05 PM
Operating Systems tend to be a layer between the lowest level of the platform and the programmer. They should exist to enrich program development. For example, managing how programs are run, and managing APIs. As a usability requirement, they also need to implement some way of interfacing with end users like a GUI or shell, which of course should be as good as possible. But (and this is the thing most of the operating systems on these forums don't understand) that is not the primary purpose of an OS.

I agree with Lyqyd. If you want to develop it as an OS, go ahead. But at the moment I have to say this looks like it's a cool program, instead of an OS.
JakeDaSnake #6
Posted 29 December 2014 - 06:47 PM
If it's necessary, it can be moved to APIs until I've implemented more features. Regardless, I'm still working on upgrading this. It will soon be much more then what it is now, and eventually, more then just a reactors' operating system.
minz1 #7
Posted 02 January 2015 - 02:50 AM
I hope you don't mind, but I put this on a pastebin for convenience.
Vr22s #8
Posted 03 January 2015 - 06:06 AM
I keep trying to use this and keep getting attempt to call nil with the code piece " act = rad.getActive()"…Any help?
Enkian #9
Posted 06 January 2015 - 01:06 AM
I keep trying to use this and keep getting attempt to call nil with the code piece " act = rad.getActive()"…Any help?

This will be a multipart solution:

1) Right click the modem connected to your monitor, it'll show a ID associated with it, if it's monitor_0 you're good to go, if not, remember what number monitor it is.
2) Right click your modem connected to your reactor, write down what it says (it's case sensitive I believe). Should be something like: BigReactors-Reactor_0
3) Right Click your computer and type 'edit aros' without the quotes.
4) The first two lines are variables, if your monitor is different, edit the number within the double quotes.
5) Next is the Reactor.. it should be defaulted to back, erase the back part in the double quotes and then put in BigReactors-Reactor_X where X is your reactors number.
6) Press Ctrl and then save, once it saves, press ctrl and exit.. run the program and it should work.
KevinsCode #10
Posted 16 January 2015 - 01:44 PM
I keep trying to use this and keep getting attempt to call nil with the code piece " act = rad.getActive()"…Any help?
This script probably requires OpenPeripherals if not when did i miss the update where computer craft added a .getActive() or the ability to read RF, seriously did i miss an update?