Posted 15 August 2016 - 09:40 PM
What if I want to send over functions like so?
rednet.open("left")
rec = peripheral.wrap("right") –working with big reactros mod
recStat = rec.getActive
recTemp = rec.getFuelTemperature
table = {recStat, recTemp}
message = textutils.serialize(table)
rednet.send(id, message)
To this I get this error:
textutils:166: Cannot serialize type function
Any ideas???
rednet.open("left")
rec = peripheral.wrap("right") –working with big reactros mod
recStat = rec.getActive
recTemp = rec.getFuelTemperature
table = {recStat, recTemp}
message = textutils.serialize(table)
rednet.send(id, message)
To this I get this error:
textutils:166: Cannot serialize type function
Any ideas???