updated
This commit is contained in:
parent
7ba9ca985c
commit
9d4bf1ae59
|
|
@ -5,6 +5,8 @@ VisualStudioVersion = 17.2.32516.85
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "ARCHBLOXLauncher", "ARCHBLOXLauncher.csproj", "{1ABADBCC-4FC4-4496-8FDF-9A60DF745D2B}"
|
||||
EndProject
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ARCHBLOXLauncher1", "..\ARCHBLOXLauncher1\ARCHBLOXLauncher1.csproj", "{2894C0B1-1CA4-4B3B-BC5D-AB52479F129F}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
|
|
@ -15,6 +17,10 @@ Global
|
|||
{1ABADBCC-4FC4-4496-8FDF-9A60DF745D2B}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{1ABADBCC-4FC4-4496-8FDF-9A60DF745D2B}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{1ABADBCC-4FC4-4496-8FDF-9A60DF745D2B}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{2894C0B1-1CA4-4B3B-BC5D-AB52479F129F}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{2894C0B1-1CA4-4B3B-BC5D-AB52479F129F}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{2894C0B1-1CA4-4B3B-BC5D-AB52479F129F}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{2894C0B1-1CA4-4B3B-BC5D-AB52479F129F}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
|
|
|
|||
13
Program.cs
13
Program.cs
|
|
@ -15,10 +15,11 @@ namespace ConsoleApp1
|
|||
string folderPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.LocalApplicationData), @"Archblx\", @"Versions\");
|
||||
string clientPath = Path.Combine(folderPath, version_string + @"\");
|
||||
string filePath = Path.Combine(clientPath, "ArchbloxPlayerBeta.exe");
|
||||
Console.BackgroundColor = ConsoleColor.Black;
|
||||
Console.ForegroundColor = ConsoleColor.Blue;
|
||||
Console.Clear();
|
||||
Console.WriteLine("ARCHBLOX Launcher");
|
||||
Console.WriteLine("Type 1 to Join a Game");
|
||||
Console.WriteLine("Type 2 to Host a Game");
|
||||
Console.WriteLine(" █████ ██████ ██████ ██ ██ ██████ ██ ██████ ██ ██ \n██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ \n███████ ██████ ██ ███████ ██████ ██ ██ ██ ███ \n██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ ██ \n██ ██ ██ ██ ██████ ██ ██ ██████ ███████ ██████ ██ ██");
|
||||
Console.WriteLine("Type 1 to Join a Game or Type 2 to Host a Game");
|
||||
string number = Console.ReadLine();
|
||||
if (number == "1")
|
||||
{
|
||||
|
|
@ -50,14 +51,14 @@ namespace ConsoleApp1
|
|||
else if (number == "2")
|
||||
{
|
||||
Console.Clear();
|
||||
Console.WriteLine("Server Port:");
|
||||
Console.WriteLine("Server Port (Default is 53640):");
|
||||
string port = Console.ReadLine();
|
||||
Console.WriteLine("Game Filename (use temp.rbxl if unsure, put .rbxl(s) in the content folder):");
|
||||
Console.WriteLine("RBXL Filename (use temp.rbxl if unsure, put .rbxl(s) in the content folder):");
|
||||
string filename = Console.ReadLine();
|
||||
using (System.Diagnostics.Process pProcess = new System.Diagnostics.Process())
|
||||
{
|
||||
pProcess.StartInfo.FileName = filePath;
|
||||
pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/gameserver.php?port=" + port + "?rbxl=" + filename + "\" -t \"1\"";
|
||||
pProcess.StartInfo.Arguments = "-a \"http://www.morblox.us/\" -j \"http://www.morblox.us/game/gameserver.php?port=" + port + "&rbxl=" + filename + "\" -t \"1\"";
|
||||
pProcess.StartInfo.UseShellExecute = false;
|
||||
pProcess.StartInfo.RedirectStandardOutput = true;
|
||||
pProcess.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Normal;
|
||||
|
|
|
|||
Loading…
Reference in New Issue