Jump to content




[mc 1.6.x] Openperipheral


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

#661 wamilou

  • Members
  • 3 posts

Posted 22 August 2013 - 06:33 AM

Networking cable doesn't work with OpenPeripheral for transfer item into 2 chest on the network, no ?

#662 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 August 2013 - 11:30 AM

View PostMikeemoo, on 21 August 2013 - 04:34 PM, said:

MPS integration is being dropped in any future versions.
Just curious......... Why?

#663 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 22 August 2013 - 12:15 PM

View Posttheoriginalbit, on 22 August 2013 - 11:30 AM, said:

View PostMikeemoo, on 21 August 2013 - 04:34 PM, said:

MPS integration is being dropped in any future versions.
Just curious......... Why?

When I was focused on getting 1.6.2 upgraded I had to release two 1.5.2 versions just to deal with them changing their API which caused crashes.

It reflects badly on OpenPeripheral when people see crash logs! I'd rather just leave out that feature completely.

I've got nothing against their mod, just don't wish to support it. I feel mods should try their best to limit the amount their public API changes, especially when people are already moving onto upgrading to the next version of minecraft!

#664 theoriginalbit

    Semi-Professional ComputerCrafter

  • Moderators
  • 7,332 posts
  • LocationAustralia

Posted 22 August 2013 - 01:00 PM

View PostMikeemoo, on 22 August 2013 - 12:15 PM, said:

-snip-
Fair enough :) I have similar views.

#665 Regelneef

  • Members
  • 37 posts
  • LocationThe Nether-lands...

Posted 23 August 2013 - 01:24 AM

I know that OCS is not being ported to 1.6.2, openPeripheral luckily is.
Now I got a question, I've designed a security system which detects intruders with OCS in 1.5.2, is there a way to detect players (preferably from a distance) with OpenPeripheral??

#666 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 23 August 2013 - 04:30 AM

View PostRegelneef, on 23 August 2013 - 01:24 AM, said:

I know that OCS is not being ported to 1.6.2, openPeripheral luckily is.
Now I got a question, I've designed a security system which detects intruders with OCS in 1.5.2, is there a way to detect players (preferably from a distance) with OpenPeripheral??

In 1.6.2, yes. The sensor is there, although with a redesigned API.

#667 Regelneef

  • Members
  • 37 posts
  • LocationThe Nether-lands...

Posted 26 August 2013 - 03:21 AM

View PostMikeemoo, on 23 August 2013 - 04:30 AM, said:

View PostRegelneef, on 23 August 2013 - 01:24 AM, said:

I know that OCS is not being ported to 1.6.2, openPeripheral luckily is.
Now I got a question, I've designed a security system which detects intruders with OCS in 1.5.2, is there a way to detect players (preferably from a distance) with OpenPeripheral??

In 1.6.2, yes. The sensor is there, although with a redesigned API.

THNX A million Mikee!!

#668 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 29 August 2013 - 12:25 AM

Right, my focus is now on OpenPeripheral for the next few weeks

#669 falimero

  • New Members
  • 1 posts

Posted 29 August 2013 - 06:09 PM

Hello,

thx for this beautifull addon.
I have 1 question for the callremove method. I need to launch this command on the network :
apiary.push("east", 2, 10)
I try this :
net.callRemote("tile_for_apiculture_0_0", "push", {"east", 2, 10})
or
net.callRemote("tile_for_apiculture_0_0", "push", "east", 2, 10)
but nothing are working. do you have some idea ?

#670 ManIkWeet

  • Members
  • 5 posts

Posted 31 August 2013 - 05:56 AM

Hi,

I was wondering if support for Applied Energistics is going to improve?
Right now (1.5.2) there's no way to know anything about individual items: A list of available items and a list of craftable items would be a nice thing to have.
Also it seems that the only way to craft something is by connecting to the ME controller, I was wondering if it is possible to craft items through other blocks?
I wonder if it's possible to get a list of items that are currently being crafted? (Optional: see its subitems/components)

PS: I do sure like this mod! Has a lot of potential! :)

#671 MCGamer20000

  • Members
  • 49 posts

Posted 01 September 2013 - 02:23 PM

Quote

0.2.0-beta changelog
  • Upgraded to minecraft 1.6.2
  • added robots
  • integrated the sensor from OpenCCSensors
  • rewritten the API and the internals
  • dropped a LOT of support with the view to rebuild it over the next few releases
:D How do I use the robots? I've already figured out how to link it to a controller, but how do I use the controller?

#672 smsldoo

  • New Members
  • 1 posts

Posted 01 September 2013 - 02:58 PM

View PostMikeemoo, on 13 June 2013 - 10:32 AM, said:

View PostMeeschter, on 13 June 2013 - 10:23 AM, said:

the patch seems to be fine, thanks for the fast fix

one other thing, would it be possible to include getHeat() and getMaxHeat() in ReactorChamberElectric, some reactor setups don't allow any access to the Reactor itself

I'll add that in remotely over the next day or two. You wont need to do an update. :)


I am working on setting up a program to control my reactor and noticed that getHeat is not listed in the methods.
The generator type seems to work as expected but not the reactor_chamber.

