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

turtle crafter table loading issue

Started by Molinko, 07 May 2014 - 01:32 AM
Molinko #1
Posted 07 May 2014 - 03:32 AM
pastebin.com/w3rU87Px

I'm running into a very silly issue with my code right now and im either an idiot or it is a bug with textutils.unserialize()
strange bugs are commented on lines 57 and 84.
Basically what is happening is that textutils.unserialize is returning a string when it should only return a table or nil… Even more crazy is that this doesnt happen in another file when i test it.. i have not rewritten textutils.unserialize either, that is the full posted code. This will continue funny behavior even after a restart..
Bomb Bloke #2
Posted 07 May 2014 - 04:10 AM
At a glance, I suspect it's because line 42 isn't writing strdata.