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

Direwolf 20 - Computer prints 18 no matter the program being run.

Started by xxKobalxx, 15 March 2015 - 10:44 PM
xxKobalxx #1
Posted 15 March 2015 - 11:44 PM
After sitting on a server with a friend for a while we began programming a turtle for hours until we hit what we thought was a problem with our code. Every time we ran the program it would return the number 18. Nothing in our code, nothing at all but 18. But after holding down ctrl+t the turtle spit out what seemed like a java error, with the number 18 at the end. Just wanted this to be known, restarting our clients and the server fixed this issue, but don't know if this is a major problem or not.
Lyqyd #2
Posted 16 March 2015 - 02:07 AM
Moved to Ask a Pro. This is likely a bug caused by a program you were using, perhaps something that left something in the global table and caused programs run subsequently to fail.
Bomb Bloke #3
Posted 16 March 2015 - 06:07 AM
Some peripherals (added by mods other than ComputerCraft) have been known to return errors which solely consist of numbers if you misuse them.

Some versions of ComputerCraft (starting from version 1.6) may have advanced computers or turtles render most of their errors offscreen under certain circumstances, meaning you only get to see the last few characters. This should've been fixed by, um, 1.7 I think it was?