Jump to content




[mc 1.6.x] Openperipheral


  • This topic is locked This topic is locked
1184 replies to this topic

#681 Rougeminner

  • Members
  • 151 posts

Posted 14 September 2013 - 12:08 AM

This mod is really fun i am just waiting for the new tekkit to add in the mods that it can be used with if i knew how to mod the new version of minecraft 1.5.2 and add forge this (and computercraft for obvious reasons) would be the first mod i installed it has so much potential if you have the right mods installed. Great mod mikeemoo i would recommend this mod to everyone and if i could rate it 5 stars with out a single thought

#682 oxinabox

  • Members
  • 5 posts

Posted 14 September 2013 - 06:40 AM

Current scheme: Graph liquid fuel stocks vs time.

As afar as I can tell this is the only mod in FTB unleashed, that can read tank current capacity.

#683 sandworm

  • Members
  • 10 posts

Posted 14 September 2013 - 01:06 PM

i'm having an issue, it's actually slimier to oxinabox, but no one on the computercraft:ask a pro section has been able to help, ether i'm doing something REALLY dumb, or it's some i'm not understanding with how modems are used

forum post : http://www.computerc...openperipheral/

the main issue is that i can't seem to use the getTanks("unknown") command while in a call remote

net.callRemote("tank vale id", "getTanks("unknown")") doesn't work at all due to how the quotes are nested

methName = getTanks("unknown")
net.callRemote("tank valve id",methName)

that doesn't work ether it says it's calling nil, so the ways i've tried, you can't callRemote with the getTanks method as you can't send the side, the only way i can think of doing it is using computers to do the gettanks, and sending the numbers i need to the main computer that would use the data, but i really don't want to as it feel just a cop out, and i assume something like this should work, so ether i'm doing something wrong, or i need to use a different method then callRemote

#684 Thief^

  • Members
  • 29 posts

Posted 14 September 2013 - 02:19 PM

Can't you do net.callRemote(tankid, "getTanks", "unknown") ?

Are you using too old a version of CC to just wrap the remote peripheral and call getTanks on it directly? That would work too...

#685 sandworm

  • Members
  • 10 posts

Posted 14 September 2013 - 09:01 PM

the first one did it, tho the second may be a better idea in terms of proper stander's, I've been working on this for so long so i'm just going to be happy it works for now, but callRemote is something I've never been able to find documentation on, so i didn't realize that you could pass it a third argument, am i just not looking in the right places? and whats the idea behind the thrid argment, is it an arg for the 2nd arg?

i am soooo glad to have this solved thou thank you

#686 Vilsol

  • Members
  • 194 posts
  • LocationStudy: United Kingdom Native: Latvia

Posted 16 September 2013 - 12:32 PM

There is a little problem with the terminal glasses.
I don't know how to explain this.

Basically the code is like this

box1 = g.addBox(...)
box2 = g.addBox(...)
box3 = g.addBox(...)
box4 = g.addBox(...)

When I run the code, I see that it executes it and in the right order, but sometimes the box4 goes behind box1 and so on with others. I can see that they are parsed in order by adding print() after each one.

At first I didn't have a problem like this, but then it suddenly appeared out of nowhere.

Here is a gif of it. I have set the opacity to 0.5 and you can see how they are drawn but one under another.
Posted Image

#687 Thief^

  • Members
  • 29 posts

Posted 16 September 2013 - 12:53 PM

Use box.setZIndex to set the order they should be displayed in.

#688 Vilsol

  • Members
  • 194 posts
  • LocationStudy: United Kingdom Native: Latvia

Posted 16 September 2013 - 01:20 PM

View PostThief^, on 16 September 2013 - 12:53 PM, said:

Use box.setZIndex to set the order they should be displayed in.

Thanks!

#689 Noiro

  • Members
  • 65 posts

Posted 17 September 2013 - 09:37 PM

So out of curiosity, does this mod support Mekanism energy cubes and Galacticraft power storage now? That way, I can calculate how much power I've got in my grid and can account for it. Hookins for Atomic Science may also be handy, just not entirely sure how quite yet.

#690 Leroy

  • New Members
  • 1 posts

Posted 18 September 2013 - 10:30 PM

I'm having trouble with the 1.6.2 release (0.2.1-preview8). I want to wrap a Buildcraft quarry and use isActive(), but it is not available in listMethods().

I understand from the changelog that a lot of support for various things was dropped in this version, however from the json file of methods it seems like isActive() should still be around..

#691 Blargmode

  • Members
  • 5 posts

Posted 19 September 2013 - 07:15 PM

The fact that you added the possibility to read the destinations on linking books in inventorys is great, will help a lot when I get my hands on that version. But optimally there's something else I'd like even more.
First of all, a way to pull items from an entire Applied energistics system. I know Misc Peripherals has this, but since RichardG's on an indefinite break and it lacks functionality, why not have one in this mod as well?
And secondly, it should be able to pull items by more than item id or name. So that (in my case) I could pull specific linking books from the system.

This could help me give my fast-tavel system an infinite amount of destinations, and I could live happily ever after!

