This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
cheeseburgur101's profile picture

Not sure where i went wrong :P

Started by cheeseburgur101, 10 August 2016 - 12:02 PM
cheeseburgur101 #1
Posted 10 August 2016 - 02:02 PM
So, i'm making a simple Big Reactors monitor, and when i'm trying to get the overall RF/t (gaining/losing) sometimes it says i'm using a very large amount of power when i'm not. This mostly occurs when the reactor is making less power then the machines are pulling from it. The machines only pull about 40,000 RF/t, but after a couple seconds it says they're pulling 1,000,000 RF/t. I've tried to see where these number are coming from, but can't seem to see, so I came here.

The other code that broadcasts the stats of the reactor does that fine, it's just something in my Main code:
http://pastebin.com/QqRdYrqt

Not sure if it matters, but i have Buildcraft, Mekanism, and BigReactors installed on 1.7.10

Normal:


not normal:
Bomb Bloke #2
Posted 11 August 2016 - 02:31 AM
You're only ever updating LastRF if it equals 10000001. You need to do it every time you get a message.