Jump to content




Colors not staying when Computer reboots


5 replies to this topic

#1 immaZebrah

  • New Members
  • 2 posts

Posted 30 August 2013 - 01:58 AM

Title: Colors not staying when Computer reboots

So I have my computer set up to run a program which has colors in it when the computer reboots, but when the server I'm on reboots the text turns white again and I was wondering if there was any way to prevent this from happening.. Help is greatly appreciated! :D

#2 floppyjack

  • Members
  • 18 posts

Posted 30 August 2013 - 08:04 AM

[Edit: I probably didn't understand your question right, ignore this post.]

Edited by floppyjack, 30 August 2013 - 09:14 AM.


#3 Kingdaro

    The Doctor

  • Members
  • 1,636 posts
  • Location'MURICA

Posted 30 August 2013 - 08:12 AM

Generally, the color scheme resets to white text on a black background when you shut down or restart the computer, so if that's the problem you're having, you'll need to set the colors every time you start your program, instead of expecting your colors to stay the same.

#4 bigbaddevil6

  • Members
  • 72 posts

Posted 30 August 2013 - 10:08 PM

can i see the code you are using. pretty much like kingdaro said you when a server restarts the computer pretty much forgets everything it was doing so in order to keep your color you need to have it set to that color every time it starts up again.
If the colors change due to input from users say for instance you have it blue when it first starts and then you have it change to green, and you want it to be green when it starts again after server restart/crash you'll have to look into file saving so that the computer remembers the color it had, but if it stays blue and when the server derps and you want it to be blue just have it at the beginning of the program stating for it to be blue.

#5 immaZebrah

  • New Members
  • 2 posts

Posted 31 August 2013 - 01:36 AM

Nevermind, I was using term.setTextColor(colors.red) when I should've been using mon.setTextColor(colors.red)
Thanks though guys! :D

#6 Zudo

  • Members
  • 800 posts
  • LocationUK

Posted 31 August 2013 - 01:29 PM

If you use term.redirect(monitor) you can use the normal term functions.





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users