1847 posts
Location
/home/dannysmc95
Posted 24 April 2015 - 12:47 AM
Hello,
I am currently attempting to make a small monitor program just to display the amount of power in the IC2 Power Unit for SGCraft, but for some reason, there is no method for it?:S I have OpenPeripheral? and listMethods() brings back the EUSinkTier and DemendedEnergy, but nothing to actually display what is currently in it?
Any ideas?
Cheers
3057 posts
Location
United States of America
Posted 24 April 2015 - 12:49 AM
I'd guess the version of OpenPeripheral you have doesn't support IC2.
1847 posts
Location
/home/dannysmc95
Posted 24 April 2015 - 01:00 AM
I'd guess the version of OpenPeripheral you have doesn't support IC2.
Hmmm :/ it's the newest version…
7083 posts
Location
Tasmania (AU)
Posted 24 April 2015 - 01:15 AM
Support comes and goes as IC2 updates.
1220 posts
Location
Earth orbit
Posted 24 April 2015 - 01:17 AM
When you say, "IC2 power unit for SGCraft" do you mean the gate power buffer/capacitor that is part of SGCraft?
1847 posts
Location
/home/dannysmc95
Posted 24 April 2015 - 01:35 AM
When you say, "IC2 power unit for SGCraft" do you mean the gate power buffer/capacitor that is part of SGCraft?
Errr? The IC2 Stargate Power Unit (Separate block)
http://www.cosc.canterbury.ac.nz/greg.ewing/minecraft/mods/SGCraft/doc/IC2Integration.html
1220 posts
Location
Earth orbit
Posted 24 April 2015 - 01:41 AM
That's the one (although it's a separate block, it's part of SGCraft - apologies for my lack of clarity). If that's what you're trying to get info from, you'll probably need to plop down an SGCraft CC adapter/interface block, then you can use xxx.energyAvailable()
EDIT: energyAvailable() returns SGCraft power units.
1 SU = 20 EU
1 SU = 80 RF
(
source)
Edited on 23 April 2015 - 11:51 PM
1847 posts
Location
/home/dannysmc95
Posted 24 April 2015 - 10:27 AM
That's the one (although it's a separate block, it's part of SGCraft - apologies for my lack of clarity). If that's what you're trying to get info from, you'll probably need to plop down an SGCraft CC adapter/interface block, then you can use xxx.energyAvailable()
EDIT: energyAvailable() returns SGCraft power units.
1 SU = 20 EU
1 SU = 80 RF
(
source)
Oh so the adapter for SGCraft works on all SGCraft items?:D/> Thanks!
2427 posts
Location
UK
Posted 24 April 2015 - 11:36 AM
That's the one (although it's a separate block, it's part of SGCraft - apologies for my lack of clarity). If that's what you're trying to get info from, you'll probably need to plop down an SGCraft CC adapter/interface block, then you can use xxx.energyAvailable()
EDIT: energyAvailable() returns SGCraft power units.
1 SU = 20 EU
1 SU = 80 RF
(
source)
Oh so the adapter for SGCraft works on all SGCraft items? :D/> Thanks!
I believe you use the CC SG interface on the SG and have the IC2 power thing on the SG too, you access the IC2 power adapter
through the SG and CC SG interface
If you
c = computer
p = IC2 power
s = stargate (bottom of)
i = CC SG interface
below this won't work
sssss
p
i
c
below this will work
sssss
i p
c
Edited on 24 April 2015 - 09:39 AM