Jump to content




MFSU Monitor


27 replies to this topic

#1 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 29 November 2013 - 10:25 AM

MFSU Monitor

MFSU Monitor is a simple program to display the current energy level of an MFSU attached to a computer. Pastebin Tr8rWtUV

pastebin get Tr8rWtUV mfsumon

Screenshot
Attached Image: 2013-12-11_20.59.37.png

Setup
Simply connect an MFSU to a computer using cables, and then connect a monitor. MFSU Monitor will automatically detect the connections for you.

MFSU Monitor requires OpenPeripherals and of course IndustrialCraft.

Edited by distantcam, 11 December 2013 - 07:52 AM.


#2 Cozzimoto

  • Members
  • 221 posts
  • LocationDallas, Tx

Posted 29 November 2013 - 03:23 PM

suggestion: since this program requires OpenPeripheral to run you might go a step ahead and make a HUD display with some terminal glasses, maybe make an easy way to monitor several at the same time

#3 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 29 November 2013 - 07:37 PM

That wasn't what I needed it for. I just wanted a simple display over the MFSU connected to my transporter to see if it has any juice in it. I tend to hide my MFSU behind walls so it's difficult to click on.

#4 GetParanoid

  • Members
  • 5 posts

Posted 09 December 2013 - 07:26 PM

All I'm getting is "Cannont find MSFU attacted to this computer"

#5 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 09 December 2013 - 11:05 PM

View PostGetParanoid, on 09 December 2013 - 07:26 PM, said:

All I'm getting is "Cannont find MSFU attacted to this computer"
Make sure the MSFU is attached to the computer with cables, and that the attachment is connected (right click the attachment point to turn it red).

#6 GetParanoid

  • Members
  • 5 posts

Posted 10 December 2013 - 03:50 PM

Yeah, it's all hooked up and attached right. Still isn't working

#7 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 10 December 2013 - 05:55 PM

Could you please run the following code on the computer you're having trouble with, and post the result here.

for _,name in pairs(peripheral.getNames()) do
  print(name.." "..peripheral.getType(name))
end


#8 GetParanoid

  • Members
  • 5 posts

Posted 10 December 2013 - 06:27 PM

Upon running this code I got

top ic2_blockcable
back monitor
right modem
batbox_2 batbox


#9 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 10 December 2013 - 09:44 PM

Is the MFSU connected to the top of the computer? It should be connected using ComputerCraft peripheral cables, not IndustrialCraft power cables.

Could you include a screenshot of your setup too please?

Edited by distantcam, 10 December 2013 - 09:45 PM.


#10 GetParanoid

  • Members
  • 5 posts

Posted 11 December 2013 - 12:39 AM

The MFSU is connected to the right of the computer with network cable
Here's the picture of my setup(It's kinda messy, but it's the top computer.):

Posted Image

Edited by GetParanoid, 11 December 2013 - 12:40 AM.


#11 Landstryder

  • Members
  • 31 posts

Posted 11 December 2013 - 03:17 AM

what versions of MC,CC and OP are you using? cuz it looks like maybe your computer is seeing the MFSU as a batbox......

#12 GetParanoid

  • Members
  • 5 posts

Posted 11 December 2013 - 03:22 AM

View PostLandstryder, on 11 December 2013 - 03:17 AM, said:

what versions of MC,CC and OP are you using? cuz it looks like maybe your computer is seeing the MFSU as a batbox......

No idea. I'm playing FTB Unleashed v1.1.3

And that's exactly what it is doing. It registers it was a batbox instead of a MFSU

#13 oeed

    Oversimplifier

  • Members
  • 2,095 posts
  • LocationAuckland, New Zealand

Posted 11 December 2013 - 05:14 AM

I love the display you've made. It's small, simple and elegant. Kudos.

I haven't got IC2 installed so can't really test it, but does it increase the text scale as for bigger screens?

#14 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 11 December 2013 - 07:16 AM

@GetParanoid I've fixed it to now work with the various versions of things (IC2, OpenPeripherals) from FTB Unleashed. Redownload it and try again please.

@oeed Thanks for the kudos! No it doesn't increase the text scale automatically. I might build that in, but I'm not sure if it's needed.

#15 Letherin

  • Members
  • 33 posts

Posted 22 December 2013 - 06:59 PM

I'm just getting...
powermon:33: attempt to call nil

I have a modem connected to the batbox just fine, I can LUA wrap it.

#16 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 22 December 2013 - 08:23 PM

@Letherin what version of computercraft, openperipherals, and industrialcraft are you using?

#17 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 December 2013 - 09:08 PM

View Postdistantcam, on 22 December 2013 - 08:23 PM, said:

what version of [...] openperipherals
you should make it compatible with all versions, it's not difficult.

Edited by theoriginalbit, 22 December 2013 - 09:08 PM.


#18 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 22 December 2013 - 09:13 PM

It's a little difficult if the API keeps changing. :P

But I do understand what you mean and will make the change.

#19 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 December 2013 - 09:31 PM

View Postdistantcam, on 22 December 2013 - 09:13 PM, said:

It's a little difficult if the API keeps changing. :P
it has changed once, and in an effort to make it easier to understand what the methods do

#20 distantcam

  • Members
  • 139 posts
  • LocationChunk 0

Posted 23 December 2013 - 01:04 AM

Well then that's odd because I've covered the old API case, and the current API case, so there must be a 3rd situation which means the API has changed at least twice.

That includes string type that an MFSU returns, and the method name. :/





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users