0
13 replies to this topic
#1
Posted 08 October 2015 - 02:03 PM
Please help me
I use CC for monitoring Reactor
local mon = peripheral.wrap("monitor_1")
local reactor = peripheral.wrap("BigReactors-Reactor_0")
mon.clear()
mon.setCursorPos(1,1)
mon.setTextScale(2)
local Steam = reactor.getHotFluidProducedLastTick()
mon.write(Steam)
I use CC for monitoring Reactor
local mon = peripheral.wrap("monitor_1")
local reactor = peripheral.wrap("BigReactors-Reactor_0")
mon.clear()
mon.setCursorPos(1,1)
mon.setTextScale(2)
local Steam = reactor.getHotFluidProducedLastTick()
mon.write(Steam)
#2
Posted 08 October 2015 - 05:32 PM
This means that the function getHotFluidProducedLastTick() does not exist in reactor.
Are you sure BigReactors-Reactor_0 is written like this and not BigReactorsReactor_0?
Are you sure BigReactors-Reactor_0 is written like this and not BigReactorsReactor_0?
#4
Posted 08 October 2015 - 05:54 PM
So the first statement should be true.
#5
Posted 08 October 2015 - 06:46 PM
Yes.
#6
Posted 08 October 2015 - 06:57 PM
.getHotFluidProducedLastTick()
- that requires you to have a fluid intake and output (used to power a turbine usually) do you have this??
- that requires you to have a fluid intake and output (used to power a turbine usually) do you have this??
Edited by Dustmuz, 08 October 2015 - 07:00 PM.
#7
Posted 08 October 2015 - 08:38 PM
Why would the existence of a function depend on whether or not there is fluid?
#8
Posted 08 October 2015 - 08:49 PM
Creator he means a Fluid Intake block. The reactor is modular.
Edited by TYKUHN2, 08 October 2015 - 09:30 PM.
#9
Posted 08 October 2015 - 09:11 PM
OK, I see.
#10
Posted 08 October 2015 - 09:58 PM
#11
Posted 08 October 2015 - 10:24 PM
OP: if you can, could you suply us with a picture of your setup.
i've written multiple of these power management programs, as i use them to become better at lua, so each world i create, i start from scratch
think i have 40-45 of these on my pastebin
most problems with this kind of program lies in compability between mods
i've written multiple of these power management programs, as i use them to become better at lua, so each world i create, i start from scratch
think i have 40-45 of these on my pastebin
most problems with this kind of program lies in compability between mods
#12
Posted 19 October 2015 - 01:12 PM
#13
Posted 20 October 2015 - 02:39 PM
Thanks you all for advice but I solve it.I try change function to getEnergyProducedLastTick and that worked
#14
Posted 20 October 2015 - 07:22 PM
Likely means HotFluid didn't exist for your version.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users