Oh and I have another suggestion; giving more functionality to wrapped link modifiers/writing desks. The ability to name books. (Yeah I know, I'm still at it with my fast-travel system ^^).

So, what do you say? Is it even possible?

#692 Spaceshipable

  • Members
  • 8 posts

Posted 19 September 2013 - 07:33 PM

You should be a way to add .png files from the mc directory onto the terminal glasses screen.

#693 Firnagzen

  • Members
  • 11 posts

Posted 19 September 2013 - 09:20 PM

Hmm... Could I ask what string is returned when you get the peripheraltype from an Enderchest? Does it change when you change the dye strips?

I ask because I don't currently have access to Minecraft, but I'm fiddling around with a program.

#694 GigaToni

  • Members
  • 7 posts

Posted 20 September 2013 - 02:16 AM

I've a little java error with my OP code. Bug or it's a fault from me?

slightly edited Code because I've tried to do debugging (removed the display content part and replaced it with "CHEST IS FULL PLEASE REVIEW!":
http://pastebin.com/dDh8yYD0

Pics:
Java Error:
Posted Image

My setup:
Posted Image

Want I'm trying to accomplish:
I want to read an Ender chest from Chickenbones and display the information whats inside it on my HUD via the glasses.

#695 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 20 September 2013 - 04:48 AM

http://www.openmods....snapshot-27.jar


OpenPeripheral Changelog
--------------------------

2013-09-18: Snapshot 27:
- Improved Mystcraft support & added writing desk support

2013-09-15: Snapshot 25:
- Fixed a real dumb error when it comes to ISidedInventories and moving items

2013-09-15: Snapshot 24:
- Added getAllStacks()

2013-09-15: Snapshot 23:
- Added dire mystcraft destination thingy

2013-09-13: Snapshot 21:
- Fixed a general peripheral issue when minecraft 'recreated' tile entities
- added player_on and player_off events to the PIM

2013-09-13: Snapshop 19:
- Fixed a dupe issue with 'some' ISidedInventorys (Thaumcraft)

2013-09-13: Snapshot 18:
- More improvements to AE support. Can now use all cell methods against cables

2013-09-13: Snapshot 17:
- Improved AE support (insertItem, extractItem against any AE block (including cables))

View PostGigaToni, on 20 September 2013 - 02:16 AM, said:

I've a little java error with my OP code. Bug or it's a fault from me?

slightly edited Code because I've tried to do debugging (removed the display content part and replaced it with "CHEST IS FULL PLEASE REVIEW!":
http://pastebin.com/dDh8yYD0
-- snip --
Want I'm trying to accomplish:
I want to read an Ender chest from Chickenbones and display the information whats inside it on my HUD via the glasses.

Looks like a bug in openperipheral, however, it's fixed in the 1.6.2 versions.

#696 Nigma

  • Members
  • 6 posts

Posted 20 September 2013 - 06:23 PM

I just found this and I am completely blown away with these terminal glasses. My mind wont stop coming up with things I want to do with them.
It made me so excited I had to register just to ask this one question.

Is it at all possible to make augmented reality things? Since they are referenced as "Google glasses for minecraft" it would be nice to have it?
I was thinking that people could program a certain thing on their computer terminal. A neat little message or a full blown custum created advertisement, as long as it's just a single render. Which gets stored somewhere.
Then people can print this out on a (bogus) QR tag style printer paper (Printers need more love!) and players can go hand those flyers out or stick them on walls somehow.
When someone with glasses on right clicks the tag it pops up the one time rendered "screen".

Thoughts? Posibilities?

#697 apemanzilla

  • Members
  • 1,421 posts

Posted 22 September 2013 - 09:42 AM

Minor bug report: When wearing the glasses, if you step into a nether portal the purple overlay is not transparent as usual. Purely visual, but still a bit annoying.

#698 mallrat208

  • New Members
  • 1 posts

Posted 23 September 2013 - 12:54 PM

Kind of a Feature/Compatability Request:

Currently Silislime Rubber is made by smelting down Slimeballs. With IC2 that recipe gets replaced with smelting Slimeballs into Sticky Resin.

Could there be an alternative recipe for making the Rubber? Say 8 Slimeballs and some coal in a crafting table or could the Rubber be made to use any registered version of 'Rubber' allowing for say Rubber (IC2) and Rubber Bars (MFR) to be substituted?

#699 Imnafoy

  • New Members
  • 2 posts

Posted 24 September 2013 - 03:52 AM

Bug report:
Version: 0.1.9 (Using in FTB Unleashed modpack 1.1.3)
Crash Log: none
Descriptions:
isActive() method of buildcraft mining well peripheral returns boolean value in string instead of returning it directly.
See this:
https://dl.dropboxus...6/bugreport.png
I don't really know if this was patched in 0.2.0 version or if it was reported before. If so, you can ignore this post :D
Also I tested it only for mining well, so I really don't know If other blocks are ok or not.

#700 PixelToast

  • Signature Abuser
  • 2,265 posts
  • Location3232235883

Posted 24 September 2013 - 04:35 PM

View PostImnafoy, on 24 September 2013 - 03:52 AM, said:

Bug report:
Version: 0.1.9 (Using in FTB Unleashed modpack 1.1.3)
Crash Log: none
Descriptions:
isActive() method of buildcraft mining well peripheral returns boolean value in string instead of returning it directly.
See this:
https://dl.dropboxus...6/bugreport.png
I don't really know if this was patched in 0.2.0 version or if it was reported before. If so, you can ignore this post :D
Also I tested it only for mining well, so I really don't know If other blocks are ok or not.

yes, this happens with all of the bools returned by openP
it was confusing at first, now i just put a=="true" in the statements





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users