Jump to content




Not sure where i went wrong :P

api peripheral

1 reply to this topic

#1 cheeseburgur101

  • New Members
  • 1 posts
  • LocationOttawa, Ontario, Canada

Posted 10 August 2016 - 01: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:
Posted Image

not normal:
Posted Image

#2 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 11 August 2016 - 01:31 AM

You're only ever updating LastRF if it equals 10000001. You need to do it every time you get a message.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users