Skip to content

Commit

Permalink
bump up version
Browse files Browse the repository at this point in the history
also format some error strings. Remove most references to discord and redirect to wiki instead
  • Loading branch information
architdate committed Feb 2, 2023
1 parent a27d2d1 commit 8de5543
Show file tree
Hide file tree
Showing 14 changed files with 12 additions and 708 deletions.
25 changes: 11 additions & 14 deletions AutoLegalityMod/GUI/ShowdownSetLoader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -111,13 +111,11 @@ private static AutoModErrorCode ImportSetToTabs(ShowdownSet set, bool skipDialog

var errorstr = msg == LegalizationResult.Failed ? "failed to generate" : "timed out";
var invalid_set_error = (analysis == null ? $"Set {errorstr}." : $"Set Invalid: {analysis}") +
"\n\nIf you are sure this set is valid, please create an issue on GitHub and upload the error_log.txt file in the issue." +
"\n\nAlternatively, join the support Discord and post the same file in the #autolegality-livehex-help channel.";
var res = WinFormsUtil.ALMErrorDiscord(invalid_set_error);
if (res == DialogResult.No)
Process.Start(new ProcessStartInfo { FileName = "https://discord.gg/tDMvSRv", UseShellExecute = true });
else if (res == DialogResult.Retry)
Process.Start(new ProcessStartInfo { FileName = "https://github.com/architdate/PKHeX-Plugins/issues", UseShellExecute = true });
"\n\nRefer to the wiki for more help on generating sets correctly." +
"\n\nIf you are sure this set is valid, please create an issue on GitHub and upload the error_log.txt file in the issue.";
var res = WinFormsUtil.ALMErrorBasic(invalid_set_error);
if (res == DialogResult.Retry)
Process.Start(new ProcessStartInfo { FileName = "https://github.com/architdate/PKHeX-Plugins/wiki/Getting-Started-with-Auto-Legality-Mod", UseShellExecute = true });
}

Debug.WriteLine("Single Set Genning Complete. Loading final data to tabs.");
Expand All @@ -144,13 +142,12 @@ private static AutoModErrorCode ImportSetsToBoxes(IReadOnlyList<ShowdownSet> set
var result = sav.ImportToExisting(sets, BoxData, out var invalid, out var timeout, start, replace);
if (timeout.Count > 0 || invalid.Count > 0)
{
var res = WinFormsUtil.ALMErrorDiscord(
$"{timeout.Count} set(s) timed out and {invalid.Count} set(s) are invalid. Please create an issue on GitHub and upload the error_log.txt file in the issue." +
"\n\nAlternatively, join the support Discord and post the same file in the #autolegality-livehex-help channel.");
if (res == DialogResult.No)
Process.Start(new ProcessStartInfo { FileName = "https://discord.gg/tDMvSRv", UseShellExecute = true });
else if (res == DialogResult.Retry)
Process.Start(new ProcessStartInfo { FileName = "https://github.com/architdate/PKHeX-Plugins/issues", UseShellExecute = true });
var res = WinFormsUtil.ALMErrorBasic(
$"{timeout.Count} set(s) timed out and {invalid.Count} set(s) are invalid." +
"\n\nRefer to the wiki for more help on generating sets correctly." +
"\n\nIf you are sure this set is valid, please create an issue on GitHub and upload the error_log.txt file in the issue.");
if (res == DialogResult.Retry)
Process.Start(new ProcessStartInfo { FileName = "https://github.com/architdate/PKHeX-Plugins/wiki/Getting-Started-with-Auto-Legality-Mod", UseShellExecute = true });
}

if (result is AutoModErrorCode.VersionMismatch)
Expand Down
6 changes: 0 additions & 6 deletions PKHeX-Plugins.sln
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,6 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PKHeX.Core.Injection", "PKH
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "PKHeX.Core.Enhancements", "PKHeX.Core.Enhancements\PKHeX.Core.Enhancements.csproj", "{165D144A-DBB4-4F3B-BF39-E783B41008C3}"
EndProject
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "QRPlugins", "QRPlugins\QRPlugins.csproj", "{38889E43-2C14-4AC4-AF3F-BE40660459FC}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Expand All @@ -43,10 +41,6 @@ Global
{165D144A-DBB4-4F3B-BF39-E783B41008C3}.Debug|Any CPU.Build.0 = Debug|Any CPU
{165D144A-DBB4-4F3B-BF39-E783B41008C3}.Release|Any CPU.ActiveCfg = Release|Any CPU
{165D144A-DBB4-4F3B-BF39-E783B41008C3}.Release|Any CPU.Build.0 = Release|Any CPU
{38889E43-2C14-4AC4-AF3F-BE40660459FC}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{38889E43-2C14-4AC4-AF3F-BE40660459FC}.Debug|Any CPU.Build.0 = Debug|Any CPU
{38889E43-2C14-4AC4-AF3F-BE40660459FC}.Release|Any CPU.ActiveCfg = Release|Any CPU
{38889E43-2C14-4AC4-AF3F-BE40660459FC}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
Expand Down
2 changes: 1 addition & 1 deletion PKHeX.Core.AutoMod/AutoMod/Util/Version.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace PKHeX.Core.AutoMod
public static class ALMVersion

{
public const string CurrentVersion = "22.12.18";
public const string CurrentVersion = "23.01.30";

/*
* TODO: Add other versioning code, maybe compatability lists here?
Expand Down
8 changes: 0 additions & 8 deletions QRPlugins/FodyWeavers.xml

This file was deleted.

141 changes: 0 additions & 141 deletions QRPlugins/FodyWeavers.xsd

This file was deleted.

31 changes: 0 additions & 31 deletions QRPlugins/Plugins/ExportQRCodes.cs

This file was deleted.

41 changes: 0 additions & 41 deletions QRPlugins/Plugins/PGLRentalLegality.cs

This file was deleted.

43 changes: 0 additions & 43 deletions QRPlugins/QRPlugins.csproj

This file was deleted.

Loading

0 comments on commit 8de5543

Please sign in to comment.