[REQUEST]2 small simple request please look in here

09/20/2008 11:59 vietkidd510#1
Hello all no one here knows me i am Rukia Owner Od DarkAngelzCO 2.0 i was wondering if anyone can kindly show me 1 solutions

first off can anyone tell me how i can add day/night to work for everyone

i have been searching deeply for it can anyone please show me with a guide how to get it on my server?
09/20/2008 12:35 Rechocto#2
look up RGB effects for lotf (forum search function) -- in your TimerElapsed for characters, use:

string dt = ("{F:0}", DateTime.Now);
//Saturday, September 20, 2008 4:00:52 AM
string[] Time = dt.Split(' ');
if(Time[5] == "PM" && dayornight == "day") // add that variable to your character class
//RGB change for night
else if (Time[5] == "AM" && dayornight == "night")
//RGB change for day



hope you understand =)
09/20/2008 12:55 vietkidd510#3
thats the problem i am trying to have can u give me a simple guide on how to do it please?
09/20/2008 13:02 Rechocto#4
for RGB stuff, there is already a guide on the forum =)
09/20/2008 13:10 vietkidd510#5
yeah i have seen the guide i added the 2 scripts that was told to addi nthere when it yped in /rgb nothing happens i think there is something else that must be addeD?
09/20/2008 13:53 YukiXian#6
Quote:
Originally Posted by Rechocto View Post
look up RGB effects for lotf (forum search function) -- in your TimerElapsed for characters, use:

string dt = ("{F:0}", DateTime.Now);
//Saturday, September 20, 2008 4:00:52 AM
string[] Time = dt.Split(' ');
if(Time[5] == "PM" && dayornight == "day") // add that variable to your character class
//RGB change for night
else if (Time[5] == "AM" && dayornight == "night")
//RGB change for day



hope you understand =)

What does this all means and do?
09/20/2008 17:38 tao4229#7
Quote:
Originally Posted by Rechocto View Post
look up RGB effects for lotf (forum search function) -- in your TimerElapsed for characters, use:

string dt = ("{F:0}", DateTime.Now);
//Saturday, September 20, 2008 4:00:52 AM
string[] Time = dt.Split(' ');
if(Time[5] == "PM" && dayornight == "day") // add that variable to your character class
//RGB change for night
else if (Time[5] == "AM" && dayornight == "night")
//RGB change for day



hope you understand =)
Mine goes at around 30 minutes :d

Although this is more "realistic"... I just like it changing a bit more often :P