Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal
  • 0
GrimmSpector

Getting an error when trying to call a component...

Question

So...I'm trying simple things in the interpreter to teach myself, and I'm having mostly success. However one of the machines I want to work with is the RotaryCraft Extractor...

 

On my OpenComputers system it's listed with an address and the name "Extractor", along with all the rotarycraft machines attached to it.

 

I can address those machines like this:

=component.JetEngine.address
=component.JetEngine.getName()

And it will output it's address and name, the name is "Gas Turbine" in this case, and the address is the same as if I hit the block with the analyzer or as in the list of components when I use:

local component = require("component")
for k,v in component.list() do print(k, v) end

In this list I get the Extractor as well, with an address an "Extractor" as the name. but if I try:

=component.Extractor.address
=component.Extractor.getName()
=component.invoke(extractoraddress, "getName")

They all return this error:

buildcraft/api/transport/IPipeTile$PipeType
stack traceback:
         machine:756: in function <machine:751>
         [C]: in function 'error'
         machine:631: in function 'spcall'
         machine:1270: in function 'proxy'
         boot/04_component.lua:96: in function 'setPrimary'
         boot/04_component.lua:52: in function 'isAvailable'
         boot/04_component.lua:69: in function <boot/04_component.lua:67>
         (...tail calls...)
         stdin:1: in main chunk
         [C]: in function 'xpcall'
         machine:751: in function 'xpcall'
         /bin/lua.lua:146: in main chunk
         [C]: in function 'xpcall'
         machine:751: in function 'xpcall'
         /lib/process.lua:78: in function </lib/process.lua:71>


All other components that I've tried either from OC itself or from RotaryCraft seem to work fine except this one. I've tried breaking and replacing, double checked addresses with the analyzer, placed new Extractors with different addresses. And always the same error.

 

I'd really appreciate some help in resolving this!! Thanks!

Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.