Jump to content




[question, lua, computer] stopping the pc from opening a disk on startup


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

#1 Exerro

  • Members
  • 801 posts

Posted 28 June 2012 - 08:18 PM

I'm trying to make a firewall for a virus I made and I need to know if its possible to stop the pc from scanning disk drives first

#2 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 28 June 2012 - 08:58 PM

Yes, but the only way is to modify the shell (in rom/programs/shell), so you can't do it in a server you don't have access.

#3 Exerro

  • Members
  • 801 posts

Posted 28 June 2012 - 10:06 PM

so you can't edit that folder from ingame even using fs.delete/open?

#4 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 28 June 2012 - 10:19 PM

No, that's why it's called rom: Read Only Memory.
If it's on ssp or you have access to the server files, you can go to ".minecraft/mods/ComputerCraft/lua/rom/" and edit the files, otherwise there's no way to do it.

#5 Exerro

  • Members
  • 801 posts

Posted 29 June 2012 - 05:57 PM

ok but what about a program that detects if there is a disk and eject it if there is...and sorry for being such a noob :P/>

#6 MysticT

    Lua Wizard

  • Members
  • 1,597 posts

Posted 29 June 2012 - 07:55 PM

That's possible, but it won't prevent the startup on the disk from being run. The startup from disks is run before anything else (of course, after the bios and shell).





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users