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

Pause and Lock any Computer

Started by Lion4ever, 31 May 2015 - 04:40 PM
Lion4ever #1
Posted 31 May 2015 - 06:40 PM
What the Programs do: When you press f10 the computer pauses. All events are caught and stored until you press f10 again. You can set a Password in the first line of the programm with will be used to restrict the ability to resume all programms on the computer. In the version for normal computers you can not see that you are typing, so that the output from the normal program is not lost.

For normal computers: pastebin get KCfLTrzr initPause

For advanced computers: pastebin get dQL2ANxh initPause
Pyuu #2
Posted 31 May 2015 - 09:10 PM
Just a small suggestion for keeping code in one program,
you can use the term.isColor function to be able to tell which code to use.

Good concept. This code could even be expanded with screensavers to further reproduce the feeling of a modern day PC.
Creator #3
Posted 31 May 2015 - 11:07 PM
Modern PCsdon't require screensaver anymore. They were used before because showing the same image on a screen for too long would damage it by leaving traces of the given thingy (image) that was displayed.
Bomb Bloke #4
Posted 01 June 2015 - 12:29 AM
Raster burn is less of a problem than it was, granted, but it still affects modern displays. OLEDs in particular seem to have it worst at the moment.

However, I guess there's been a bit of a shift from using screensavers towards simply turning the screen off, as they don't take as long to light back up again these days.
Lion4ever #5
Posted 01 June 2015 - 09:08 AM
Just a small suggestion for keeping code in one program,
you can use the term.isColor function to be able to tell which code to use.

Good concept. This code could even be expanded with screensavers to further reproduce the feeling of a modern day PC.

Yeah, i thought about making only on program, but there are differences in so many places…
e.g. screensavers could only be used in the advanced version because in the normal version it would rather be a "screen clearer"