Currently I have an E-mail system set up and it uses the os.pullevent() function. When i run the computer it works great. However i will go somewhere else and come back and it has stopped!!! i have never caught it in the act. Why does it do that?
Computer Stopping Randomly
Started by tfoote, Jun 14 2012 03:27 AM
3 replies to this topic
#1
Posted 14 June 2012 - 03:27 AM
#2
Posted 14 June 2012 - 04:36 AM
Computer Craft 101
Computers shutdown when unloaded form the world. This happens when you walk a long distance away from the computer. Computers that were on will start up when reloaded into the world (when you walk back in range).
A computer with a file named "startup" in its directory will run it every time it boots.
Solution
Rename your program startup
if you cant rename it (for some reason) then there is a second solution ask for it and I will explain it is a little complex.
Computers shutdown when unloaded form the world. This happens when you walk a long distance away from the computer. Computers that were on will start up when reloaded into the world (when you walk back in range).
A computer with a file named "startup" in its directory will run it every time it boots.
Solution
Rename your program startup
if you cant rename it (for some reason) then there is a second solution ask for it and I will explain it is a little complex.
#3
Posted 14 June 2012 - 11:51 AM
Second Solution: Use a chunkloading mod
#4
Posted 14 June 2012 - 05:18 PM
Or just add a shell.run() entry in your startup so that it will run on startup. No need to rename it to startup.
2 user(s) are reading this topic
0 members, 2 guests, 0 anonymous users











