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

Code to ignore 'startup' file on a floppy disk?

Started by Grey_M62, 13 July 2012 - 07:22 PM
Grey_M62 #1
Posted 13 July 2012 - 09:22 PM
I have been looking for a code that ignores the 'startup' file on a floppy disk, but i can't seem to find one. Can someone give me one?
LucasUK #2
Posted 13 July 2012 - 09:26 PM
Sure thing:

http://www.computercraft.info/forums2/index.php?/topic/103-stop-disk-booting/

Enjoy it :P/>/>
Grey_M62 #3
Posted 13 July 2012 - 09:35 PM
Sure thing:

http://www.computerc...p-disk-booting/

Enjoy it :P/>/>
That seems to work, but i would rather have it per-computer so i can use it on smp.
LucasUK #4
Posted 13 July 2012 - 10:13 PM
yes you cant unless you are the admin and edit the OS, by design.
OmegaVest #5
Posted 13 July 2012 - 10:14 PM
Other than what Lucas showed you, there is no way to prevent startup disks from being used. Unless you have a world-lock and surround it with furnaces. Then only an admin and you can get to it. Otherwise, it's up to you to make stuff work out.
Grey_M62 #6
Posted 13 July 2012 - 10:14 PM
yes you cant unless you are the admin and edit the OS, by design.
Well, is there an in-game code i could add to the startup to just ignore the disk startup or something like that?
OmegaVest #7
Posted 13 July 2012 - 10:19 PM
No. That's what we are saying. It's in the bios to boot from a disk. You cannot edit the bios in game, and there is no other way to do it.
LucasUK #8
Posted 13 July 2012 - 10:21 PM
keep your server room secure :P/>/>
Grey_M62 #9
Posted 13 July 2012 - 11:07 PM
No. That's what we are saying. It's in the bios to boot from a disk. You cannot edit the bios in game, and there is no other way to do it.
i didn't see your reply untill after i posted mine.
kazagistar #10
Posted 13 July 2012 - 11:34 PM
Theoretically, you can place a disk drive on top of the computer with a startup file. And surround it by bedrock. But I doubt that solves your problem.
Grey_M62 #11
Posted 14 July 2012 - 12:27 AM
Theoretically, you can place a disk drive on top of the computer with a startup file. And surround it by bedrock. But I doubt that solves your problem.
wait, which disk would it load if there was two disk drives?
LucasUK #12
Posted 14 July 2012 - 12:28 AM
Top one first so protect that one, then not sure :P/>/>
yaaay #13
Posted 19 July 2012 - 05:16 PM
No. That's what we are saying. It's in the bios to boot from a disk. You cannot edit the bios in game, and there is no other way to do it.
Nope,In C:UsersANTHONYAppDataRoaming.minecraftmodsComputerCraftluabios.lua
KingMachine #14
Posted 19 July 2012 - 05:38 PM
A direct answer as well a a recursively hypocritical one is to stick a disk drive on top and throw a blank startup file in it.
(Or maybe just make it
if 1 then return end
)
OmegaVest #15
Posted 19 July 2012 - 06:58 PM
No. That's what we are saying. It's in the bios to boot from a disk. You cannot edit the bios in game, and there is no other way to do it.
Nope,In C:UsersANTHONYAppDataRoaming.minecraftmodsComputerCraftluabios.lua


If you've been following the thread, you'd know that I was referring to when you are playing on a server, when you yourself do not own that server. Also, if you had read the entire thing, you'd also know that I commented on the link to the tutorial thread, which contains that information already.

So, again, I reiterate: there is no way to change the bios.lua while playing on a server you do not, yourself, own and/or control the plugins of.
Lyqyd #16
Posted 19 July 2012 - 06:58 PM
No. That's what we are saying. It's in the bios to boot from a disk. You cannot edit the bios in game, and there is no other way to do it.
Nope,In C:UsersANTHONYAppDataRoaming.minecraftmodsComputerCraftluabios.lua

No, that would be editing it outside of the game. You're agreeing with him, you just failed to understand what he was saying. His point was that there is no way to disable disk booting besides editing the bios.lua file (and not everyone logs on as Anthony, so the path you provided is somewhat less useful), which cannot be done in-game.