Odaxis Posted April 28, 2015 Posted April 28, 2015 (edited) Hey folks. Not sure if this is an import bug or if need to edit something before importing. Also, I apologize if this is the wrong place to post this. Currently, I cannot import anything with a special character in its name. for example: Mr. Mime (Not sure if it's the . or the space in the name that causes this.) Mr. Mime @ Life Orb Ability: Soundproof EVs: 252 SpA / 4 SpD / 252 Spe Timid Nature - Psychic - Thunderbolt - Energy Ball - Protect This is the error i get. and these are the error details. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX.PKX.Simulator.Set..ctor(String input, String[] species, String[] items, String[] natures, String[] moves, String[] abilities) at PKHeX.Form1.getShowdownSet() at PKHeX.Form1.updateNickname(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Label.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.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- PKHeX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Odaxis/Desktop/PKHeX%20Main.exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> 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. Also cannot seem to get the move King's Shield to populate when trying to add it to Aegislash, it just remains blank. Edited April 28, 2015 by Odaxis Clarification
Kaphotics Posted April 28, 2015 Posted April 28, 2015 Fixed in the latest commit. Thanks for reporting
Favna Posted April 28, 2015 Posted April 28, 2015 Oh haha.. I was looking for a solution myself and when I refreshed the github I saw you got it already Kaphotics. Looks like your fix is more universal though ! This is part of what I was writing up as a reply before: It's not the most "beautiful" code, but placing this under line 1724 Species = Array.IndexOf(species, spec.Replace(" ", "")); should fix it: if (ld[0].Equals("Mr. Mime")) { Species = Array.IndexOf(species, spec); }
Odaxis Posted April 29, 2015 Author Posted April 29, 2015 Fixed in the latest commit.Thanks for reporting Thanks for fixing
Odaxis Posted May 12, 2015 Author Posted May 12, 2015 Fixed in the latest commit.Thanks for reporting Any update on when the next version will be ?
Favna Posted May 12, 2015 Posted May 12, 2015 Any update on when the next version will be ? If you have a copy of microsoft visual studio you can download the project from the github and compile it yourself. Otherwise, learn that patience is a virtue..
Odaxis Posted May 12, 2015 Author Posted May 12, 2015 If you have a copy of microsoft visual studio you can download the project from the github and compile it yourself. Otherwise, learn that patience is a virtue.. No Microsoft Visual Studio, so I can't compile it. I was only asking for an update, not demanding an answer. Knowledge is the cure for ignorance. Just trying to cure myself
Odaxis Posted June 13, 2015 Author Posted June 13, 2015 Fixed in the latest commit.Thanks for reporting Hey there. I'm not sure if i did it correctly or not but i downloaded the latest Source code from your GitHub page, compiled it (i think correctly) in MS Visual Studio and am still having this issue. From what i can tell there is a difference in the ' in the ability King's Shield - King's Shield (from showdown and Does NOT work) - King’s Shield (from PKHeX and Does work) King's Rock (from showdown and Does NOT work) King’s Rock (from PKHeX and Does work) The issue with Mr. Mime seems to be fixed.
Kaphotics Posted June 13, 2015 Posted June 13, 2015 Hey there. I'm not sure if i did it correctly or not but i downloaded the latest Source code from your GitHub page, compiled it (i think correctly) in MS Visual Studio and am still having this issue. From what i can tell there is a difference in the ' in the ability King's Shield - King's Shield (from showdown and Does NOT work) - King’s Shield (from PKHeX and Does work) King's Rock (from showdown and Does NOT work) King’s Rock (from PKHeX and Does work) The issue with Mr. Mime seems to be fixed. Fixed in the latest commit. Thanks!
Odaxis Posted June 14, 2015 Author Posted June 14, 2015 Fixed in the latest commit.Thanks! Thanks a bunch
Odaxis Posted July 2, 2015 Author Posted July 2, 2015 Not really sure if this is a bug or not. thinking so. Filling out a request for someone who wanted a Jolteon with a nickname of Vaporeon with the following template Vaporeon (Jolteon) (F) @ Aspear Berry Ability: Volt Absorb Shiny: Yes EVs: 252 SpA / 4 SpD / 252 Spe Timid Nature - Thunderbolt - Hyper Voice - Hidden Power [Dragon] - Heal Bell results in a Vaporeon with a nickname of Jolteon
Odaxis Posted July 21, 2015 Author Posted July 21, 2015 It seems like PKHeX is not accepting "forms" of Pokemon from the Showdown template generator if they have a nickname. Without a nickname they inject fine. With a nickname and without a "form" also injects fine. This was attempted with the latest build as of yesterday. No error was given. just simply didn't do anything. This Deoxys template failed: Deo-Bae (Deoxys-Attack) @ Rocky Helmet Ability: Pressure Shiny: Yes EVs: 68 Atk / 252 SpA / 188 Spe Naive Nature - Focus Blast - Dark Pulse - Extreme Speed - Psychic This 2nd template worked Deo-Bae (Deoxys) @ Rocky Helmet Ability: Pressure Shiny: Yes EVs: 68 Atk / 252 SpA / 188 Spe Naive Nature - Focus Blast - Dark Pulse - Extreme Speed - Psychic Also This Castform was also attempted and provided an error. Blueberry (Castform-Rainy) @ Charcoal Ability: Forecast Shiny: Yes EVs: 252 Atk / 4 SpA / 252 Spe Hasty Nature - Avalanche - Blizzard - Body Slam - Clear Smog Error: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX.PKX.Simulator.Set..ctor(String input, String[] species, String[] items, String[] natures, String[] moves, String[] abilities) at PKHeX.Form1.getShowdownSet() at PKHeX.Form1.updateNickname(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Label.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.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- PKHeX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///C:/Users/Odaxis/Desktop/PKHeX%20(2).exe ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34251 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34238 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34234 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll ---------------------------------------- System.Numerics Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.34209 built by: FX452RTMGDR CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.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: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> 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.
Odaxis Posted July 21, 2015 Author Posted July 21, 2015 Just tested the PKHeX (04-04-15) version, this bug is not present in that version
Kaphotics Posted July 22, 2015 Posted July 22, 2015 It seems like PKHeX is not accepting "forms" of Pokemon from the Showdown template generator if they have a nickname.Without a nickname they inject fine. With a nickname and without a "form" also injects fine. This was attempted with the latest build as of yesterday. No error was given. just simply didn't do anything. This Deoxys template failed: Deo-Bae (Deoxys-Attack) @ Rocky Helmet Ability: Pressure Shiny: Yes EVs: 68 Atk / 252 SpA / 188 Spe Naive Nature - Focus Blast - Dark Pulse - Extreme Speed - Psychic This 2nd template worked Deo-Bae (Deoxys) @ Rocky Helmet Ability: Pressure Shiny: Yes EVs: 68 Atk / 252 SpA / 188 Spe Naive Nature - Focus Blast - Dark Pulse - Extreme Speed - Psychic Also This Castform was also attempted and provided an error. Blueberry (Castform-Rainy) @ Charcoal Ability: Forecast Shiny: Yes EVs: 252 Atk / 4 SpA / 252 Spe Hasty Nature - Avalanche - Blizzard - Body Slam - Clear Smog Fixed in latest commit. Thanks as usual
Odaxis Posted July 22, 2015 Author Posted July 22, 2015 Fixed in latest commit.Thanks as usual Happy to help as always.
Favna Posted September 4, 2015 Posted September 4, 2015 (edited) Update on the issue.. For some reason Showdown now adds 2 spaces on each line at the end. It would be very much appreciated if PKHeX can be updated to reflect this change on Pokemon Showdown. Credits to @RustInPeace for figuring it out.... Details are easily overlooked is proven again. Old issue: For some reason this suddenly happens in both the latest stable release on this forum as well as the latest release on your github @Kaphotics... And I have honestly no clue why. It used to work perfectly fine, but regardless of set it just doesn't work anymore. I've also asked friends on their test feedback and they get the same error so it's not just me I suppose. Sets that I have tried to import (all failed): Edit: I did try more than just these 4 - but 4 will suffice to show. Tweety (Taillow) (M) @ Focus Sash Ability: Scrappy Level: 1 Shiny: Yes EVs: 252 Atk / 4 SpD / 252 Spe Jolly Nature - Quick Attack - Endeavor - Protect - Pursuit Windwaker (Meloetta) @ Choice Specs Ability: Serene Grace Shiny: Yes EVs: 4 Def / 252 Spe Timid Nature - Hyper Voice - Psychic - Shadow Ball - U-turn MyScarfHax (Cinccino) (F) @ King's Rock Ability: Skill Link Shiny: Yes EVs: 6 HP / 252 Atk / 252 Spe Jolly Nature - Rock Blast - Tail Slap - Bullet Seed - U-turn VETE AL DIABLO (Spiritomb) (M) @ Life Orb Ability: Infiltrator Shiny: Yes EVs: 252 HP / 252 Atk / 6 Def Adamant Nature - Sucker Punch - Foul Play - Pursuit - Will-O-Wisp Gengar (M) @ Black Sludge Ability: Levitate Shiny: Yes EVs: 28 HP / 148 SpA / 80 SpD / 252 Spe Timid Nature - Substitute - Shadow Ball - Will-O-Wisp - Disable And below the thrown exception: See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.IndexOutOfRangeException: Index was outside the bounds of the array. at PKHeX.PKX.Simulator.Set..ctor(String input, String[] species, String[] items, String[] natures, String[] moves, String[] abilities) at PKHeX.Form1.getShowdownSet() at PKHeX.Form1.updateNickname(Object sender, EventArgs e) at System.Windows.Forms.Control.OnClick(EventArgs e) at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks) at System.Windows.Forms.Control.WndProc(Message& m) at System.Windows.Forms.Label.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.6.96.0 built by: NETFXREL2STAGE CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- PKHeX Assembly Version: 1.0.0.0 Win32 Version: 1.0.0.0 CodeBase: file:///D:/UserFiles/Pokemon%20Related/PKHaX/PKHeX.exe ---------------------------------------- System.Core Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 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.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- System.Data Assembly Version: 4.0.0.0 Win32 Version: 4.6.79.0 built by: NETFXREL2 CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.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: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> 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. Edited September 4, 2015 by Favna Update and rewording
RustInPeace Posted September 4, 2015 Posted September 4, 2015 You need to take out the spaces after each line, I just copy/pasted the Taillow without the spaces, and it got in fine.
Favna Posted September 4, 2015 Posted September 4, 2015 You need to take out the spaces after each line, I just copy/pasted the Taillow without the spaces, and it got in fine. Well damn... Thanks for noticing that minor detail! I updated the original post just now.
Kaphotics Posted September 5, 2015 Posted September 5, 2015 Fixed in latest commit. Thanks for reporting and deducing the issue! A new version has been posted in the stickied thread; as you can tell from the other changes in that commit I've also added automatic loading of the SaveDataBackup files.
Beeness Posted September 5, 2015 Posted September 5, 2015 (edited) Fixed in latest commit.Thanks for reporting and deducing the issue! A new version has been posted in the stickied thread; as you can tell from the other changes in that commit I've also added automatic loading of the SaveDataBackup files. can you put a tutorial for the inporter please Edited September 5, 2015 by Beeness misspelled a word
Favna Posted September 5, 2015 Posted September 5, 2015 can you put a tutorial for the importer please Copy the set Hold the control key Click "species" in the main tab Done Some sort of example vid i made ages ago for a friend: https://youtu.be/CkEs7VGiX_Y Note: it was just for showing it to friends who thought it was a huge hassle to upload
Beeness Posted September 5, 2015 Posted September 5, 2015 Copy the setHold the control key Click "species" in the main tab Done Some sort of example vid i made ages ago for a friend: https://youtu.be/CkEs7VGiX_Y Note: it was just for showing it to friends who thought it was a huge hassle to upload thank you so much now i can finally make some sets
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