Jump to content




Nil disk


6 replies to this topic

#1 PwnCC

  • Members
  • 32 posts

Posted 18 August 2017 - 05:05 PM

So I found out that there was a bug about a disk labeled nil. If you insert it into something and you have like a disk lock door it will return an error as nil.

#2 Lyqyd

    Lua Liquidator

  • Moderators
  • 8,465 posts

Posted 19 August 2017 - 12:23 AM

Please provide all code involved and more precise reproduction instructions. This sounds on its face like it may be a misunderstanding or user error, so I'd appreciate additional information so that we can classify this correctly.

#3 PwnCC

  • Members
  • 32 posts

Posted 19 August 2017 - 09:43 AM

It's a little bug. It may already be found. The only thing you have to do is name everything on the floppy nil. Here is why.
If disk entered
a must be 010101
But if a is nil it will return nil making the computer shoot an error.
This is meant for a labeled disk password door.

#4 Bomb Bloke

    Hobbyist Coder

  • Moderators
  • 7,099 posts
  • LocationTasmania (AU)

Posted 19 August 2017 - 09:55 AM

I also suspect the bug is not within ComputerCraft, but within the code of the script you're running.

If you believe nil values automatically lead to errors, then you are mistaken.

#5 PwnCC

  • Members
  • 32 posts

Posted 19 August 2017 - 08:19 PM

It is not my code. It worked on a lot of disk ulock codes

#6 SquidDev

    Frickin' laser beams | Resident Necromancer

  • Members
  • 1,427 posts
  • LocationDoes anyone put something serious here?

Posted 19 August 2017 - 08:31 PM

We're really going to need a little bit more information. When reporting a bug it's always best to include as much detail as possible - remember that other users of the forum aren't omniscient (yet), and so more info makes everyone's life easier. A couple of things which would be useful:
  • Minecraft version and ComputerCraft version
  • Whether this is single-player or multi-player.
  • Detailed reproduction steps, with screenshots if possible.
  • What error does it produce? "error as nil" doesn't really mean anything.
I'd recommend looking through some of the previous bug reports to get an idea of how one should format a bug report.

Edited by SquidDev, 19 August 2017 - 08:32 PM.


#7 Dave-ee Jones

  • Members
  • 456 posts
  • LocationVan Diemen's Land

Posted 06 September 2017 - 05:59 AM

What do you mean "return nil"?
Please don't just say "it returns nil whenever I get the floppy's label", because I'm afraid to say you just played yourself...

Edited by Dave-ee Jones, 06 September 2017 - 06:00 AM.






1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users