v1.2
This commit is contained in:
parent
93c5d748e0
commit
da15f468e2
30
Form1.cs
30
Form1.cs
|
|
@ -55,9 +55,22 @@ namespace ARCHBLOXLauncher_XP
|
||||||
{
|
{
|
||||||
if (lastword == "host")
|
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)
|
||||||
|
{
|
||||||
|
ARCHBLOXLauncher_XP.Form2 form2 = new ARCHBLOXLauncher_XP.Form2();
|
||||||
|
form2.Show();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Environment.Exit(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
exitafterarg = true;
|
exitafterarg = true;
|
||||||
lastword = "stop";
|
lastword = "stop";
|
||||||
string[] info = word.Split('|');
|
string[] info = word.Split(':');
|
||||||
foreach (var word2 in info)
|
foreach (var word2 in info)
|
||||||
{
|
{
|
||||||
if (info1 == "")
|
if (info1 == "")
|
||||||
|
|
@ -86,9 +99,22 @@ namespace ARCHBLOXLauncher_XP
|
||||||
}
|
}
|
||||||
if (lastword == "join")
|
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)
|
||||||
|
{
|
||||||
|
ARCHBLOXLauncher_XP.Form2 form2 = new ARCHBLOXLauncher_XP.Form2();
|
||||||
|
form2.Show();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Environment.Exit(0);
|
||||||
|
}
|
||||||
|
}
|
||||||
exitafterarg = true;
|
exitafterarg = true;
|
||||||
lastword = "stop";
|
lastword = "stop";
|
||||||
string[] info = word.Split('|');
|
string[] info = word.Split(':');
|
||||||
foreach (var word2 in info)
|
foreach (var word2 in info)
|
||||||
{
|
{
|
||||||
if (info1 == "")
|
if (info1 == "")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue