Posted 31 December 2014 - 06:29 AM
so im trying to send a couple of variables over rednet using textutils.serialize() and unserialize but its giving me an error every time it unserializes
"sender, message = rednet.receive()
mail = textutils.unserialize(message)
account = mail[1]
func = mail[2]
p1 = mail[3]
p2 = mail[4]
p3 = mail[5]"
any idea why?
"sender, message = rednet.receive()
mail = textutils.unserialize(message)
account = mail[1]
func = mail[2]
p1 = mail[3]
p2 = mail[4]
p3 = mail[5]"
any idea why?