Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

SusiKette

Members
  • Content count

    4
  • Joined

  • Last visited

About SusiKette

  • Rank
    Junior Member
  • Birthday 06/23/1994

Contact Methods

  • Minecraft
    SusiKette

Profile Information

  • Gender
    Male
  • Location
    Finland
  1. SusiKette

    "attempt to call field" error

    I can't really do that since I'm not the one who updates the modpack I'm using. I'll just have to wait for an update and hope that things work as intended :/
  2. SusiKette

    "attempt to call field" error

    yes
  3. I have two Flux Gates (Draconic Evolution) in a setup, but the problem is that I don't know how to separate the two in code. If there was only one I could do something like "local gate = component.flux_gate". It would be easier to write the code if I could give them names separately such as "gate_in" and "gate_out". How do I do this?
  4. SusiKette

    "attempt to call field" error

    I'm trying to turn a big/extreme reactor on/off with a simple practice program, but I get a following error when I try to run the program: /lib/br_control.lua:4: attempt to call field 'setActive' (a boolean value): stack traceback: /lib/br_control.lua:4: in main chunk (...tail calls...) [C]: in function 'xpcall' /lib/process.lua:63: in function </lib/process.lua:59> A bit more detailed explanation on what each line means might help future troubleshooting. The test program looks like this: local br = component.br_reactor if(br.getEnergyStored() < 9000000) then br.setActive(false) end if(br.getEnergyStored() > 1000000) then br.setActive(true) end Simply put if the internal energy buffer of the reactor is 90% full, the reactor turns off and if it goes below 10% it turns on. I've made sure that the computer actually recognizes the reactor. I don't really know why this doesn't work.
×

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.