This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
Trikk's profile picture

MiscPeripherals problem.

Started by Trikk, 11 May 2013 - 07:51 PM
Trikk #1
Posted 11 May 2013 - 09:51 PM
Hello. I am trying to use MiscPeripherals compass add-on, and the teleporters. But if I try to use getFacing() or teleport() they don't work. Suggestions?
Bubba #2
Posted 11 May 2013 - 10:03 PM
Why not post this in the actual MiscPeripherals thread….? Even the Ask a Pro section would probably be acceptable. Not to mention you provide pretty much no info about your issue. Stating that something does not work will not help anyone fix your problem.
Trikk #3
Posted 12 May 2013 - 12:01 AM
I don't know what else to say… I try to type teleport() and it says attempt to call nil. Like the function isnt even there. Same thing with getFacing().
Bubba #4
Posted 12 May 2013 - 12:45 AM
I don't know what else to say… I try to type teleport() and it says attempt to call nil. Like the function isnt even there. Same thing with getFacing().

Are you wrapping the peripheral and calling it like this:

local yourPeripheral = peripheral.wrap("<side>")
yourPeripheral.teleport(1, 2, 3) --Or whatever arguments teleport takes

Please provide the exact code you are using to produce this, otherwise we can't help you.
Trikk #5
Posted 12 May 2013 - 11:04 PM
Oh. that's what I forgot. I feel stupid now. Anyways. On another note, do I have to link the teleporters each time I start my world? because it seems like it.
Bubba #6
Posted 12 May 2013 - 11:34 PM
Oh. that's what I forgot. I feel stupid now. Anyways. On another note, do I have to link the teleporters each time I start my world? because it seems like it.

I personally don't use the teleporters so I'm not sure. You could take this up with the mod author though if no info is provided on his peripheral page. Seems to me like they should remain linked, but then again I didn't write the peripheral.