This commit is contained in:
Thomas G 2022-08-28 12:02:57 +10:00
parent 77b9c307b3
commit 70e93abd3f
17 changed files with 27 additions and 2 deletions

Binary file not shown.

View File

@ -59,9 +59,21 @@ namespace ARCHBLOXLauncherGUI
{
if (lastword == "host")
{
if (!System.IO.File.Exists(filePath))
{
DialogResult res = MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Out of date client! To update the client, select Yes.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Error);
if (res == DialogResult.Yes)
{
ARCHBLOXLauncherGUI.Form2 form2 = new ARCHBLOXLauncherGUI.Form2();
form2.Show();
} else
{
Environment.Exit(0);
}
}
exitafterarg = true;
lastword = "stop";
string[] info = word.Split('|');
string[] info = word.Split(':');
foreach (var word2 in info)
{
if (info1 == "")
@ -91,9 +103,22 @@ namespace ARCHBLOXLauncherGUI
}
if (lastword == "join")
{
if (!System.IO.File.Exists(filePath))
{
DialogResult res = MessageBox.Show("An error occoured while starting ARCHBLOX\n\nDetails: Out of date client! To update the client, select Yes.", "ARCHBLOX", MessageBoxButtons.YesNo, MessageBoxIcon.Error);
if (res == DialogResult.Yes)
{
ARCHBLOXLauncherGUI.Form2 form2 = new ARCHBLOXLauncherGUI.Form2();
form2.Show();
}
else
{
Environment.Exit(0);
}
}
exitafterarg = true;
lastword = "stop";
string[] info = word.Split('|');
string[] info = word.Split(':');
foreach (var word2 in info)
{
if (info1 == "")