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

Program won't start on startup

Started by silverbagelz, 31 March 2013 - 12:27 AM
silverbagelz #1
Posted 31 March 2013 - 02:27 AM
Hi,

I've had this problem for ages now, and I don't know what I'm doing wrong/if I did something wrong.
I did a script called startup (edit startup) and put in the password door script. When I rebooted the computer, it didn't come up as soon as I opened it. To run the script (which did work) I have to just type startup, which is annoying to do each time.

Any help?
JokerRH #2
Posted 31 March 2013 - 02:32 AM
We can't help you if we don't know your code. :P/>
samdeman22 #3
Posted 31 March 2013 - 02:34 AM
what version of computercraft are you using? are you on a pack like tekkit or FTB?
silverbagelz #4
Posted 31 March 2013 - 02:39 AM
I'm just using the normal tekkit via the launcher, playing on a MP server.
By the way, here's the video I was following: http://www.youtube.com/watch?v=n2aG_WJcOuw

The code /did/ work, but it wasn't starting on startup, despite it being named startup.
Dlcruz129 #5
Posted 31 March 2013 - 08:17 PM
Make sure you actually named it startup. Post your code, it may be a problem there.
TheOddByte #6
Posted 01 April 2013 - 12:38 AM
If you want you could do this

Format the computer


for k,v in pairs(fs.list("/")) do
  if not fs.isReadOnly(v) then
    fs.delete(v)
  end
end
The reason you should do this if you have gotten some malware on it.


And then recreate
the code in the startup
TheArchitect #7
Posted 01 April 2013 - 05:31 PM
How the hell do you get malware on a computercraft computer?
theoriginalbit #8
Posted 01 April 2013 - 05:36 PM
How the hell do you get malware on a computercraft computer?
Someone can make it… quite easily…