RFTools

RFTools

74M Downloads

Bug in dialing device with opencomputers

dustpuppy opened this issue ยท 2 comments

commented

Sorry, pressed enter. Got empty comment :-)

commented

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("----------------------------------------------------")

print(dialer.getTransmitterName(tr))
`
bildschirmfoto22

commented

As this is for 1.7.10, we won't be fixing it but if for any reason this is still a bug then please open a new issue with more up to date information ๐Ÿ‘