|
You last visited: Today at 13:48
Advertisement
[Release] Hidden Console
Discussion on [Release] Hidden Console within the CO2 PServer Guides & Releases forum part of the CO2 Private Server category.
12/03/2010, 03:12
|
#31
|
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
|
On request, here's an example of how i handle my console and main statement:
Code:
[DllImport("user32.dll")]
private static extern IntPtr FindWindow(string lpClassName, string lpWindowName);
[DllImport("user32.dll")]
private static extern bool ShowWindow(IntPtr hWnd, int nCmdShow);
private static void StartForm() { Application.Run(new World()); }
public static void WriteLine(string Text) { World.WriteLine(Text); }
public static void WriteLine(Exception e) { World.WriteLine(e.ToString()); }
private static void Main(string[] args)
{
Console.Title = "Conquer New Dawn: The Returning Light";
Database.Configuration.Load();
Database.Configuration.LoadMySQL();
HideConsole();
Database.Load.All();
Handlers.Sockets.StartAuth();
Handlers.Sockets.StartGame();
WriteLine("\nThe server is ready for connections!");
}
private static void HideConsole()
{
Process window = Process.GetCurrentProcess();
window.WaitForInputIdle();
IntPtr hWnd = FindWindow(null, "Conquer New Dawn: The Returning Light");
if (hWnd != IntPtr.Zero)
ShowWindow(hWnd, 0);
Thread Start = new Thread(100);
Start.Execute += new Action(StartForm);
}
|
|
|
12/04/2010, 05:03
|
#32
|
elite*gold: 0
Join Date: Dec 2010
Posts: 1
Received Thanks: 0
|
OMG, Fang I can't believe I'm actually on the same thread as you. It feels like I'm talking to a superstar or something. Dude, you make the best releases. Your my favorite coder, you code the best stuff EVER. Good job man keep doing what your doing bro. Please give me your MSN so I can talk to you. I love you brooo
|
|
|
12/04/2010, 09:13
|
#33
|
elite*gold: 20
Join Date: Oct 2010
Posts: 451
Received Thanks: 259
|
Quote:
Originally Posted by FangsBiggestFan
OMG, Fang I can't believe I'm actually on the same thread as you. It feels like I'm talking to a superstar or something. Dude, you make the best releases. Your my favorite coder, you code the best stuff EVER. Good job man keep doing what your doing bro. Please give me your MSN so I can talk to you. I love you brooo
|
I don't know which one of you it is but ****.
If you think I look at myself in that way then you have a serious social problem.
|
|
|
12/05/2010, 01:14
|
#34
|
elite*gold: 0
Join Date: Nov 2005
Posts: 548
Received Thanks: 93
|
Quote:
Originally Posted by FangsBiggestFan
OMG, Fang I can't believe I'm actually on the same thread as you. It feels like I'm talking to a superstar or something. Dude, you make the best releases. Your my favorite coder, you code the best stuff EVER. Good job man keep doing what your doing bro. Please give me your MSN so I can talk to you. I love you brooo
|
that doesn't just shout out hey I am trying to act like someone I am not normally..
|
|
|
12/05/2010, 01:40
|
#35
|
elite*gold: 0
Join Date: Nov 2010
Posts: 1,162
Received Thanks: 370
|
This is not even close to be CO2 related o.O
|
|
|
|
|
Similar Threads
|
[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;
...
|
Access (hidden) WoW Console !!!
04/03/2009 - WoW PServer Exploits, Hacks & Tools - 115 Replies
//Edit:
First to say is that ALL Credits goes to H3llf!re, he is the writer and the finder of this !
2. This Thread is useless^^
Cause everyone can do a dot"Command" in chatbox and it will have the same effect. This is only helpfull to look what parameters, what commands are working on yourserver and what commands are disabled or not in used by your server.
okay to every1 who doesent know that the wow console is: wow console is blizzards developer, debug and gm tool :) its pretty cool...
|
hidden console prob
01/18/2009 - Kal Online - 4 Replies
Moin Moin,
Gibts ne Möglichkeit die console bem injecten doch sichtbar machen?
denn bei angelskal bleibt sie unsichtbar =P
gibts es einen weg dies zu umgehen?
Vielen Dank
|
[Release] Lame Console Look
11/23/2008 - CO2 PServer Guides & Releases - 32 Replies
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 :
ServerIP = Config.ReadValue("Server", "ServerIP");
Under, add :
|
All times are GMT +2. The time now is 13:48.
|
|