[mc 1.6.x] Openperipheral
#681
Posted 14 September 2013 - 12:08 AM
#682
Posted 14 September 2013 - 06:40 AM
As afar as I can tell this is the only mod in FTB unleashed, that can read tank current capacity.
#683
Posted 14 September 2013 - 01:06 PM
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
Posted 14 September 2013 - 02:19 PM
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
Posted 14 September 2013 - 09:01 PM
i am soooo glad to have this solved thou thank you
#686
Posted 16 September 2013 - 12:32 PM
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.
#687
Posted 16 September 2013 - 12:53 PM
#689
Posted 17 September 2013 - 09:37 PM
#690
Posted 18 September 2013 - 10:30 PM
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
Posted 19 September 2013 - 07:15 PM
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
Posted 19 September 2013 - 07:33 PM
#693
Posted 19 September 2013 - 09:20 PM
I ask because I don't currently have access to Minecraft, but I'm fiddling around with a program.
#694
Posted 20 September 2013 - 02:16 AM
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:

My setup:

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
Posted 20 September 2013 - 04:48 AM
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))
GigaToni, on 20 September 2013 - 02:16 AM, said:
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
Posted 20 September 2013 - 06:23 PM
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
Posted 22 September 2013 - 09:42 AM
#698
Posted 23 September 2013 - 12:54 PM
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
Posted 24 September 2013 - 03:52 AM
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
Also I tested it only for mining well, so I really don't know If other blocks are ok or not.
#700
Posted 24 September 2013 - 04:35 PM
Imnafoy, on 24 September 2013 - 03:52 AM, said:
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
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


This topic is locked









