wwwwwwzx / 3DSRNGTool

Pokemon 3DS RNG Tool
MIT License
158 stars 39 forks source link

Weird Error When Changing to Gen 7 Profiles #61

Closed Inkblot777 closed 6 years ago

Inkblot777 commented 6 years ago

I Get this weird error report whenever I Load a gen 7 profile (specifically when I switch from gen 6 format to gen 7, and only the first time). I don't know what is causing it, or how to fix it. I think there might be something wrong with the config files, but I don't know where to look to find them. I also think this might be making it so my egg seed won't update when I select a profile, as I find whenever I switch to my gen 7 profile, the egg seed always goes back to the one i first entered when i made the profile, not the updated one i was using when i last used the profile.

This is the error report. Sorry if this doesn't count as an issue. I just couldn't figure this out and this seemed the best place to ask about it.

See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box.

** Exception Text ** System.ArgumentOutOfRangeException: InvalidArgument=Value of '2' is not valid for 'index'. Parameter name: index at System.Windows.Forms.TabControl.InsertItem(Int32 index, TabPage tabPage) at System.Windows.Forms.TabControl.TabPageCollection.Insert(Int32 index, TabPage tabPage) at Pk3DSRNGTool.MiscRNGTool.ShowHideTab(TabPage tab, Boolean enable, Int32 index) at Pk3DSRNGTool.MiscRNGTool.RNG_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at Pk3DSRNGTool.MiscRNGTool.UpdateInfo(Int32 catchrate, Int32 HP, Boolean updateseed, Boolean updategame) at Pk3DSRNGTool.MainForm.GameVersion_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.set_SelectedIndex(Int32 value) at Pk3DSRNGTool.MainForm.CB_Profile_SelectedIndexChanged(Object sender, EventArgs e) at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e) at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m) at System.Windows.Forms.ComboBox.WndProc(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m) at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

** Loaded Assemblies ** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

3DSRNGTool Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///F:/Users/Anthony-1/Desktop/Pokemon%20RNG/3ds%20RNG%20tool%202/3DSRNGTool.exe

System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.7.2563.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Microsoft.GeneratedCode Assembly Version: 1.0.0.0 Win32 Version: 4.7.2612.0 built by: NET471REL1LAST_B CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

Accessibility Assembly Version: 4.0.0.0 Win32 Version: 4.7.2558.0 built by: NET471REL1 CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll

** JIT Debugging ** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled.

For example:

When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box.

wwwwwwzx commented 6 years ago

Redownload the build from lastest release or Appveyor. Fixed since https://github.com/wwwwwwzx/3DSRNGTool/commit/7e47a3ba5bbd84ff0f89f83492695a7e4e84355b