ICanSnake Posted December 6, 2019 Posted December 6, 2019 When I open up PKHeX and set it to a blank gen 3 Sapphire save file, I tried to import some pk3's I have just to view some info. When you drag it to the left side where the Pokemon information is, the pk3 drops successfully. But when I try to set it to a spot in the box, or if I drag it directly to the box, this error message pops up: Spoiler Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX.Core.FlagUtil.SetFlag(Byte[] arr, Int32 offset, Int32 bitIndex, Boolean value) at PKHeX.Core.SAV3.SetCaught(Int32 species, Boolean caught) at PKHeX.Core.SAV3.SetDex(PKM pkm) at PKHeX.Core.SaveFile.SetBoxSlot(PKM pkm, Byte[] data, Int32 offset, PKMImportSetting trade, PKMImportSetting dex) at PKHeX.Core.SlotInfoBox.WriteTo(SaveFile sav, PKM pkm, PKMImportSetting setting) at PKHeX.Core.SlotEditor`1.WriteSlot(ISlotInfo slot, PKM pkm, SlotTouchType type) at PKHeX.Core.SlotEditor`1.Set(ISlotInfo slot, PKM pkm) at PKHeX.WinForms.Controls.ContextMenuSAV.ClickSet(Object sender, EventArgs e) at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e) at System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e) at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e) at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.ToolStrip.WndProc(Message& m) at System.Windows.Forms.ToolStripDropDown.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) Loaded Assemblies: -------------------- mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\mscorlib.dll PKHeX, Version=19.11.25.0, Culture=neutral, PublicKeyToken=null C:\Users\icans\Desktop\PKHeX\PKHeX.exe System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System\v4.0_4.0.0.0__b77a5c561934e089\System.dll System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms\v4.0_4.0.0.0__b77a5c561934e089\System.Windows.Forms.dll System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Drawing\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Drawing.dll PKHeX.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null System.Core, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Core\v4.0_4.0.0.0__b77a5c561934e089\System.Core.dll System.Configuration, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Configuration\v4.0_4.0.0.0__b03f5f7f11d50a3a\System.Configuration.dll System.Xml, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Xml\v4.0_4.0.0.0__b77a5c561934e089\System.Xml.dll Accessibility, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\Accessibility\v4.0_4.0.0.0__b03f5f7f11d50a3a\Accessibility.dll PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null -------------------- User Message: An unhandled exception has occurred. You can continue running PKHeX, but please report this error. Spoiler Dragging into boxes works fine when you load an existing save file though: Spoiler
Kaphotics Posted December 6, 2019 Posted December 6, 2019 ty fixed in latest commit https://github.com/kwsch/PKHeX/commit/f07aed904d0dbf52f24267f54105912ec800b750
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now