Jump to content




[CC1.53][MC1.5.2] MiscPeripherals 3.3

turtle peripheral help peripheral

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

#881 dsuser97

  • Members
  • 5 posts

Posted 04 May 2013 - 02:15 PM

I tried out the ME Bride with this Program:
m = peripheral.wrap("right")
m.retrieve(4,32,1)
with an ME Bridge at the right side, attached to an ME System with 64 Cobblestone in there.
When I use "m.listAll()" then it says it has 64 items of ID 4 so they are availible.
On Top of the Bridge is an empty chest.
But when I run the program, it only says
get:2: 3
and does nothing else.
Maybe you can tell me what the problem is.

#882 Roachy

  • Members
  • 8 posts

Posted 04 May 2013 - 03:02 PM

View PostNathan1852, on 04 May 2013 - 01:58 PM, said:

It seems like there is a bug with the Charge Station.
When it's internal Storage is full of (Buildcraft-) Power and you place a Turtle next to it, the Turtle will not be charged.
This can be fixed by breaking the Charge Station and place it again.

+1 I've had this problem forever. I never linked it to whether or not the station's storage was full though, probably because mine are always full.

#883 Roachy

  • Members
  • 8 posts

Posted 04 May 2013 - 03:06 PM

View PostSmurf_Tech, on 02 May 2013 - 08:16 PM, said:

For the tank turtles the suckDown(1) is providing with false, this may be due to the fact that I'm trying to pick up lava...

Any ideas on how I could get my little tank turtle to suck up the lava for me?

*Edit some hideous spellings that needed fixin

I'm having suckDown() problems as well. If I manually call suckDown() from the lua prompt it works, however when I do it in a script it doesn't. I haven't narrowed it down any further. I wrapped the periph correctly, dropDown() works normally, but suckDown() just doesn't want to grab the water that's there. It's returning nil for me as if it doesn't recognize the water block. I've tested putting the water block further below the turtle as well and it still doesn't see it.

#884 RichardG867

  • Members
  • 196 posts

Posted 04 May 2013 - 04:22 PM

Known issues with speech that will be fixed: needs java 7, might not work on Mac, doesn't work for everybody on Windows

#885 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 04 May 2013 - 05:11 PM

A suggestion:

When using the chatbox, let the label show up as 'player'. Of course if the label is set and even possible.

#886 mt_2a

  • Members
  • 3 posts

Posted 04 May 2013 - 10:33 PM

I don't understand. How is the barrel upgrade work?

#887 xXMineFabiXx

  • New Members
  • 1 posts

Posted 05 May 2013 - 05:18 AM

How to use the Speaker?

#888 PaidLeber

  • Members
  • 8 posts

Posted 05 May 2013 - 09:59 PM

View PostNathan1852, on 04 May 2013 - 01:58 PM, said:

It seems like there is a bug with the Charge Station.
When it's internal Storage is full of (Buildcraft-) Power and you place a Turtle next to it, the Turtle will not be charged.
This can be fixed by breaking the Charge Station and place it again.

1. I had the same problem when updating a world from 1.4.7 to 1.5.1. I was using IC2 power however. After I broke the charge station and replaced it, it started working again.

2. Also, turtle inventory icons do not match the actual item block. My "chunk loading mining turtle" inventory icon is a plain turtle with no accessories.

3. Lastly, can a "chunk loading mining turtle" keep a chunk loaded in the nether while there are no players occupying the nether? I tried mining in the nether with a chunk loading turtle (latest beta miscperipherals-3.2b4r2.jar) and it reset when I moved out of the nether. I had to use a railcraft world anchor while the "chunk loading mining turtle" does it's work (there are currently 0 players in the nether.)

-TIA

#889 Roachy

  • Members
  • 8 posts

Posted 05 May 2013 - 10:54 PM

Can wireless modems be used by turtles when they are placed in the world? I have a fleet of solar tank turtles and I really need to manage them via Rednet. However I discovered only after making them that they cannot have the wireless modem due to both sides already having peripherals. Any workaround for this?

