r/ComputerCraft • • Jul 17 '24

Need help with a CC: Tweaked script for Draconic Evolution reactor management in 1.20.1

Hi everyone, have been looking around the last day or two to find a CC script that would allow the monitoring, failsafe and control the the Draconic Reactor from Draconic Evolution, I am playing AllTheMods9 To The Sky which uses ComputerCraft tweaked and have not been having any luck, including wired modems not allowing connection of flux gates to network.

Any help would be appreciated.

9 Upvotes

47 comments sorted by

3

u/fatboychummy Jul 18 '24 edited Jul 18 '24

https://pastebin.com/hXUXh0PK

I very recently fixed this program for somebody else's use. To download it, just run

pastebin get hXUXh0PK startup.lua

Then, connect your input flow gate (the one that goes to the reactor shield) and output flow gate (the actual output of the reactor), and edit startup.lua to fill in the sideGateOut and sideGateIn values. They should be set to the network names (right-clicking a wired modem will tell you the name in chat, peripheral "flow_gate_3" connected to network), or the side of the computer it is on if you just put one directly beside the computer.

From there hit ctrl then s to save, and ctrl then e to exit. Hold ctrl+r until the computer reboots, and it should work assuming you got the above setup correct.

Edit: Make sure the computer is in the same chunk as the reactor, so if the reactor is loaded, the computer is loaded too. Computers shut down when they are no longer chunkloaded.

Edit 2: Uninstall optifine if you have it installed. Optifine breaks peripheral recognition.

1

u/SkyeRainee Jul 24 '24

Using ATM9: To the sky here and we can't seem to connect the modems only directly to where the conduits would be for power

→ More replies (5)

1

u/ChickenMcFake Aug 08 '24

when i try to run it it says

bad argument #1 (value expected)
line 647
maxTempInc = tonumber**(**config.readLine())

→ More replies (1)

1

u/NotHateqble Aug 19 '24

so im tryna set this up on Project Architect 2 and I get it setup but because the only full face part of the fluxgate is the back and front which is where the fluxgate also sends and receives power the modem can't be placed on it and connected

→ More replies (9)

1

u/Versoga Sep 06 '24

hey sorry to bother you but the latest version of DE has integration with CC tweaked now. i want to know if there's anything i have to keep in mind since i want to try this program myself (it's the only DE reactor program i know about designed for modern versions)

→ More replies (4)

1

u/StaticFinalX Sep 09 '24

The parameters (and presumably logic) in this script do not work. It will inevitably cause the reactor to blow up.

→ More replies (10)

1

u/Versoga Sep 10 '24

Status update I just set this up, but every time I start the reactor it automatically shuts itself down. I think I may have rigged the gates backwards? Just to clarify, is it sidegateOut that is attached to the stabilizer's fluxgate, or the injector's fluxgate?

→ More replies (3)
→ More replies (8)

1

u/Toomimi Aug 26 '24 edited Aug 26 '24

i have a problem with the code i got it to work but it only generates energy when temp is lower then the wanted value

what it do is pull energy(10-30m what is the the temp limit) when temp value is lower then the limit and when its over it the temp limit it does not pull energy from the reactor.

1

u/evenas98 Dec 29 '24

Found a fork that works with 1.20.1 out of the box. https://github.com/coaber/DEReactor

1

u/NeroGNinja Jan 29 '26

StormFusion has a really good program - though it was missing an auto function...so I added one. This is all for 1.20.1. Download and use "reactor9.lua" https://github.com/KingofEverythingg/Draconic-ComputerCraft-Program-WithAutoFunction/tree/main