Giter Site home page Giter Site logo

acidjazz / drmon Goto Github PK

View Code? Open in Web Editor NEW
59.0 7.0 82.0 2.19 MB

Draconic Reactor computercraft monitoring and failsafe interface

Lua 100.00%
minecraft minecraft-mod mod draconic-reactor flux-gate monitor draconic-revolution computercraft computercraft-scripts

drmon's Introduction

status: currently stable, writing documentation

drmon

monitor and failsafe automation for your draconic reactor

what is this

this is a computercraft LUA script that monitors everything about a draconic reactor, with a couple features to help keep it from exploding NB: This is for Minecraft 1.7.10. You will need to edit references within the code for any version higher to reflect any changes made to Draconic Evolution past its 1.7.10 release.

tutorial

you can find a very well made youtube tutorial on how to set this up here , thank you The MindCrafters

features

  • uses a 3x3 advanced computer touchscreen monitor to interact with your reactor

  • automated regulation of the input gate for the targeted field strength of 50%

    • adjustable
  • immediate shutdown and charge upon your field strength going below 20%

    • adjustable
    • reactor will activate upon a successful charge
  • immediate shutdown when your temperature goes above 8000C

    • adjustable
    • reactor will activate upon temperature cooling down to 3000C
      • adjustable
  • easily tweak your output flux gate via touchscreen buttons

    • +/-100k, 10k, and 1k increments

requirements

  • one fully setup draconic reactor with fuel
  • 1 advanced computer
  • 9 advanced monitors
  • 3 wired modems, wireless will not work
  • a bunch of network cable

installation

  • your reactor output flux gate must be setup so that one side of it and one of your stabilizers touches a side of the advanced computer
  • by default, flux gate should touch the right side, stabilizer should touch the back of the computer
    • if you want to use different sides you need to modify startup after you have installed this and specify the sides
  • connect a modem to your input flux gate (the one connected to your reactor energy injector)
  • connect a modem to your advanced computer
  • setup yoru monitors to be a 3x3 and connect a modem to anywhere but the front
  • run network cable to all 3 modems
  • install this code via running the install script using these commands :
> pastebin get Ls1Wg3QQ install
> install
  • modify startup if you wish to configure/alter any variables mentioned in the feature list, you'll find them at the top of the file
> startup
  • you should see stats in your term, and on your monitor

upgrading to the latest version

  • right click your computer
  • hold ctrl+t until you get a >
> install
> startup

known issues

  • there is a problem with skyfactory 2.5 and pastebin, see workarounds here

drmon's People

Contributors

acidjazz avatar piepie62 avatar spannerman79 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

drmon's Issues

Reactor Output Incorrect

Hello, I'm having an issue in single player. After setting up the program for the first time, everything works fine. When I restart the game my actual reactor output no longer matches what I've set on the monitor, being lower by 33%. With 1 million RF/t set on output, the output gate is only accepting 666 thousand RF/t. I can sometimes fix this temporarily by disconnecting the gates and monitor, restarting my single player game and reconnecting everything.

2018-02-24_12 25 26

2018-02-24_12 25 37

2018-02-24_12 25 44

2018-02-24_12 25 47

(Edit)
After disconnecting all modems, picking up the advanced computer, restarting the game, replacing the computer and reinstalling the program, it works, until I restart the game again. Interesting to note is that not every restart of the game causes this bug, It seems to happen randomly after 1 to 4 times starting the game.

2018-02-24_13 09 34

(Edit 2)
After further testing this seems to not be a problem with the program at all, rather the flux gate itself. Applying a redstone signal resets the flux gate and forces it to function correctly.

Script Simply Does Not Work.

I am recent to Git Hub scripts so I might have botched something while putting in the code, but other than that, every individual line of code I enter, eventually, like, twelve of them in a row start spitting back errors.

Not working on MC FTB Infinity (Server)

Hello, i tried today to download this programm on my Server. Unfortunatelly i don't have any experience in CC if anyone could help i would be very happy!

I wanted to install with:

pastebin get Ls1Wg3QQ install
install

and nothing happens, even on my 3x3 advanced monitor i cant see anything.
Also tried to get it running with the existing and solved issues.
On my Server is not even a file in ...World/computer/...

Cannot get it to work

I have used this computer craft code before in another world. But in a new one now with some friends but cannot seem to get it to work. I type pastebin get Ls1Wg3QQ install, then install underneath but it doesnt show up on the monitor. When I try to edit there is no code there either, unsure if im doing wrong or not... been a while since i did this

