Added Minecraft Client GUI v1.0 to the repository

+ Some BasicIO fixes to Minecraft Console Client
This commit is contained in:
ORelio 2013-08-21 14:31:57 +02:00
parent 84b8b9da2a
commit f26ff323fd
18 changed files with 7413 additions and 9 deletions

View file

@ -151,18 +151,21 @@ namespace MinecraftClient
if (Settings.Login == "")
{
Console.Write("Username : ");
Console.Write(ConsoleIO.basicIO ? "Please type the username of your choice.\n" : "Username : ");
Settings.Login = Console.ReadLine();
}
if (Settings.Password == "")
{
Console.Write("Password : ");
Console.Write(ConsoleIO.basicIO ? "Please type the password for " + Settings.Login + ".\n" : "Password : ");
Settings.Password = Console.ReadLine();
//Hide the password
Console.CursorTop--;
Console.Write("Password : <******>");
for (int i = 19; i < Console.BufferWidth; i++) { Console.Write(' '); }
if (!ConsoleIO.basicIO)
{
//Hide the password
Console.CursorTop--;
Console.Write("Password : <******>");
for (int i = 19; i < Console.BufferWidth; i++) { Console.Write(' '); }
}
}
startupargs = args;