local sides = {'top', 'bottom', 'left', 'right', 'front', 'back'}
local partlist = {}
for i, side in ipairs(sides) do
  part = peripheral.getType(side)
  if part ~= nil then
	partlist[part] = side
  end
end
local rnet = partlist["rednet_cable"]
local net = peripheral.wrap(partlist["modem"])

reactors = {}
reactors["Mini"] = {
		["type"] = "mini_reactor",
		["id"] = "generator_1",
		["control"] = colors.blue,
		["storage"] = "me_interface_1",
		["thresholds"] = {
				["on"] = .75,
				["off"] = .95
		}
}
reactors["Breeder"] = {
		["type"] = "breeder",
		["id"] = "reactor_chamber_1",
		["control"] = colors.red,
		["storage"] = "me_interface_1"
}
for name, reactor in pairs(reactors) do
		print("Reactor:  "..name)
		print("ID:  "..reactor["id"])
		local methods = net.callRemote(reactor["id"],"listMethods")
		if string.find(methods,"getHeat") then
				print "getHeat method found."
		else
				print "getHeat method not found."
		end
end

Returns

Reactor:  Breeder
ID:  reactor_chamber_1
getHeat method not found.

Reactor:  Mini
ID:  generator_1
getHeat method found.


#673 Marteen21

  • New Members
  • 2 posts

Posted 04 September 2013 - 03:28 AM

Where can we found the new reworked API for 1.6.2 (especially sensors)?


And btw thanks for the great mod. :)

#674 CoderLummeih

  • Members
  • 4 posts

Posted 06 September 2013 - 12:38 PM

This peripheral is really amazing!!!! I'm really excited to play this on my 1.6.2 world when the updated version comes out :D !

#675 Sorcelator

  • Members
  • 24 posts

Posted 08 September 2013 - 09:15 PM

I'm at a complete loss on how to communicate with blocks via modems and network cable. Can anyone explain this to me?

#676 Asdramelesh

  • Members
  • 9 posts

Posted 09 September 2013 - 02:47 AM

Hi, I would like to congratulate you for those awesome mods!

I also have found a cheaty issue with openperipheral.

If you use the push method on an arcane worktable (thaumcraft) on the output slot (9), you can get the craft but the component for it are not consumed.(they stay on the arcane worktable)

for example if I place 9 diamonds on the arcane worktable, and I use a turtle to push the output slot to the turtle, I'll win one diamond block, and if I wait a few seconds I can do it again and again..

#677 Thief^

  • Members
  • 29 posts

Posted 09 September 2013 - 03:45 AM

View PostSorcelator, on 08 September 2013 - 09:15 PM, said:

I'm at a complete loss on how to communicate with blocks via modems and network cable. Can anyone explain this to me?
Connect a cable modem to the computer and another to the peripheral, join them with cable, and right-click them to turn them on. It should come up with "Peripheral chest_1 connected to network" or something like that. Then simply use that "chest_1" id in your program instead of a computer side (e.g. "left").

#678 Sorcelator

  • Members
  • 24 posts

Posted 09 September 2013 - 02:01 PM

View PostThief^, on 09 September 2013 - 03:45 AM, said:

View PostSorcelator, on 08 September 2013 - 09:15 PM, said:

I'm at a complete loss on how to communicate with blocks via modems and network cable. Can anyone explain this to me?
Connect a cable modem to the computer and another to the peripheral, join them with cable, and right-click them to turn them on. It should come up with "Peripheral chest_1 connected to network" or something like that. Then simply use that "chest_1" id in your program instead of a computer side (e.g. "left").
Oh ok, this makes sense now!

#679 Clem2095

  • Members
  • 7 posts
  • LocationSydney

Posted 11 September 2013 - 01:26 AM

Hello,

Thanks for the mod, it is really good, I have never put so many computer all over the world :D

Quick question thougj, I have some issues to understand the meaning of the method 'isActive'.
For instance, I was trying to figure out how I can relay the mining status of my buildcraft quarry to my server.
I was expecting to use the following on a computer next to my Quarry:
local status = nil
local quarry = peripheral.wrap('left')
rednet.open('right')
while true do
status = quarry.isActive()
rednet.broadcast('qry '..status)

sleep(30)
end

But it looks that simply placing the quarry on the ground (without any other action or power provided!) already returns 'true'.
Am I missunderstanding the purpose of the methods?

If yes, what can I use to check the actual mining status?

Thanks,
Clem2095

#680 Mikeemoo

  • Members
  • 732 posts
  • LocationLondon, UK

Posted 13 September 2013 - 07:22 AM

Pleased to tell you that OpenPeripheral is now on forgecraft 2 :)

This gives me the opportunity to see the very latest builds get used and abused, so I can start preparing for the 1.6.2 final.

Sorry it's taken so long. I've been holding off a bit, due to the whole FTB / 1.7 uncertainty, and because of OpenBlocks.

You can download latest snapshots of the 1.6.2 version from here:

http://www.openmods....OpenPeripheral/

Robots currently aren't fully craftable. I'll be working on that in the next couple of days.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users