How to setup my Draconic Reactor Control Script for OpenComputers (WIP)

Поділитися
Вставка
  • Опубліковано 7 лют 2025
  • In this video, I will explain how to set up my draconic reactor control script, from adapter placement, to setting up the flux gate addresses, to finally running the program.
    Program download link: pastebin.com/4...

КОМЕНТАРІ • 67

  • @rafaelpnsm6056
    @rafaelpnsm6056 4 роки тому +5

    script link?

    • @AwesomeAlec1
      @AwesomeAlec1  4 роки тому

      I updated the description with the pastebin link to download it. Open a file on the computer in minecraft that you want to save the program to. Copy the code from the program to your clipboard (ctrl+c as usual), then on the minecraft computer, use middle click into the empty file to paste the code. Save and close, and you should be good to go (you'll still have to adjust the three variables I went over in the video, of course).

    • @rafaelpnsm6056
      @rafaelpnsm6056 4 роки тому

      @@AwesomeAlec1 thanks ur script is very easy setup and use

    • @AwesomeAlec1
      @AwesomeAlec1  4 роки тому

      Please note: I will post any updates to the program on top of the current pastebin instead of posting a new one. I have already posted a fix for the temperature not holding properly, and the code is working as intended now.

    • @Lilvince3389
      @Lilvince3389 3 роки тому

      @@AwesomeAlec1 question do i copy the entire thing?

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@Lilvince3389 yes

  • @mrjeff158
    @mrjeff158 3 роки тому

    just a tip for anyone who plans to use this. Make sure your computer & reactor is in a loaded chunk. you can do so by claiming and chunkloading a chunk on the FTB chunk mod. and also thanks for this wonderful script.

  • @Amogus-hs5tz
    @Amogus-hs5tz 3 роки тому +1

    This is awesome! Thank you for sharing! I have no idea about programming in open computers, but I managed to start the program and it worked just fine. I also used another tutorial to have the program run automatically when the computer starts up.

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      Thanks!

    • @Amogus-hs5tz
      @Amogus-hs5tz 3 роки тому +1

      @@AwesomeAlec1 So I understood it to mean that the reactor generates more and more power over time, until it runs out of fuel. So what is the maximum it can produce? I don't know if I should take the risk if I can just use something like Environmental Tech solar cells instead..

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому +1

      @@Amogus-hs5tz As mentioned in the video, there's a multiplier in the mod settings that affects the reactor's output. Assuming it's at its default value of 1, the reactor will generate ~400,000rf/t and can generate up to ~1,300,000+ rf/t when reaching 80-90% fuel consumption.
      Note on two things:
      1. Don't ever let the reactor reach 100% fuel consumption. If this happens, the reactor's heat dissipation will literally drop to zero, even if you try to shut it down.
      2. This power increase is based on how much chaos is in the reactor (which is equal to how much fuel has been consumed). Once the chaos has been removed and the reactor refueled, this power generation bonus is reset back to the base generation rate of ~400,000*reactorOutputMultiplier.

    • @Amogus-hs5tz
      @Amogus-hs5tz 3 роки тому +1

      @@AwesomeAlec1 I guess I will set the multiplier to 10 then because it is so expensive and so dangerous. Can your program shut the reactor down automatically when it reaches a high fuel consumption?

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@Amogus-hs5tz Yes it will! Currently, I believe it's set to stop the reactor when it reaches 85% fuel consumption. You can test this in creative mode by only giving the reactor 2 ingots of fuel and then setting the reactor to run at around 10,000 degrees (this temperature will cause the fuel to be consumed at a very high rate so you dont have to wait for hours to see the auto-shutdown).

  • @Dreadnaught575
    @Dreadnaught575 3 роки тому

    Great program helps prevent the whole big blowup part of the reactor

  • @FrogEaterr
    @FrogEaterr 4 роки тому

    i had some dumb problems, but after i fixed them this works great!

  • @Lilvince3389
    @Lilvince3389 3 роки тому +1

    How do you install the program tho?

  • @glozeyskalpha
    @glozeyskalpha 2 місяці тому

    can you help me with opencomputers code?

  • @ghost942
    @ghost942 3 місяці тому

    for some reason when i tray to set the sheild strength to 20% the system ato jumps it back to 50

    • @AwesomeAlec1
      @AwesomeAlec1  3 місяці тому

      Is that occurring during charging, or while the reactor is running? If it's happening during charging, that's normal, as you have to do that before you can activate the reactor.
      If it's happening while the reactor is running, that's rather strange. If that's the case, is there any more info you could provide? I'll need a little more information to go off of.

  • @alexayres2296
    @alexayres2296 2 роки тому

    I know this is an old video, but any chance you can help me out? I get the following message when i try to run the programme:
    (THIS BIT IS IN WHITE TEXT)
    Temp Resist for target temp 8000 (40): 42666.67
    Temp expo for convLVL -0.30: 55766.67
    NegCSat for tempExpo 55766.67: 87.78
    (THIS BIT IS IN RED TEXT)
    /reactor:59: bad argument #2 to 'format' (number has no integer representation):
    stack traceback:
    [C]: in function 'string.format'
    /reactor:59: in local 'update'
    /reactor:122: in main chunk
    (...tail calls...)
    [C]: in function 'xpcall'
    machine:798: in global 'xpcall'
    /lib/process.lua:63: in function
    /home #

    • @AwesomeAlec1
      @AwesomeAlec1  2 роки тому

      Most common cause for that bug is caused by running the program before running the reactor for the first time. Give it some fuel, press charge and then press shutdown again (on the reactor). That usually fixes it

    • @ProGamerDoggo
      @ProGamerDoggo 2 роки тому

      @@AwesomeAlec1 I have this same issue, I tried running the program after running and shutting down the reactor but I got the same error, should I try anything else?

    • @AwesomeAlec1
      @AwesomeAlec1  2 роки тому

      @@ProGamerDoggo only other thing I could think of would be to make sure your reactor’s connected via an adapter in addition to your flux gates. It attaches to either one of the stabilizers or the injector. If that doesn’t work then maybe try saving, quitting, and restarting

    • @alexayres2296
      @alexayres2296 2 роки тому

      Thanks for the fast reply. I tried the fueling, charging and shutting down trick but unfortunately that didn't work.
      I'll try your other suggestion when I can get on it again on Sunday

    • @charlielighting1
      @charlielighting1 Рік тому

      Im having the exact same error, have you discovered a fix yet?

  • @brianakins5016
    @brianakins5016 3 роки тому

    I keep getting an error about line 59 and 122 and I can't find the issue

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      What exactly does the error say? I need the full error message

    • @brianakins5016
      @brianakins5016 3 роки тому

      @@AwesomeAlec1 here is exactly what it says: Bad argument #2 to 'format' (not a number in proper range): stack traceback: [C}: in function 'format' /home/reactorTest:59: in function 'update' /home/reactorTest:122: in main chunk: (tail calls) [C}: in function 'xpcall' machine:798: in function 'xpcall' /lib/process.lua:63: in funtion

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@brianakins5016 This seems to be an issue with the target saturation. Have you run your reactor before? Try putting it into a charging state (but not activating it) and then run the program again.

    • @brianakins5016
      @brianakins5016 3 роки тому +1

      @@AwesomeAlec1 that worked, thanks for the help!

    • @8BitExplosionGaming
      @8BitExplosionGaming 3 роки тому

      I'm getting a similar error on mine as well, for me it says: bad argument #2 to 'format' (number has no integer representation) [C]: in function 'string.format' and the rest is the same. I tried restarting the reactor a few times and activating while it was charging but it still gave the same error. I also tried using it on an already running reactor in a creative world and it worked perfectly fine. Something to note is that the world I'm getting the errors is on is from a LAN network and I don't have the world files on my pc

  • @cheese_buger.
    @cheese_buger. 3 роки тому

    If someone can help i whenever i try to start the program it says "syntax error near 'component' " if anyone knows how to fix this please tell me.

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      Gonna need a bit more info. What’s the full error say and what were you trying to do?

    • @cheese_buger.
      @cheese_buger. 3 роки тому

      oh sorry I found my mistake I'm playing on 1.7.10 didn't notice it was for 1.12.

  • @yogen313
    @yogen313 3 роки тому

    will the script work with computer craft?

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      Unfortunately not. Opencomputers reads code differently than computercraft does, but I may consider making a dedicated computercraft version in the future

    • @yogen313
      @yogen313 3 роки тому

      @@AwesomeAlec1 there is nothing that explains computercraft settups, so i figured i culd ask :P

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@yogen313 have you tried this? ua-cam.com/video/8rBhQP1xqEU/v-deo.html

    • @yogen313
      @yogen313 3 роки тому

      @@AwesomeAlec1 yeah, i tested it in a creative world, it blew up, and it lost controll almost instantly i cut off the starting power suply

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@yogen313 yea, cuz you're not supposed to cut off the power supply.. XD You need to keep giving it power for the shield

  • @tonig2255
    @tonig2255 4 роки тому

    is this for 1.12.2?

    • @AwesomeAlec1
      @AwesomeAlec1  4 роки тому

      Indeed it is!

    • @KeinElektriker
      @KeinElektriker 3 роки тому

      @@AwesomeAlec1 does it also work on 1.7.10 / will you make an 1.7. 10 version ??????

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      @@KeinElektriker no plans for 1.7.10 version, unfortunately, and I don’t know if this version works for 1.7.10

  • @l1ttle88
    @l1ttle88 3 роки тому

    Do you know how to resolve this error? prnt.sc/10rmsxw

    • @AwesomeAlec1
      @AwesomeAlec1  3 роки тому

      Have you run the reactor at least once before activating the script? if not, then the reactor will have a bunch of null values for saturation and field strength and whatnot.
      Try this procedure:
      1. Start charging the reactor. This is safe as the reactor cannot drain its field strength in this state.
      2. Run the script. Charging the reactor causes the reactor's max saturation and max field strength to update to values appropriate to its size, and should therefore fix you error, as I believe this is the cause.
      3. If/when the script shows that it's flooding the reactor and doesn't give an error, check that the input flux gate is working, and then activate the reactor fully. The script should take over maintaining the reactor.