Jump to content




Single number as error message


  • You cannot reply to this topic
4 replies to this topic

#1 NanoBob

  • Members
  • 102 posts

Posted 21 June 2016 - 01:48 PM

My program (source code) crashes when running and the error output is "7" (sometimes "6"). Afterwards whilst testing it by terminating a program instead of displaying "terminated" it once again displays "7".
The program doesn't just run out of code to run either as I have a print() at the end of the program to indicate that point. Which is never printed.

Computercraft version 1.75, ftb logs shows no errors.

Posted Image

Furthermore, when terminating the shell I get another an index out of bounds exception, with again the "7"

Posted Image

Any idea what caused this? Or what the actual error message behind "7" would be?

Edited by NanoBob, 21 June 2016 - 02:00 PM.


#2 NanoBob

  • Members
  • 102 posts

Posted 21 June 2016 - 02:07 PM

I've found the issue, the issue was me comparing nil to a number. However that doesnt explain why the error wouldn't show up properly, so if somebody knows I'd still be interested in finding out why

#3 KingofGamesYami

  • Members
  • 3,002 posts
  • LocationUnited States of America

Posted 21 June 2016 - 02:09 PM

Do you have any mods other than computercraft?

#4 NanoBob

  • Members
  • 102 posts

Posted 21 June 2016 - 02:17 PM

View PostKingofGamesYami, on 21 June 2016 - 02:09 PM, said:

Do you have any mods other than computercraft?
Yes it's a modpack. (Sky factory 2.5).

Edit: It's not just a specific error. It seems like all errors are showing up simply as a number instead of an actual error.

Edited by NanoBob, 21 June 2016 - 02:19 PM.


#5 apemanzilla

  • Members
  • 1,421 posts

Posted 21 June 2016 - 02:58 PM

Restarting the game should fix it. I've encountered this bug before.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users