Jump to content

Recommended Posts

Posted

Sorry if this isn't were i should put this, but When i load up PK3DS ( pokemon Y ) and click on the Wild encounters Button make a quick change, adding in a pokemon that comes in Pokemon X, Gastly. When i go to save the encounters (Button) it pops up an Error.

Exception Details:
System.OverflowException: Value was either too large or too small for a UInt16.
   at System.Convert.ToUInt16(Int32 value)
   at pk3DS.XYWE.MakeSlotData(Int32 species, Int32 f, Int32 lo, Int32 hi) in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 445
   at pk3DS.XYWE.MakeEncounterData() in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 457
   at pk3DS.XYWE.B_Save_Click(Object sender, EventArgs e) in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 491
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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

pk3DS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\360MoveData\Users\Josh\Desktop\PK3DS\pk3DS\bin\Release\pk3DS.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

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

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\360MoveData\Users\Josh\Desktop\PK3DS\pk3DS\bin\Release\pk3DS.Core.dll

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

Now this is odd to me because i added Misdreavus and Gothita (import only pokemon) to Route 2 and it worked perfectly fine. i'm trying to add Gastly to Route 16 where a few ghost types can be found. and yet it crashes or at least pops up an error but i can't actually save the changes. can anyone look at the error and tell me wth this all means? if at all possible please and thank you.

  • 3 years later...
Posted
On 6/26/2020 at 10:45 PM, Freeasabird420183 said:

Sorry if this isn't were i should put this, but When i load up PK3DS ( pokemon Y ) and click on the Wild encounters Button make a quick change, adding in a pokemon that comes in Pokemon X, Gastly. When i go to save the encounters (Button) it pops up an Error.

Exception Details:
System.OverflowException: Value was either too large or too small for a UInt16.
   at System.Convert.ToUInt16(Int32 value)
   at pk3DS.XYWE.MakeSlotData(Int32 species, Int32 f, Int32 lo, Int32 hi) in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 445
   at pk3DS.XYWE.MakeEncounterData() in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 457
   at pk3DS.XYWE.B_Save_Click(Object sender, EventArgs e) in D:\a\1\s\pk3DS\Subforms\Gen6\XYWE.cs:line 491
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.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

pk3DS, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\360MoveData\Users\Josh\Desktop\PK3DS\pk3DS\bin\Release\pk3DS.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

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

pk3DS.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null
D:\360MoveData\Users\Josh\Desktop\PK3DS\pk3DS\bin\Release\pk3DS.Core.dll

--------------------
User Message:
An unhandled exception has occurred.
You can continue running the program (albeit with potential side-effects), but please report this error.
 

Now this is odd to me because i added Misdreavus and Gothita (import only pokemon) to Route 2 and it worked perfectly fine. i'm trying to add Gastly to Route 16 where a few ghost types can be found. and yet it crashes or at least pops up an error but i can't actually save the changes. can anyone look at the error and tell me wth this all means? if at all possible please and thank you.

Hey, I have the same problem. Did you find a solution?

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...