Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Conquer Online 2 > CO2 Programming
You last visited: Today at 23:10

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Console applications

Discussion on Console applications within the CO2 Programming forum part of the Conquer Online 2 category.

Closed Thread
 
Old   #1
 
►™SuperE™◄'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 350
Received Thanks: 421
Console applications

Hey guys, I was checking out some console applications, it had this weird colors like in one line the text can be multi-colored I don't know how, I couldn't do it, and also a background color that fills all the console application, but in C# when you make a background for console applications it fills only the text's background, here are some examples of what I mean, these examples are made on photoshop, on the 2nd example I also want the "[STATUS]" part to have the console's background
Example 1

Example 2
►™SuperE™◄ is offline  
Old 07/12/2013, 00:03   #2
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Google is your friend.



If you want something mroe complex you're likely going to be imitating a console functionality inside a WinForm.
pro4never is offline  
Old 07/12/2013, 00:10   #3
 
►™SuperE™◄'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 350
Received Thanks: 421
Quote:
Originally Posted by pro4never View Post
Google is your friend.



If you want something mroe complex you're likely going to be imitating a console functionality inside a WinForm.
That link didn't actually help, it just said how to change the foregroundcolor to the whole line, I didn't know how to make a multi-colored line like in Example 1
And I didn't know how I can make a background that fills the whole application .__.
►™SuperE™◄ is offline  
Old 07/12/2013, 00:12   #4
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Use Console.Write instead of WriteLine.
Super Aids is offline  
Thanks
1 User
Old 07/12/2013, 00:16   #5
 
►™SuperE™◄'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 350
Received Thanks: 421
Quote:
Originally Posted by Super Aids View Post
Use Console.Write instead of WriteLine.
Give me an example, for using Console.Write in multi-coloring a line .-.
►™SuperE™◄ is offline  
Old 07/12/2013, 00:35   #6
 
elite*gold: 21
Join Date: Jul 2005
Posts: 9,193
Received Thanks: 5,380
Quote:
Originally Posted by ►™SuperE™◄ View Post
That link didn't actually help, it just said how to change the foregroundcolor to the whole line, I didn't know how to make a multi-colored line like in Example 1
And I didn't know how I can make a background that fills the whole application .__.
It answered every single one of your questions and was the very first result in google to "C# console color".

If you don't know the difference between Console.Write and Console.WriteLine then you should probably google it yourself rather than having us google it, post the link and then you telling us the link doesn't answer your question lol.
pro4never is offline  
Old 07/12/2013, 01:16   #7
 
►™SuperE™◄'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 350
Received Thanks: 421
Quote:
Originally Posted by pro4never View Post
It answered every single one of your questions and was the very first result in google to "C# console color".

If you don't know the difference between Console.Write and Console.WriteLine then you should probably google it yourself rather than having us google it, post the link and then you telling us the link doesn't answer your question lol.
I already figured out the answer myself, thanks anyway .-.
►™SuperE™◄ is offline  
Old 07/12/2013, 23:04   #8
 
Super Aids's Avatar
 
elite*gold: 0
Join Date: Dec 2012
Posts: 1,761
Received Thanks: 950
Code:
Console.ForegroundColor = ConsoleColor.Green;
Console.Write("Hello ");
Console.ForegroundColor = ConsoleColor.Red;
Console.Write("World!");
Was it really necessary?
Super Aids is offline  
Old 07/13/2013, 02:32   #9
 
►™SuperE™◄'s Avatar
 
elite*gold: 0
Join Date: Jul 2011
Posts: 350
Received Thanks: 421
Quote:
Originally Posted by Super Aids View Post
Code:
Console.ForegroundColor = ConsoleColor.Green;
Console.Write("Hello ");
Console.ForegroundColor = ConsoleColor.Red;
Console.Write("World!");
Was it really necessary?
Quote:
Originally Posted by [B
[/B]►™SuperE™◄;23766316]I already figured out the answer myself, thanks anyway .-.
.
►™SuperE™◄ is offline  
Old 07/16/2013, 12:36   #10

 
Arby's Avatar
 
elite*gold: 83
Join Date: May 2011
Posts: 11,029
Received Thanks: 6,036
#closed
Arby is offline  
Closed Thread


Similar Threads Similar Threads
GM Console
07/25/2015 - Perfect World - 13 Replies
from a few months back..I heard elitepvpers planning to make a GM Console...that really works.... I wonder if it finish or not..?
Wie stellt man die Console ein oder für was ist die console genau?
02/10/2013 - Rappelz Private Server - 3 Replies
Hallo und zwar wollte ich fragen was die Console Genau ist, und wie man diese dann Richtig einstellen tut. Wäre sehr nett wen ihr mir dabei Helfen könnt. Google und suche hier bei epvp haben bis jetzt nicht´s gefunden. Falls es euch hilft ich habe 7.3 Files Auth, Ubload, und Gameserver Funktionieren Einwandfrei.
[RELEASE] Console Commands for Lame Console Look
12/07/2011 - CO2 PServer Guides & Releases - 12 Replies
Well, to avoid any further useless posts on this subject... here are a ton of console based commands that will control the game from the server console. I will not explain what each does, it should be pretty easy to figure out, and I don't intend to answer stupid questions. If its a good question, I will answer it. public static void DoStuff() { bool flag = true; Console.Clear(); Console.ForegroundColor = ConsoleColor.Red; ...



All times are GMT +1. The time now is 23:11.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.