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

BrisingrAerowing

Members
  • Content Count

    153
  • Joined

  • Last visited

  • Days Won

    18

Posts posted by BrisingrAerowing

  1. local modem=component.proxy(component.list("modem")())
    local turbine=component.proxy(component.list("br_turbine")())
    local target = nil
    modem.open(1)
    local target = false
    while true do
    	local e, to, from, _, _, command = computer.pullSignal()
    	if e == "modem_message" then
    		if command == "s" then
    			modem.send(from,1, "Handshake")
    			target = from
    		elseif command == "a" then
    			if (turbine.getActive()) then
    				turbine.setActive(false)
    			else
    				turbine.setActive(true)
    			end
    		elseif command == "c" then
    			if (turbine.getInductorEngaged()) then
    				turbine.setInductorEngaged(false)
    			else
    				turbine.setInductorEngaged(true)
    			end
    		end
    		if (target) then
    			local data1 = tostring(turbine.getActive())
    			local data2 = tostring(turbine.setInductorEngaged(true))
    			local data3 = tostring(turbine.getRotorSpeed())
    			modem.send(target,1, data1, data2, data3)
    		end
    	end
    end

    This should do it. When you defined target, it was local to the block it was defined in, and nil outside. You also didn't pass a boolean to setInductorEngaged, but since I don't use BR / ER, I don't know much about the API, and it may not even need an argument.

  2. I had already logged out, and logging back in the case was black and wasn't working. I replaced it and restarted the computer, then had to run the discover command to get the program to find the cap bank.

     

    The case turning black and components going missing is a known issue, and I found something that may be at least part of the underlying issue (and posted my findings to the bug tracker).

  3. I have a 17 x 17 x 17 passive reactor (due to the above mentioned bug), as well as a massive Ender IO capacitor bank that can store 191 Billion RF. For some reason, the controller shut down the reactor after calibration, even though the storage is nowhere near full. Why is this?

     

    Also, the GUI elements in the various details sections are not aligned correctly.

  4. I quite like this, and I am currently working on converting the door program and server into services (using the RC API) so that they can be run in the background. I am also moving common code into a library that the other programs reference.

    I currently have the library and server done, next is the door program, and the GUI after that.

    I may also do some more work to integrate more into the OpenSecurity users system, along with my User Roles implementation for OpenSecurity (but that is further down the road and will be a separate set of programs, so that the original versions can still be used on OpenOS).

  5. I have been working on a basic user roles implementation for SecureOS (using @payonel's updated fork), and I am getting ready to release the first version.

     

    It allows creating, editing, and removing roles, and giving and taking roles from users. It also has an alias system so that roles can be referred to by multiple names, as well as for backwards compatibility when renaming roles.

    I'll add API docs and a download link later. Getting late right now, and I have a few other things I need to get working before I release (such as the automatic addition of new users).

  6. According to ZeroNoRyouki, pipes from the Pressure Pipes mod should work (if they use capabilities). That mod's pipes have (theoretically) infinite throughput, and can transfer multiple fluids over the same pipe. I'm going to have to test that.

  7. I just set this up to control my 15 x 15 x 15 reactor with 61 control rods.

    Although it seems that Extreme Reactors has a bug that caps the steam generation at 2000 mB / t, which this thing gets to easily.

  8. @XyFreak How about adding power storage support for RFTools Powercells? Those are the only power storage system available on 1.11 that I know of (there may be others).

    RFTools does have built in computer support, so it shouldn't be all that difficult to add it in (famous last words there...).

×
×
  • Create New...

Important Information

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