Wenn ich ne Console in C++ erstelle (CMD),
quasi mit color,title,echo off & am ende cls,
wie kann ichs dazu bringen dass man auch eine normale Eingabe machen kann anschliessend, ohne dass sich das Programm schliesst, bzw. mit Pause
im anschluss schliesst? Die Systembefehle usw weiß ich ja, nur meine Frage ist halt obs möglich ist, die normale cmd.exe ausm sys32 Ordner zu "Klonen" mit Hilfe von C++, quasi das gleiche wie cmd.exe nur mit anderen Farben, nem anderen Titel & ohne das Echo.
Am ende soll dann alles gecleart werden damit man die Commands eingeben kann, ins leere Fenster.
Beispiel: (Als CMD, welches normalerweise als C++ Datei sein sollte)
PS: Brauche nur nen tipp, nicht füttern bitte
PS²: Ich nutze das Buch C++ Von A-Z, sobalds ankommt (nächste Woche?)
Ist das zu empfehlen?
Meinst du im Grunde, dass du genau die Konsole hast, wie sie auch erscheint, wenn du cmd.exe ausführst (nur halt in anderen Farben etc.), sprich sie bleibt nach der Eingabe offen und man kann Befehle eingeben? Soll auch das aktuelle Verzeichnis angezeigt werden? (wenn cd nicht verwendet wird, ist es beim CMD ja C:\Windows\system32\)
Genau richtig,
nur das ganze hätte ich gerne selbst geschrieben in C++,
das versuche ich quasi grad:
Aufbauen der Console(Color, Title, Echo, Cls)
& Anschliessend soll eine Eingabe erlaubt sein, welche auf die cmd.exe Commands zugreifft.
(Ich habs per cin bereits versucht, das ist aber nicht das was ich brauche, eine Eingabe an sich ist ja nicht das Problem, sondern dass es die Commands der CMD.exe erkennt.)
Beispiel:
[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;
...
[Request]Dekaron HeavensGate vach,aggro,speed,wall,gm console 06/19/2009 - Dekaron Private Server - 3 Replies Hi , any can create or post here some hacks(vach hack,non aggro,wall hack,gm console,spawn monsters no gm hack!,speed) for Dekaron HG on all maps , including hacks for new maps ?
:handsdown:----:handsdown:
[Request] GM console? 07/18/2008 - Perfect World - 2 Replies I've been looking on this site, and it says something about a GM console for pw, well I think X-UG had it but their forum isn't available so does anyone have the file and would kindly put it on this thread so I may try it out? I don't care if it's client sided, or if it doesn't work, I want it for experimental reasons, so thank you to whoever uploads it on elitepvpers.
[REQUEST] Hacking Client Guide - admin console 06/09/2008 - Perfect World - 2 Replies I have seen some topics with claims that they have an admin / debug console. I would like to know how to do this for myself. I have read that it doesnt work but i dont care as i just want it for the fact of having it. I hope someone can help. I was hoping for a guide just like this one. Thanks in advance.