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

[1.5.8] [MC: 1.6.4] [SSP] Command block randomly picks different peripheral.getType() names.

Started by joshmanisdabomb, 17 January 2014 - 09:20 AM
joshmanisdabomb #1
Posted 17 January 2014 - 10:20 AM
ComputerCraft Version Information: 1.58 Client

Description of Bug: peripheral.getType() calls a command block either "command" or "control" half the time. It should just call itself "command" or "control" every time you run it.

Steps to Reproduce Bug:
  1. Load Minecraft.
  2. Use peripheral.getType() with a command block and note down the string returned.
  3. Keep reloading MInecraft.
  4. When you use peripheral.getType() again, it might return a different string.
Lyqyd #2
Posted 17 January 2014 - 10:41 AM
Please provide a list of other mods you have installed. Specifically, OpenPeripheral is a troublemaker when it comes to command blocks.
joshmanisdabomb #3
Posted 20 January 2014 - 12:08 PM
I did indeed have OpenPeripheral installed. I uninstalled it, and things worked fine. So sorry, I should be more careful and check before reporting bugs.
awsmazinggenius #4
Posted 20 January 2014 - 11:24 PM
Have you reported this to Mikee and his team?
Tigerlife #5
Posted 20 January 2017 - 11:59 PM
i know im a little bit late on this, but i just wanted to add a trick i do, where i make a command in a program and then run the command from the detection line of code, this allows me to fix the problem you had and allows me to do parallel with it too