frgaudi Posted August 6, 2020 Posted August 6, 2020 Hello i tried any saves on my pkhex when display raids and it gives me this error: Exception Details: System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX_Raid_Plugin.RaidManager.InitializeDenList(RaidSpawnList8 raids, RaidSpawnList8 raidsArmor) at PKHeX_Raid_Plugin.RaidManager..ctor(SaveBlockAccessor8SWSH blocks, GameVersion game, Int32 badges, UInt32 tid, UInt32 sid) at PKHeX_Raid_Plugin.RaidList..ctor(SaveBlockAccessor8SWSH blocks, GameVersion game, Int32 badges, Int32 tid, Int32 sid) at PKHeX_Raid_Plugin.RaidPlugin.Open() 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=20.7.18.0, Culture=neutral, PublicKeyToken=null C:\Users\nicol\Downloads\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 System.Windows.Forms.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\System.Windows.Forms.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\System.Windows.Forms.resources.dll PKHeX.Drawing, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null PKHeX_Raid_Plugin, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null C:\Users\nicol\Downloads\PKHeX\plugins\PKHeX_Raid_Plugin.dll mscorlib.resources, Version=4.0.0.0, Culture=fr, PublicKeyToken=b77a5c561934e089 C:\WINDOWS\Microsoft.Net\assembly\GAC_MSIL\mscorlib.resources\v4.0_4.0.0.0_fr_b77a5c561934e089\mscorlib.resources.dll -------------------- User Message: An unhandled exception has occurred. You can continue running PKHeX, but please report this error. I'm trying to inject a raid event btw. Thankxs for your help!
theSLAYER Posted August 6, 2020 Posted August 6, 2020 Is this before or after "injecting a raid event"?
frgaudi Posted August 6, 2020 Author Posted August 6, 2020 @theSLAYER Sorry to sound like a noob but what do you mean by injecting an event? Block editing?
theSLAYER Posted August 6, 2020 Posted August 6, 2020 Question: 2 minutes ago, frgaudi said: what do you mean by injecting an event? Answer: 45 minutes ago, frgaudi said: I'm trying to inject a raid event btw I literally used your words for the question. So what did I mean? I'm asking based on what you claimed you did. ><
frgaudi Posted August 6, 2020 Author Posted August 6, 2020 @theSLAYER Oh damn i'm really stupid sorry. No it's before.
theSLAYER Posted August 6, 2020 Posted August 6, 2020 Has any other modifications been done? Also upload the save.
frgaudi Posted August 6, 2020 Author Posted August 6, 2020 I found the issu @theSLAYER i used a bad main! you can close !
Recommended Posts