ledhead900 Posted June 15, 2012 Posted June 15, 2012 Just as the title says really, Is there an special way one can prevent the computer reset when sever restarts. Quote
VideoBoy Posted June 15, 2012 Posted June 15, 2012 As far as I know, no. When I need a computer to run continuously, I design my code to save crucial runtime data to a file and then just reload it whenever the computer (or the server) restarts. That way, it continues where it left off as if nothing had happened. :P Quote
ledhead900 Posted June 15, 2012 Author Posted June 15, 2012 I see well that ruins my use for it then, I was using a big screen to display a message of the day followed by user selection of help topic for those who never read the join text it was displayed on a large screen in front of them when they joined as well, as some vital commands that take them to information about Towny and other things, looks like I will just have to forget about that. Quote
Iscamania Posted June 15, 2012 Posted June 15, 2012 Are you talking about just 1 computer? If so, I don´t see the problem. Just start it yourself... When you´re talking about a whole network of computers, then I understand the problem. Quote
Neowulf Posted June 15, 2012 Posted June 15, 2012 Add a startup program and call your display program with shell.run() http://computercraft.info/wiki/index.php?title=Shell_%28API%29 Interesting idea for a spawn. You could setup a play button or pressure switch and 5 Exit buttons. Play starts the presentation, and near the end display what exit button is the correct one for that playthrough. If they just ignore the presentation and try one at random, dunk em in lava. Use a randomizer so it changes the exit with every play through. Quote
ledhead900 Posted June 16, 2012 Author Posted June 16, 2012 Thanks for the reply's guys. @Neowulf I will give this a go seems like a cool idea. I also wondered if it was possible to add color to the text, or is always white ?, I know I can change the entire computers color via its mod config but I was wondering if you could make color appear for different things on the screen. Quote
Iscamania Posted June 16, 2012 Posted June 16, 2012 Thanks for the reply's guys. @Neowulf I will give this a go seems like a cool idea. I also wondered if it was possible to add color to the text, or is always white ?, I know I can change the entire computers color via its mod config but I was wondering if you could make color appear for different things on the screen. If you can do it on the computer itself, the screen can display it as well. Yes, colors are possible. Quote
Neowulf Posted June 16, 2012 Posted June 16, 2012 If you mod the server to support colored text in CC then everyone who joins your server will have to use the mod too. Color is one of the most popular suggestions over on the CC forums, and yet not a word from dan on it, just forum regulars telling people it's been suggested before. Quote
Iscamania Posted June 16, 2012 Posted June 16, 2012 If you mod the server to support colored text in CC then everyone who joins your server will have to use the mod too. Color is one of the most popular suggestions over on the CC forums, and yet not a word from dan on it, just forum regulars telling people it's been suggested before. Which mod? CC has an API for it: http://computercraft.info/wiki/index.php?title=Color_(API) EDIT: Whoops, that outputs only the binary data. Derp... XD Anyway, @ any Moderator: I just received an update message. Is there really an update? I like to know that before I apply it, because I've to reinstall some things then. I can remember that not long ago back in 2.1.1 I had also an update message which didn't do anything except actually reinstalling Tekkit and it's settings. I don't want that happening again for no reason. Quote
Neowulf Posted June 16, 2012 Posted June 16, 2012 Yeah, the color API is used for colored parsing bundled cables easier. Output of colored text was in at one point but dan removed it due to string length issues. He never went back to fix the problem leading some to believe he prefers monochrome. Quote
VideoBoy Posted June 17, 2012 Posted June 17, 2012 Go on scandic.us:25573. I have a CC screen set up at spawn with several messages for new users. Just make a startup script that prints the messages, with proper guards against Ctrl+T. :P Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.