Multiple reactor stabilizers

i am attempting to attach multiple reactor stabilizers in an attempt to produce over 20mil rf/t. how ever im not sure if this script even allows this and if i can connect modems to the stabilizers. so simply put i need to connect this computer craft program to 4 stabilizers simultaneously?

Output/input stuck at 0 RF

I built the reactor and CC setup as it said twice on different worlds. They're exactly the same, one works and one does not produce anything and take in anything. When I try to raise the output, nothing happens.

can't print boolean variable v (line 178 of drmon.lua)

In my Minecraft server (FTB-revelations), I tried this program and it gave the error that on line 178, it can't print the boolean variable "v".

A fix for this is to change (on line 178 of drmon.lua):
print(k.. ": ".. v)
to
print(k.. ": ".. tostring(v))

This fixes the issue without breaking older versions

Error on start up run

im getting an error on line 178 of the code i think.
the error reads (Startup:178: attempt to concatenate string and boolean.)
not sure how to fix this

Program not letting reactor generate power

I have used the program for a while now and i did accidentally disconnect my rector from my power bank for a sec. my reactor overheated and the program stopped the reactor and worked like it should do.

The problem is the screen shows the output and input gate is going down all the time, right now both are synchronised going down and is at 20 rf/t. The temperature is 2,007 C and going very slowsly down.

I have tried to reboot the computer and even replacing the computer and installed the program again but every single time the input and output gate keeps going down.

I can't get the reactor to start generating power again.

Auto Input gate doesnt work.

I tryed the program but the auto that change RF/t on the input gate doesnt want to change by it own and i do not know why. On Minecraft 1.12.2 . it just stays on 10,000rf/t know and doesnt change. i know it is warming up just becasue i restared it.

Does not work

Hello, i cannot get this program to work. The input fluxgate is not interacting with the program. Even if i manually change the value (via the monitor), the fluxgate's value stays the same. There are no error messages provided by the computer either so it is recognising it. I have tried placing the modem on multiple sides of the fluxgate too. Any ideas?

Field strenght always falling

Well as the title says the programm doesnt keep the shield strengh at 50% it increases the input, but not enough to keep it up apperently. It works if I manually adjust the value with the monitor, so the programm should be correctly hoocked up and energy is also enough provided. Also it doesnt try to reach the output I set if i set it to 300k rf/t and it was at 210k rf/t the output goes down instead of going up to 300k.

How do I update my computer to work with 1.12.2?

I've set up everything to the dot, exactly as stated in the readme but I get an error message on line 178. How do I fix the line/edit the code? Do I have to type in another command into the actual computer in Minecraft? Do I link the computer to another pastebin URL? Sorry, I'm a super huge noob to ComputerCraft.... Anything helps thanks.

program is not working at all

I play on a hosted server in Minecraft 1.7.10 withe the FTB infinity evolved modpack an read the README multiple times but cannot a mistake. I also rebuild it some times and build it 1 to 1 like in the video

Problem keeping field strength up

I built the reactor and I can get it up and running, but it appears that the field strength will not stay at 50%, the code seems to be working fine, but after a delay the percentage just drops until reaching 15% where the code automatically resets the reactor.

I am running FTB infinity evolved on minecraft version 1.7.10 and the only part of the code I changed was in line 280. It said (1-(targetStrength/100)) and it now says (.7-(targetStrength/100)). I did this because I found somewhere that it had to be done when running infinity evolved because everything takes more power.

My setup is exactly as described by the MindCrafters in their tutorial except I have cryo-stabalized fluxducts instead of energy tranciever and I added some cryo-stabalized fluxducts between my tesseracts and the flux-gates.

I am not sure if this is a problem with the code or something messed up with draconic evolution, but I wanted to bring up that this was happening and see if anyone else was having similar issues or knows what is wrong.

The Program just is not working.

I am playing on a server with some friends, it is just the four of us. I setup the reactor as usual and install everything and it just does not work. The Input and Output shoot up to 900,000 and the reactor does not charge. If we try to kick start it by forcing power in, the program lowers the output and we can't control the reactor. I test all this in creative and everything works just fine. Why is it doing this?

Some issues I had to fix for 1.16.5