#890 mt_2a

  • Members
  • 3 posts

Posted 06 May 2013 - 12:03 PM

I don't understand.
Can someone tell me how can I get the values returned by the thaum scanner getAuraNode()?
Also how the barrel upgrade works? Do I wrap a barrel or what?

#891 Roachy

  • Members
  • 8 posts

Posted 06 May 2013 - 04:59 PM

View Postmt_2a, on 06 May 2013 - 12:03 PM, said:

Can someone tell me how can I get the values returned by the thaum scanner getAuraNode()?

No idea, I just tried it out of curiosity and the only thing I can get getAuraNode() to do is:
java.lang.Integer cannot be cast to thaumcraft.api.AuraNode

Is there a way to view the individual peripheral's API code? It would at least be helpful in lieu of explicit documentation. I don't mean to sound snarky or anything, I love all the things this mod brings. It's just frustrating not knowing how to use some of this stuff.

#892 legaliceit

  • Members
  • 5 posts
  • LocationGermany

Posted 07 May 2013 - 03:26 AM

Hello. I have a question. When using an ME Bridge for listing items, all items with metavalues / damagevalues have an id that doesn't include the metavalue/damagevalue. How is this value calculated? I tried some logarithms on it but that wasn't helpful. To clearify : I want to get the real ID and the metavalue/damagevalue of an block with a metavalue/damagevalue stored in an ME Network.

#893 oedze

  • Members
  • 40 posts

Posted 07 May 2013 - 11:23 AM

How do you install the mod?

#894 Molinko

  • Members
  • 54 posts

Posted 08 May 2013 - 10:42 AM

View PostRoachy, on 06 May 2013 - 04:59 PM, said:

View Postmt_2a, on 06 May 2013 - 12:03 PM, said:

Can someone tell me how can I get the values returned by the thaum scanner getAuraNode()?

No idea, I just tried it out of curiosity and the only thing I can get getAuraNode() to do is:
java.lang.Integer cannot be cast to thaumcraft.api.AuraNode

Is there a way to view the individual peripheral's API code? It would at least be helpful in lieu of explicit documentation. I don't mean to sound snarky or anything, I love all the things this mod brings. It's just frustrating not knowing how to use some of this stuff.
getAuraNode returns a table of values and he peripheral mus be wrapped aswell.
local m = peripheral.wrap(yoursideinquoteshere)
local info = m.getAuraNode()
for k,v in pairs(info) do
    print(tostring(k)..": "..tostring(v))
end
This should help you access the data values youre looking for, IF getAuraNode returns a table like i expect...

#895 Molinko

  • Members
  • 54 posts

Posted 08 May 2013 - 10:45 AM

View PostRoachy, on 05 May 2013 - 10:54 PM, said:

Can wireless modems be used by turtles when they are placed in the world? I have a fleet of solar tank turtles and I really need to manage them via Rednet. However I discovered only after making them that they cannot have the wireless modem due to both sides already having peripherals. Any workaround for this?

Turtles cannot have more than two peripherals attached at once.. If you want rednet control you'll have to drop one of the periherals for a modem...

#896 N00byEdge

  • New Members
  • 1 posts

Posted 09 May 2013 - 05:20 AM

View Postoedze, on 07 May 2013 - 11:23 AM, said:

How do you install the mod?
Mods folder ._.

#897 Lost Ninja

  • Members
  • 39 posts

Posted 09 May 2013 - 02:31 PM

View PostRoachy, on 06 May 2013 - 04:59 PM, said:

Is there a way to view the individual peripheral's API code? It would at least be helpful in lieu of explicit documentation. I don't mean to sound snarky or anything, I love all the things this mod brings. It's just frustrating not knowing how to use some of this stuff.
I found this script very handy for retrieving the methods of peripherals:
ok=false
tArgs = { ... }
if #tArgs > 0 then
	side = tArgs[1]
	if side ~="bottom" and side~="top" and side~="right" and side~="left" and side~="back" and side~="front" then
		print("Invalid side valid sides are: top, bottom, left, right, back, front")
	else
		ok = true
	end
	if ok == true then
		if peripheral.isPresent(side) == true then
			methods=peripheral.getMethods(side)
			print("Methods for "..peripheral.getType(side)..":")
			for k, v in pairs(methods) do
				print("Method["..k.."]="..v)
			end
		else
			print("No peripheral on "..side.." side")
		end
	end
