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.
0
Nil disk
Started by PwnCC, Aug 18 2017 05:05 PM
6 replies to this topic
#1
Posted 18 August 2017 - 05:05 PM
#2
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
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.
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
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.
If you believe nil values automatically lead to errors, then you are mistaken.
#5
Posted 19 August 2017 - 08:19 PM
It is not my code. It worked on a lot of disk ulock codes
#6
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.
Edited by SquidDev, 19 August 2017 - 08:32 PM.
#7
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...
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