diff --git a/Novetus/NovetusCore/CharCustom/CharacterCustomizationShared.cs b/Novetus/NovetusCore/CharCustom/CharacterCustomizationShared.cs index 17454b0..f9680ff 100644 --- a/Novetus/NovetusCore/CharCustom/CharacterCustomizationShared.cs +++ b/Novetus/NovetusCore/CharCustom/CharacterCustomizationShared.cs @@ -707,9 +707,8 @@ class CharacterCustomizationShared { box.SelectedItem = item; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); box.SelectedItem = defaultitem + ".rbxm"; } diff --git a/Novetus/NovetusLauncher/Forms/CustomGraphicsOptions.cs b/Novetus/NovetusLauncher/Forms/CustomGraphicsOptions.cs index dbe1362..7593f81 100644 --- a/Novetus/NovetusLauncher/Forms/CustomGraphicsOptions.cs +++ b/Novetus/NovetusLauncher/Forms/CustomGraphicsOptions.cs @@ -74,9 +74,8 @@ namespace NovetusLauncher MeshDetail = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "maxMeshDetail", XMLTypes.Float)); GraphicsMeshQuality.Value = MeshDetail; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsMeshQuality.Enabled = false; } @@ -85,9 +84,8 @@ namespace NovetusLauncher ShadingQuality = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "maxShadingQuality", XMLTypes.Float)); GraphicsShadingQuality.Value = ShadingQuality; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsShadingQuality.Enabled = false; } @@ -96,17 +94,15 @@ namespace NovetusLauncher MaterialQuality = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "WoodQuality", XMLTypes.Token)); GraphicsMaterialQuality.SelectedIndex = MaterialQuality; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); try { MaterialQuality = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "TrussDetail", XMLTypes.Token)); GraphicsMaterialQuality.SelectedIndex = MaterialQuality; } - catch (Exception ex2) + catch (Exception) { - Util.LogExceptions(ex2); GraphicsMaterialQuality.Enabled = false; } } @@ -116,9 +112,8 @@ namespace NovetusLauncher AA = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "Antialiasing", XMLTypes.Token)); GraphicsAntiAliasing.SelectedIndex = AA; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsAntiAliasing.Enabled = false; } @@ -139,9 +134,8 @@ namespace NovetusLauncher break; } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsAASamples.Enabled = false; } @@ -150,9 +144,8 @@ namespace NovetusLauncher Bevels = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "Bevels", XMLTypes.Token)); GraphicsBevels.SelectedIndex = Bevels; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsBevels.Enabled = false; } @@ -161,9 +154,8 @@ namespace NovetusLauncher Shadows_2008 = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "Shadow", XMLTypes.Token)); GraphicsShadows2008.SelectedIndex = Shadows_2008; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsShadows2008.Enabled = false; } @@ -171,17 +163,15 @@ namespace NovetusLauncher { Shadows_2007 = Convert.ToBoolean(RobloxXML.GetRenderSettings(doc, "Shadows", XMLTypes.Bool)); } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); // try doing march 2007. try { Shadows_2007 = Convert.ToBoolean(RobloxXML.GetRenderSettings(doc, "shadows", XMLTypes.Bool)); } - catch (Exception ex2) + catch (Exception) { - Util.LogExceptions(ex2); GraphicsShadows2007.Enabled = false; } } @@ -213,9 +203,8 @@ namespace NovetusLauncher Style2007FolderFinder.Enabled = false; } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); Style2007.Enabled = false; Style2007FolderFinder.Enabled = false; } @@ -225,9 +214,8 @@ namespace NovetusLauncher QualityLevel = Convert.ToInt32(RobloxXML.GetRenderSettings(doc, "QualityLevel", XMLTypes.Token)); GraphicsLevel.Value = QualityLevel; } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsLevel.Enabled = false; } @@ -252,9 +240,8 @@ namespace NovetusLauncher } } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsFullscreenResolution.Enabled = false; } @@ -279,9 +266,8 @@ namespace NovetusLauncher } } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); GraphicsWindowResolution.Enabled = false; } diff --git a/Novetus/NovetusLauncher/Forms/LauncherForm/LauncherFormShared.cs b/Novetus/NovetusLauncher/Forms/LauncherForm/LauncherFormShared.cs index 64ea52b..25cf566 100644 --- a/Novetus/NovetusLauncher/Forms/LauncherForm/LauncherFormShared.cs +++ b/Novetus/NovetusLauncher/Forms/LauncherForm/LauncherFormShared.cs @@ -753,9 +753,8 @@ namespace NovetusLauncher StartGame(ScriptType.Server, false, false, true); } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); StartGame(ScriptType.Server, false, false, true); } break; @@ -783,9 +782,8 @@ namespace NovetusLauncher StartGame(ScriptType.Studio, false, false, true); } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); StartGame(ScriptType.Studio, false, false, true); } break; @@ -811,9 +809,8 @@ namespace NovetusLauncher Util.ConsolePrint("Please specify 'save', 'load', or 'reset'.", 4, ConsoleBox); } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); Util.ConsolePrint("Please specify 'save', 'load', or 'reset'.", 4, ConsoleBox); } break; @@ -851,9 +848,8 @@ namespace NovetusLauncher Util.ConsolePrint("Alternate Server IP set to " + vals[1], 4, ConsoleBox); } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); Util.ConsolePrint("Please specify the IP address you would like to set Novetus to.", 4, ConsoleBox); } break; diff --git a/Novetus/NovetusLauncher/Forms/SDK/ClientinfoCreator.cs b/Novetus/NovetusLauncher/Forms/SDK/ClientinfoCreator.cs index 1f749f4..a0e9386 100644 --- a/Novetus/NovetusLauncher/Forms/SDK/ClientinfoCreator.cs +++ b/Novetus/NovetusLauncher/Forms/SDK/ClientinfoCreator.cs @@ -109,9 +109,8 @@ public partial class ClientinfoEditor : Form label9.Text = curversion + " (v" + GlobalVars.ProgramInformation.Version + ")"; ConvertedLine = SecurityFuncs.Base64DecodeNew(file); } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); label9.Text = "v1 (v1.1)"; ConvertedLine = SecurityFuncs.Base64DecodeOld(file); } @@ -168,9 +167,8 @@ public partial class ClientinfoEditor : Form } } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); if (!label9.Text.Equals("v1 (v1.1)")) { label9.Text = "v2 Alpha (Last used in v1.2 Snapshot 7440)"; @@ -228,9 +226,8 @@ public partial class ClientinfoEditor : Form SelectedClientInfo.CommandLineArgs = commandargsver2; } } - catch (Exception ex) + catch (Exception) { - Util.LogExceptions(ex); //Again, fake it. SelectedClientInfo.ClientLoadOptions = Settings.ClientLoadOptions.Client_2008AndUp; SelectedClientInfo.CommandLineArgs = cmdargsorclientoptions; diff --git a/Novetus/NovetusLauncher/Forms/ServerBrowser.cs b/Novetus/NovetusLauncher/Forms/ServerBrowser.cs index 44c4b24..2b4ba8d 100644 --- a/Novetus/NovetusLauncher/Forms/ServerBrowser.cs +++ b/Novetus/NovetusLauncher/Forms/ServerBrowser.cs @@ -59,7 +59,6 @@ namespace NovetusLauncher } catch (Exception ex) { - Util.LogExceptions(ex); MessageBox.Show("Cannot join server (" + ex.GetBaseException().Message + ").", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); } } diff --git a/Novetus/NovetusURI/Classes/LocalFuncs.cs b/Novetus/NovetusURI/Classes/LocalFuncs.cs index ec14fc8..2be669b 100644 --- a/Novetus/NovetusURI/Classes/LocalFuncs.cs +++ b/Novetus/NovetusURI/Classes/LocalFuncs.cs @@ -25,7 +25,6 @@ namespace NovetusURI } catch (Exception ex) { - Util.LogExceptions(ex); MessageBox.Show("Failed to register. (Error: " + ex.Message + ")", "Novetus - Error", MessageBoxButtons.OK, MessageBoxIcon.Error); form.Close(); }