else
	print("Usage: methods <side>")
end

I didn't write this and it's a fair old amount of time since I found it and as such I cannot recall who did write it, but all credit goes to them... ;)

#898 Lost Ninja

  • Members
  • 39 posts

Posted 09 May 2013 - 02:36 PM

Is it worth asking/suggesting a 'mashup' of Ender Storage and MiscPeripherals? Essentially an API to allow a Ender Chest or Ender Tank to be used as a peripheral. Allowing colour 'frequencies' on the chests/tanks to be set by a turtle, even if the chest/tank had to be a lower capacity model to remove some of the OPness such a function would allow. But I don't know how much of the ender storage mod is accessible to implement such a thing... (And my java ability hasn't quite got beyond "Hello World" yet.)

Reason I ask is this: I have a turtle building program, I set a turtle down and supply it with 5 ender chests and it goes off and builds 11x11x7 houses (think DW 9x9 but bigger and more aesthetically pleasing). I can of course continue using this system for these 11x11s but as the program gets more complex I'm starting to need more chests, being able to place then reprogram a single chest (even if I need to carry a stock of dye) would be far more rational and pleasing to the mind.

#899 Engineer

  • Members
  • 1,378 posts
  • LocationThe Netherlands

Posted 09 May 2013 - 03:42 PM

View PostLost Ninja, on 09 May 2013 - 02:36 PM, said:

Is it worth asking/suggesting a 'mashup' of Ender Storage and MiscPeripherals? Essentially an API to allow a Ender Chest or Ender Tank to be used as a peripheral. Allowing colour 'frequencies' on the chests/tanks to be set by a turtle, even if the chest/tank had to be a lower capacity model to remove some of the OPness such a function would allow. But I don't know how much of the ender storage mod is accessible to implement such a thing... (And my java ability hasn't quite got beyond "Hello World" yet.)

Reason I ask is this: I have a turtle building program, I set a turtle down and supply it with 5 ender chests and it goes off and builds 11x11x7 houses (think DW 9x9 but bigger and more aesthetically pleasing). I can of course continue using this system for these 11x11s but as the program gets more complex I'm starting to need more chests, being able to place then reprogram a single chest (even if I need to carry a stock of dye) would be far more rational and pleasing to the mind.

Im pretty sure RichardG stated somewhere that couldnt get permission for this. I cant find the post though :/

#900 Kye_Duo

  • Members
  • 70 posts

Posted 09 May 2013 - 05:42 PM

View PostEngineer, on 09 May 2013 - 03:42 PM, said:

View PostLost Ninja, on 09 May 2013 - 02:36 PM, said:

Is it worth asking/suggesting a 'mashup' of Ender Storage and MiscPeripherals? Essentially an API to allow a Ender Chest or Ender Tank to be used as a peripheral. Allowing colour 'frequencies' on the chests/tanks to be set by a turtle, even if the chest/tank had to be a lower capacity model to remove some of the OPness such a function would allow. But I don't know how much of the ender storage mod is accessible to implement such a thing... (And my java ability hasn't quite got beyond "Hello World" yet.)

Reason I ask is this: I have a turtle building program, I set a turtle down and supply it with 5 ender chests and it goes off and builds 11x11x7 houses (think DW 9x9 but bigger and more aesthetically pleasing). I can of course continue using this system for these 11x11s but as the program gets more complex I'm starting to need more chests, being able to place then reprogram a single chest (even if I need to carry a stock of dye) would be far more rational and pleasing to the mind.

Im pretty sure RichardG stated somewhere that couldnt get permission for this. I cant find the post though :/
someone is doing enderstorage turtles...I saw it in the openCCsensors thread of all places.





2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users