I know this isn't for 1.16.5, however, it didn't take too much to make it compatible in case you wanna load a version for that. There's no bug just letting you know.

  1. For whatever reason, when you plug in a flux gate to the computer they are marked as flow gates now. So a small update to line 37 from flux to flow took care of it.
  2. I was getting the v is a boolean error in the pairs on line 178. No doubt it's interpreting 1 or 0 as a bool erroneously, so I just wrapped v with a tostring() to fix it
  3. FML the flickering screen (Like it was doing in your tutorial) is driving me nuts! I know it's CC but do you happen to know any fix?

Attempt to call nil

Loaded the program for the first time and it worked great. Had to move stuff around and now the program wont start. When I go to setup it says at the bottom. startup:180: attempt to call nil.

I have trashed the computer and re downloaded the code, but i get the same error and nothing on screen no matter what I do.

Any ideas? only thing i see that changed is the monitor and flux gate id's go up every time I move it. Would that have something to do with it?

startup throws up an error

so when i get to starting this thing i get an error
"startup:178: attempt to concatenate strong and boolean"

any idea why this might be happening? im playing on the ATM modpack

Auto not keeping reactor stable

When in AU Mode the program does not push enough rf into the reactor, so it just shuts down at 15% and starts all over again from 50%.

Version:
FTB Infinity Evolved
1.7.10

Automatic Shield Stabilization Not Working

I fixed the error on like 178 and got the program itself working, the fix mentioned in the previous posted issue, but now im realizing that the only thing not working is the automatic regulation of the shield. How can I fix this?

Auto increment

I have been attempting to edit this code so that on each update the output limit will increase or decrease proportionally difference between the temperature and a defined target temperature, ri.temperature keeps returning nil when I add the code directly, do you know why that is or how it could be fixed?

---EDIT---

I fixed this, I have changed autoinput mode to a full auto mode that on every update changes the out put limit to

Limit = generation + (Target Temperature - Current Temperature) * 50

Where Target Temperature is defined in by the user and defaults to 7000 I encourage you to use the code it's working very well for long term management and I've uploaded it as a branch

Reactor temperature falls no matter what i do

When i turn on the reactor the saturation continues to climb to over 90% and doesn't stop, the temperature starts dropping fast yet the field strength stays at 50 or above, could you explain to me why does this happen?

App crashed after few min

fuelConversionRate: 846
temperature: 7378.53
fieldStrength: 5.0116072E7
fieldDrainRate: 116238
generationRate: 649335
status: online
energySaturation: 153503950
maxFuelConversion: 10368
fuelConversion: 444.188
maxFieldStrength: 100000000
maxEnergyStaturation: 1000000000
Output Gate: 650000
Input gate: 232476
Java Exception Thrown:
Java.lang.NullPointerException

and this error other times

Java Exception Thrown:
Java.lang.IndexOutOfBoundsException: Index:0, Size: 1

i keep getting that Java error after so 2-5 min of the app running

Cant startup

startup:178:attempt to concentrate string and boolean, Any help?

Startup doesn't exist (among other issues)

I did the exact command as you said, and it installed correctly. I type install, it doesn't say start or anything, but it doesn't say "No such program" either. Once I did this, I look at the monitor, and there is nothing there. I assure you the system is set up completely correct, and here's a couple of screenshots:
2017-04-17_22 24 39
2017-04-17_22 24 42
2017-04-17_22 24 46
2017-04-17_22 24 51
Also, I tried using the command startup, and it says "No such program".
That's all.

Unable to get monitor to display

I went into a single-player creative world to test this out before I did it on the hosted infinity evolved server I'm playing on but I can't figure out how to get this to work.

I've read the ReadMe thing. I added the text to the "install" file but when I log back on and do >install i get these:
image

I've never used CompCraft so I can assume i'm doing something wrong but I don't know what.

Can't get the code through pastebin

Ok so i did exactly what you told me to do (doing "pastebin get Ls1Wg3QQ install" then "install" then "startup") but even if the computer says that it successfully downloaded the code from pastebin.com, when i do startup it tells me it doesn't exist and when i check what's inside "install" by doing "edit install", it looks like nothing is in there, pls help
EDIT : I only get this issue on SkyFactory 2.5, i tested on Infinity Evolved and it worked

Compatibility or incompitance?

I'm not sure if it's a compatibility issue with the
Draconic-Evolution-1.16.5-3.0.20.440-universal.jar version of draconic evo or if I'm just missing something, but I can't seem to get the program to recognize my flux gates and was wondering if I was just being stupid or if it was a compatibility issue with a change to the newer version that breaks this code. Either way, the program is set to default data and my setup is designed to obey its parameters as-is... if there is a fix I can make easily please let me know!
2022-03-11_22 32 02

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.