Bug in dialing device with opencomputers
dustpuppy opened this issue ยท 2 comments
There is a bug in the dialing device regarding computer connection.
getTransmitterName and getReceiverName are not working.
Look at the picture.
Here's the code.
`local component = require("component")
local dialer = component.dialing_device
local ser = require("serialization")
for key,value in pairs(dialer) do
if key == "getTransmitterName" then
print (key,component.doc(dialer.address,key))
end
end
print("----------------------------------------------------")
local transmitters = dialer.getTransmitters
local receivers = dialer.getReceivers
local tr = {}
for key,value in pairs(transmitters) do
if key ~= "n" then
print(ser.serialize(value))
tr = value
end
end
print("----------------------------------------------------")