[Release] Lame Console Look

11/18/2008 11:54 _Emme_#1
Aight,im sick today and has nothing to do,poor me. Saw a post when LetterX acted cool and showed up his console,so I'd thought I release how to do that. I wont explain since theres 1 / 100 who actually read the explonations , so yeah here it goes:


Search for :
Code:
ServerIP = Config.ReadValue("Server", "ServerIP");
Under, add :

Code:
Console.ForegroundColor = ConsoleColor.DarkBlue;
                Console.WriteLine("Configuring MYSQL Database...");

Search for :
Code:
DataBase.AllOffline();
Until you get to that list where it loads shitloads of things, add this under :



Code:
Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Database IP : " + IPAddress.Any);
                Console.WriteLine("Server IP : " + ServerIP);
                Console.WriteLine("Database Username : " + DBUserName);
                Console.WriteLine("Database Password : " + DBUserPass);
                Console.ForegroundColor = ConsoleColor.Green;
                Console.WriteLine("Successfully Configured Database!");
                Console.WriteLine("");
                Console.WriteLine("");
                Console.ForegroundColor = ConsoleColor.DarkBlue;
                Console.WriteLine("Configuring Socket System...");


Search for :

Code:
GameServer.Enabled = true;

Under, add :


Code:
Console.ForegroundColor = ConsoleColor.Cyan;
                Console.WriteLine("Auth Server: " + AuthServer.Port);
                Console.WriteLine("Game Server: " + GameServer.Port);
                Console.ForegroundColor = ConsoleColor.Green;
                Console.WriteLine("Successfully Configured Socket System!");
                 Console.WriteLine("");
                Console.WriteLine("");

                Console.ForegroundColor = ConsoleColor.Red;
                Console.WriteLine("The server was started on " + DateTime.Now);
                Console.WriteLine("");
                Console.WriteLine("");
                Console.ForegroundColor = ConsoleColor.Yellow;
                Console.WriteLine("--Type .help for a list of available Console Commands--");




There ya go. Tho you have to code commands yourself but thats really easy. Should work if you have original lotf, or maybe not because I edited mine tons ( lawl ) . Well goodluck I wont help because this is too simple.
11/18/2008 12:07 Exia13#2
You should upload a picture to see the end result :D
11/18/2008 12:40 _Emme_#3
Lame. You should understand how it would look like if you understood the code,anyways. Picture is small because of gay epvp attachment shit .
11/18/2008 14:46 taguro#4
Lol, another stupidly easy release that noobs will love to leach... and lets prepare for the onslaught of - "How can I add console commands?"
11/18/2008 14:50 Exia13#5
LOL, why would people go through all the trouble to add color to their console. It's not as if its gonna make the server better :p .
11/18/2008 14:54 taguro#6
The only logical reason is to make its look more unique and to practice coding skills.
11/18/2008 14:56 Exia13#7
I guess you're right. it just for your personal enjoyment, cuz its not as if everyone else on your server can see it.
11/18/2008 15:03 tao4229#8
lmao, Imitation(LetterX) added it to our server.... that's about all he's good for though.

:rolleyes:
11/18/2008 15:07 Exia13#9
I guess adding color is better than staring at a black and white window waiting for an error to pop up lol :p
11/18/2008 15:21 tanelipe#10
What error? :p I don't get what is so kewl about coloured console, I understand console commands but color... >_>
11/18/2008 16:46 Ultimatum#11
I added it to seperate packet types on the console. Since i have Auth ---> , Game --> ect packets showing on console.
11/18/2008 17:17 _Emme_#12
Okay okay guys. If you cant/did not read, I said, I made an copy of LetterX ( COFlames ) console look because I was bored,good enough? Lol
11/18/2008 17:18 Korvacs#13
I also barely see any point in it unless you have errors and debug information displayed...and i dont so mine is just this,

Ive no problem with this sort of thing...i understand that people enjoy making thier console look colourful, atleast its better than the matrix one >_>
11/18/2008 17:27 Kiyono#14
I don't get it this just adds pretty colors when the server starts...
11/18/2008 17:36 _Emme_#15
And tells you the server ports and ip and all that lame shit