diff --git a/.vs/ARCHBLOXLauncherGUI/DesignTimeBuild/.dtbcache.v2 b/.vs/ARCHBLOXLauncherGUI/DesignTimeBuild/.dtbcache.v2 index ccab50f..d6f55cc 100644 Binary files a/.vs/ARCHBLOXLauncherGUI/DesignTimeBuild/.dtbcache.v2 and b/.vs/ARCHBLOXLauncherGUI/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/ARCHBLOXLauncherGUI/FileContentIndex/97e296cb-7d49-4638-ac24-9a2c90969d4c.vsidx b/.vs/ARCHBLOXLauncherGUI/FileContentIndex/51ac3f34-593c-4fd6-a710-5ad6af3e13c5.vsidx similarity index 100% rename from .vs/ARCHBLOXLauncherGUI/FileContentIndex/97e296cb-7d49-4638-ac24-9a2c90969d4c.vsidx rename to .vs/ARCHBLOXLauncherGUI/FileContentIndex/51ac3f34-593c-4fd6-a710-5ad6af3e13c5.vsidx diff --git a/.vs/ARCHBLOXLauncherGUI/FileContentIndex/6d6d796f-ef98-43e7-9513-26473c1b6bf3.vsidx b/.vs/ARCHBLOXLauncherGUI/FileContentIndex/6d6d796f-ef98-43e7-9513-26473c1b6bf3.vsidx deleted file mode 100644 index 4504d83..0000000 Binary files a/.vs/ARCHBLOXLauncherGUI/FileContentIndex/6d6d796f-ef98-43e7-9513-26473c1b6bf3.vsidx and /dev/null differ diff --git a/.vs/ARCHBLOXLauncherGUI/FileContentIndex/e613e3b4-b76d-4184-bbe5-685cbdd29437.vsidx b/.vs/ARCHBLOXLauncherGUI/FileContentIndex/e613e3b4-b76d-4184-bbe5-685cbdd29437.vsidx new file mode 100644 index 0000000..93d10c4 Binary files /dev/null and b/.vs/ARCHBLOXLauncherGUI/FileContentIndex/e613e3b4-b76d-4184-bbe5-685cbdd29437.vsidx differ diff --git a/.vs/ARCHBLOXLauncherGUI/FileContentIndex/f2dcfcc1-03cd-40fb-abeb-2f68de9a93d6.vsidx b/.vs/ARCHBLOXLauncherGUI/FileContentIndex/f96205b8-be0f-47bf-8e46-6f85b50f3993.vsidx similarity index 100% rename from .vs/ARCHBLOXLauncherGUI/FileContentIndex/f2dcfcc1-03cd-40fb-abeb-2f68de9a93d6.vsidx rename to .vs/ARCHBLOXLauncherGUI/FileContentIndex/f96205b8-be0f-47bf-8e46-6f85b50f3993.vsidx diff --git a/.vs/ARCHBLOXLauncherGUI/v17/.futdcache.v1 b/.vs/ARCHBLOXLauncherGUI/v17/.futdcache.v1 index cfe7f32..a3450ec 100644 Binary files a/.vs/ARCHBLOXLauncherGUI/v17/.futdcache.v1 and b/.vs/ARCHBLOXLauncherGUI/v17/.futdcache.v1 differ diff --git a/.vs/ARCHBLOXLauncherGUI/v17/.suo b/.vs/ARCHBLOXLauncherGUI/v17/.suo index 9012c51..040f913 100644 Binary files a/.vs/ARCHBLOXLauncherGUI/v17/.suo and b/.vs/ARCHBLOXLauncherGUI/v17/.suo differ diff --git a/.vs/ProjectEvaluation/archbloxlaunchergui.metadata.v2 b/.vs/ProjectEvaluation/archbloxlaunchergui.metadata.v2 index 9aa852a..25fa285 100644 Binary files a/.vs/ProjectEvaluation/archbloxlaunchergui.metadata.v2 and b/.vs/ProjectEvaluation/archbloxlaunchergui.metadata.v2 differ diff --git a/.vs/ProjectEvaluation/archbloxlaunchergui.projects.v2 b/.vs/ProjectEvaluation/archbloxlaunchergui.projects.v2 index 0ee5a75..b772743 100644 Binary files a/.vs/ProjectEvaluation/archbloxlaunchergui.projects.v2 and b/.vs/ProjectEvaluation/archbloxlaunchergui.projects.v2 differ diff --git a/Form1.cs b/Form1.cs index f4a8934..8edb98e 100644 --- a/Form1.cs +++ b/Form1.cs @@ -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 == "") diff --git a/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll b/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll index cee7026..b8eda25 100644 Binary files a/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll and b/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll differ diff --git a/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb b/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb index 30698ab..fde4e4a 100644 Binary files a/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb and b/bin/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb differ diff --git a/bin/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll b/bin/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll index 3c97626..7449d68 100644 Binary files a/bin/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll and b/bin/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll differ diff --git a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.csproj.ResolveComReference.cache b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.csproj.ResolveComReference.cache index 018991c..ce462c4 100644 Binary files a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.csproj.ResolveComReference.cache and b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.csproj.ResolveComReference.cache differ diff --git a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll index cee7026..b8eda25 100644 Binary files a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll and b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.dll differ diff --git a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb index 30698ab..fde4e4a 100644 Binary files a/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb and b/obj/Debug/netcoreapp3.1/ARCHBLOXLauncherGUI.pdb differ diff --git a/obj/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll b/obj/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll index 3c97626..7449d68 100644 Binary files a/obj/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll and b/obj/Debug/netcoreapp3.1/Interop.IWshRuntimeLibrary.dll differ