• ✨ ARCHIVE MODE ✨
    The forum has now been set to read-only mode, no new posts, resources, replies etc will not be possible.
    We recommend you join our Discord server to get real-time response: Discord Invite Link

Fixed [Indev 0.54.2] Buying out Zinc from Safari Zone Shop Causes Crash

SonioExpert46

Pokémon Ranger
I went to the Safari Zone Gate today (A Friday) to purchase Vitamins for half-price from the lady who sold them on Fridays. When I was done buying the Vitamins I needed, I attempted to buy some Zinc for later use, but the game crashed on me. Buying the maximum amount crashes the game, but buying anything lower than what's in-stock has the game working just fine. Buying any other Vitamin for any amount works just fine as well.

What I expected to happen:
Purchase Zinc from the lady at the Safari Zone who changed inventory every day.

What actually happened:
My game crashed when I bought all the Zinc available in-stock

Steps to reproduce:
1. Go to the lady near the Pokemon Center inside the Safari Zone Gate on a Friday
2. Assuming she has Zinc in-stock, buy the maximum amount available.
3. The game crashes

Code:
---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4 
  Client  4.7.02556
  Full  4.7.02556
v4.0 
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error information:

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
InnerException: NOTHING
BaseException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‌‬‌‪‎‬‎‮‍‎‭‭‫‭‪‏‪‮‮‪‎‭‪‮()
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‮‬‮‮‌‪‎‌‌‎‌‬‏‮‭‫‭‎‌‏‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‎‍‭‪‮‮‮‫‫‪‏‪‮‎‮‬‬‫‏‫‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮(GameTime )
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at ‎‪‪‌‎‮‪‪‮‮‭‏‎‬‭‬‮‪‮.‫‬‬‏‬‭‭‌‬‬‏‫‪‍‌‮‏‫‬‍‍‪‎‬‎‏‫‬‫‫‍‍‮(String[] )

---------------------------------------------------------------------------------

Enviornment dump:

--------------------------------------------------
Generated Fields:
--------------------------------------------------

Private ‍‫‪‍‬‮‏‌‪‎‫‮‬‍‌‬‎‬‌‮ As ‫‬‭‪‭‭‎‎‬‬‫‮‫‎‍‌‍‫‎‫‍‫‮ = BuyItems
Private ‭‭‌‏‭‬‫‫‬‮‭‭‫‪‍‎‏‮‮‫‮ As ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮ = Medicine
Private ‫‬‮‮‭‪‫‏‏‎‬‭‬‍‌‪‪‮‫‏‬‮ As Int32 = 0
Private ‭‫‍‪‭‪‪‫‏‭‮‏‏‪‌‮‍‪‎‍‎‌‎‭‏‍‮ As Int32 = 0
Private ‌‮‫‏‬‪‪‍‬‫‬‎‍‏‌‏‫‮ As Int32 = 5
Private ‮‪‬‍‍‭‪‭‮‌‏‬‌‬‏‍‌‭‬‏‪‪‮ As Int32 = 0
Private ‏‭‎‪‫‪‫‬‌‏‫‭‮‫‎‌‭‮ As Int32 = 0
Private ‮‎‫‎‫‫‬‬‍‏‪‎‏‎‍‎‎‍‭‬‫‮‫‫‭‫‎‫‏‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‬‌‮‌‫‬‍‪‫‭‮‌‫‍‮‪‍‎‌‭‬‌‫‬‮ As Boolean = True
Private ‌‪‌‏‮‮‬‏‪‏‫‎‏‭‎‍‬‏‮ As Boolean = True
Private ‪‎‏‭‬‌‌‏‎‮‭‫‎‍‮‮‮‪‏‍‏‫‪‌‮‮ As ‌‪‫‫‏‏‪‎‌‏‍‍‬‬‎‭‭‫‬‍‫‬‬‮ = Pokédollar
Private ‬‫‪‭‍‬‎‪‬‏‫‎‏‍‭‏‌‍‌‬‌‫‏‮‮ As Texture2D = {Name = "", Width = 128, Height = 128}
Private ‪‍‫‎‎‬‍‮‌‌‏‬‭‭‮‬‫‪‭‍‬‌‮‏‍‌‫‮ As Int32 = 15
Private ‏‏‎‌‮‫‫‪‍‬‮‮‬‬‫‬‎‏‌‏‭‪‭‌‬‎‮ As String = Buy Medicine
Private ‮‪‏‪‪‫‎‬‬‏‫‭‪‌‍‬‪‫‍‭‍‏‌‫‎‏‮ As List(Of String) = {Buy, Sell, Exit}
Private ‎‏‮‍‍‬‏‏‬‬‏‮‮‍‫‮‮‭‫‫‍‬‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {Medicine}
Private ‬‭‭‮‬‬‍‭‮‎‪‫‭‪‮‮‎‪‫‫‎‬‍‬‮ As Single = 3.325029
Private ‭‬‍‫‮‫‬‪‭‬‌‫‍‭‪‌‬‎‬‬‮ As Single = 179.5
Private ‪‍‎‮‭‬‮‮‬‫‌‭‮‬‍‮‌‏‍‏‎‍‪‍‎‪‮ As Boolean = True
Private ‍‎‎‬‭‎‮‫‮‌‫‎‪‬‮‫‌‌‪‮‎‌‫‏‎‎‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‌‮‬‬‬‮‮‮‮‬‬‭‍‎‫‮‪‌‮‮ As Int32 = 3
Private ‮‍‮‎‫‭‌‪‏‫‪‭‫‫‬‏‎‪‮‬‮ As Boolean = False
Private ‭‏‭‍‍‏‌‭‭‌‍‪‫‬‏‎‭‍‫‪‬‪‭‮‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {}
Private ‮‎‍‫‭‪‪‮‎‌‬‮‏‭‏‫‪‮‪‪‭‍‮‮‬‮‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {}
Private ‌‮‬‏‫‪‍‬‍‭‌‌‬‬‭‪‪‍‭‏‏‮ As Int32 = 1
Private ‏‌‌‪‫‏‎‬‮‮‮‎‍‪‍‪‎‍‫‍‬‮‌‬‫‭‮ As Boolean = False
Private ‌‬‮‌‭‮‎‬‭‍‬‎‬‎‬‪‪‪‪‏‎‫‮‭‭‪‏‍‫‌‮ As Int32 = 0
Public ‎‪‎‎‎‌‌‬‬‎‮‪‮‏‍‬‎‮‮ As Boolean = False
Public ‪‌‬‪‎‌‮‫‏‍‪‮‭‬‪‫‍‏‮‮ As Boolean = False

--------------------------------------------------
Generated Property:
--------------------------------------------------

Property ‌‏‬‏‎‎‭‍‍‪‭‬‬‎‎‪‌‬‏‮ As Int32 = 0
Property ‎‬‮‫‍‍‪‫‌‬‌‮‫‬‮‫‮‌‪‪‫‮ As Int32 = 5
Property ‭‮‪‏‌‬‎‬‍‎‌‫‮‮‍‌‬‫‪‪‭‌‭‍‮‮ As ‎‎‎‏‌‌‌‮‍‎‏‫‬‭‌‎‫‏‍‬‮‌‎‎‮‮ = ‮‪‏‌‎‌‮‪‫‮‎‪‌‮‏‫‪‮‬‪‪‪‪‮
Property ‫‭‮‬‎‍‪‪‫‬‌‭‮‏‍‏‌‮‪‪‌‌‬‮ As ‎‏‬‫‌‌‍‭‍‮‎‎‏‌‌‮‏‭‬‫‮‬‫‏‮‮ = MainMenuScreen
Property ‍‏‫‏‎‏‮‫‍‮‬‫‮‍‍‏‎‏‭‭‪‫‎‮‌‮ As Boolean = True
Property ‭‫‏‎‫‪‮‌‪‮‎‫‏‮‭‍‭‪‮‮‍‬‮‎‪‭‮ As Boolean = True
Property ‌‫‮‎‬‍‍‪‎‎‮‎‪‬‫‏‏‮‮ As Boolean = True
Property ‭‪‍‬‍‎‎‬‎‮‪‍‍‎‌‫‍‮ As Boolean = True
Property ‍‏‫‏‍‫‎‪‫‎‏‏‪‮‎‎‎‪‭‌‬‫‮ As Boolean = True
Property ‌‪‍‬‬‪‫‮‬‭‫‮‪‫‭‌‬‬‬‍‏‭‏‮ As Boolean = True
Property ‍‬‫‭‬‭‌‫‬‍‭‪‭‍‫‏‎‮ As Boolean = True

---------------------------------------------------------------------------------
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
I went to the Safari Zone Gate today (A Friday) to purchase Vitamins for half-price from the lady who sold them on Fridays. When I was done buying the Vitamins I needed, I attempted to buy some Zinc for later use, but the game crashed on me. Buying the maximum amount crashes the game, but buying anything lower than what's in-stock has the game working just fine. Buying any other Vitamin for any amount works just fine as well.

What I expected to happen:
Purchase Zinc from the lady at the Safari Zone who changed inventory every day.

What actually happened:
My game crashed when I bought all the Zinc available in-stock

Steps to reproduce:
1. Go to the lady near the Pokemon Center inside the Safari Zone Gate on a Friday
2. Assuming she has Zinc in-stock, buy the maximum amount available.
3. The game crashes

Code:
---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4
  Client  4.7.02556
  Full  4.7.02556
v4.0
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error information:

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
InnerException: NOTHING
BaseException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‌‬‌‪‎‬‎‮‍‎‭‭‫‭‪‏‪‮‮‪‎‭‪‮()
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‮‬‮‮‌‪‎‌‌‎‌‬‏‮‭‫‭‎‌‏‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‎‍‭‪‮‮‮‫‫‪‏‪‮‎‮‬‬‫‏‫‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮(GameTime )
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at ‎‪‪‌‎‮‪‪‮‮‭‏‎‬‭‬‮‪‮.‫‬‬‏‬‭‭‌‬‬‏‫‪‍‌‮‏‫‬‍‍‪‎‬‎‏‫‬‫‫‍‍‮(String[] )

---------------------------------------------------------------------------------

Enviornment dump:

--------------------------------------------------
Generated Fields:
--------------------------------------------------

Private ‍‫‪‍‬‮‏‌‪‎‫‮‬‍‌‬‎‬‌‮ As ‫‬‭‪‭‭‎‎‬‬‫‮‫‎‍‌‍‫‎‫‍‫‮ = BuyItems
Private ‭‭‌‏‭‬‫‫‬‮‭‭‫‪‍‎‏‮‮‫‮ As ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮ = Medicine
Private ‫‬‮‮‭‪‫‏‏‎‬‭‬‍‌‪‪‮‫‏‬‮ As Int32 = 0
Private ‭‫‍‪‭‪‪‫‏‭‮‏‏‪‌‮‍‪‎‍‎‌‎‭‏‍‮ As Int32 = 0
Private ‌‮‫‏‬‪‪‍‬‫‬‎‍‏‌‏‫‮ As Int32 = 5
Private ‮‪‬‍‍‭‪‭‮‌‏‬‌‬‏‍‌‭‬‏‪‪‮ As Int32 = 0
Private ‏‭‎‪‫‪‫‬‌‏‫‭‮‫‎‌‭‮ As Int32 = 0
Private ‮‎‫‎‫‫‬‬‍‏‪‎‏‎‍‎‎‍‭‬‫‮‫‫‭‫‎‫‏‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‬‌‮‌‫‬‍‪‫‭‮‌‫‍‮‪‍‎‌‭‬‌‫‬‮ As Boolean = True
Private ‌‪‌‏‮‮‬‏‪‏‫‎‏‭‎‍‬‏‮ As Boolean = True
Private ‪‎‏‭‬‌‌‏‎‮‭‫‎‍‮‮‮‪‏‍‏‫‪‌‮‮ As ‌‪‫‫‏‏‪‎‌‏‍‍‬‬‎‭‭‫‬‍‫‬‬‮ = Pokédollar
Private ‬‫‪‭‍‬‎‪‬‏‫‎‏‍‭‏‌‍‌‬‌‫‏‮‮ As Texture2D = {Name = "", Width = 128, Height = 128}
Private ‪‍‫‎‎‬‍‮‌‌‏‬‭‭‮‬‫‪‭‍‬‌‮‏‍‌‫‮ As Int32 = 15
Private ‏‏‎‌‮‫‫‪‍‬‮‮‬‬‫‬‎‏‌‏‭‪‭‌‬‎‮ As String = Buy Medicine
Private ‮‪‏‪‪‫‎‬‬‏‫‭‪‌‍‬‪‫‍‭‍‏‌‫‎‏‮ As List(Of String) = {Buy, Sell, Exit}
Private ‎‏‮‍‍‬‏‏‬‬‏‮‮‍‫‮‮‭‫‫‍‬‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {Medicine}
Private ‬‭‭‮‬‬‍‭‮‎‪‫‭‪‮‮‎‪‫‫‎‬‍‬‮ As Single = 3.325029
Private ‭‬‍‫‮‫‬‪‭‬‌‫‍‭‪‌‬‎‬‬‮ As Single = 179.5
Private ‪‍‎‮‭‬‮‮‬‫‌‭‮‬‍‮‌‏‍‏‎‍‪‍‎‪‮ As Boolean = True
Private ‍‎‎‬‭‎‮‫‮‌‫‎‪‬‮‫‌‌‪‮‎‌‫‏‎‎‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‌‮‬‬‬‮‮‮‮‬‬‭‍‎‫‮‪‌‮‮ As Int32 = 3
Private ‮‍‮‎‫‭‌‪‏‫‪‭‫‫‬‏‎‪‮‬‮ As Boolean = False
Private ‭‏‭‍‍‏‌‭‭‌‍‪‫‬‏‎‭‍‫‪‬‪‭‮‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {}
Private ‮‎‍‫‭‪‪‮‎‌‬‮‏‭‏‫‪‮‪‪‭‍‮‮‬‮‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {}
Private ‌‮‬‏‫‪‍‬‍‭‌‌‬‬‭‪‪‍‭‏‏‮ As Int32 = 1
Private ‏‌‌‪‫‏‎‬‮‮‮‎‍‪‍‪‎‍‫‍‬‮‌‬‫‭‮ As Boolean = False
Private ‌‬‮‌‭‮‎‬‭‍‬‎‬‎‬‪‪‪‪‏‎‫‮‭‭‪‏‍‫‌‮ As Int32 = 0
Public ‎‪‎‎‎‌‌‬‬‎‮‪‮‏‍‬‎‮‮ As Boolean = False
Public ‪‌‬‪‎‌‮‫‏‍‪‮‭‬‪‫‍‏‮‮ As Boolean = False

--------------------------------------------------
Generated Property:
--------------------------------------------------

Property ‌‏‬‏‎‎‭‍‍‪‭‬‬‎‎‪‌‬‏‮ As Int32 = 0
Property ‎‬‮‫‍‍‪‫‌‬‌‮‫‬‮‫‮‌‪‪‫‮ As Int32 = 5
Property ‭‮‪‏‌‬‎‬‍‎‌‫‮‮‍‌‬‫‪‪‭‌‭‍‮‮ As ‎‎‎‏‌‌‌‮‍‎‏‫‬‭‌‎‫‏‍‬‮‌‎‎‮‮ = ‮‪‏‌‎‌‮‪‫‮‎‪‌‮‏‫‪‮‬‪‪‪‪‮
Property ‫‭‮‬‎‍‪‪‫‬‌‭‮‏‍‏‌‮‪‪‌‌‬‮ As ‎‏‬‫‌‌‍‭‍‮‎‎‏‌‌‮‏‭‬‫‮‬‫‏‮‮ = MainMenuScreen
Property ‍‏‫‏‎‏‮‫‍‮‬‫‮‍‍‏‎‏‭‭‪‫‎‮‌‮ As Boolean = True
Property ‭‫‏‎‫‪‮‌‪‮‎‫‏‮‭‍‭‪‮‮‍‬‮‎‪‭‮ As Boolean = True
Property ‌‫‮‎‬‍‍‪‎‎‮‎‪‬‫‏‏‮‮ As Boolean = True
Property ‭‪‍‬‍‎‎‬‎‮‪‍‍‎‌‫‍‮ As Boolean = True
Property ‍‏‫‏‍‫‎‪‫‎‏‏‪‮‎‎‎‪‭‌‬‫‮ As Boolean = True
Property ‌‪‍‬‬‪‫‮‬‭‫‮‪‫‭‌‬‬‬‍‏‭‏‮ As Boolean = True
Property ‍‬‫‭‬‭‌‫‬‍‭‪‭‍‫‏‎‮ As Boolean = True

---------------------------------------------------------------------------------
This does not appear to be the full crash log, please include every part of the generated crash log file in your report.
 

SonioExpert46

Pokémon Ranger
Whoops my mistake.

Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// HλLF-LIFE 2 confirmed

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.54.2 (93)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (54693)
Playing on Servers: FALSE
Game Environment: MainMenuScreen
Actionscript: No script running
File Validation: True
Sandboxmode: False

---------------------------------------------------------------------------------

Screen state for the current screen (MainMenuScreen)

Screen state not implemented for screen class: MainMenuScreen

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 10 Home [6.2.9200.0]
Core architecture: 64 Bit
System time: 2/23/2018 9:34:03 AM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.89 Gigabyte
Available logical processors: 4

---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4 
  Client  4.7.02556
  Full  4.7.02556
v4.0 
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error information:

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
InnerException: NOTHING
BaseException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‌‬‌‪‎‬‎‮‍‎‭‭‫‭‪‏‪‮‮‪‎‭‪‮()
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‮‬‮‮‌‪‎‌‌‎‌‬‏‮‭‫‭‎‌‏‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‎‍‭‪‮‮‮‫‫‪‏‪‮‎‮‬‬‫‏‫‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮(GameTime )
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at ‎‪‪‌‎‮‪‪‮‮‭‏‎‬‭‬‮‪‮.‫‬‬‏‬‭‭‌‬‬‏‫‪‍‌‮‏‫‬‍‍‪‎‬‎‏‫‬‫‫‍‍‮(String[] )

---------------------------------------------------------------------------------

Enviornment dump:

--------------------------------------------------
Generated Fields:
--------------------------------------------------

Private ‍‫‪‍‬‮‏‌‪‎‫‮‬‍‌‬‎‬‌‮ As ‫‬‭‪‭‭‎‎‬‬‫‮‫‎‍‌‍‫‎‫‍‫‮ = BuyItems
Private ‭‭‌‏‭‬‫‫‬‮‭‭‫‪‍‎‏‮‮‫‮ As ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮ = Medicine
Private ‫‬‮‮‭‪‫‏‏‎‬‭‬‍‌‪‪‮‫‏‬‮ As Int32 = 0
Private ‭‫‍‪‭‪‪‫‏‭‮‏‏‪‌‮‍‪‎‍‎‌‎‭‏‍‮ As Int32 = 0
Private ‌‮‫‏‬‪‪‍‬‫‬‎‍‏‌‏‫‮ As Int32 = 5
Private ‮‪‬‍‍‭‪‭‮‌‏‬‌‬‏‍‌‭‬‏‪‪‮ As Int32 = 0
Private ‏‭‎‪‫‪‫‬‌‏‫‭‮‫‎‌‭‮ As Int32 = 0
Private ‮‎‫‎‫‫‬‬‍‏‪‎‏‎‍‎‎‍‭‬‫‮‫‫‭‫‎‫‏‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‬‌‮‌‫‬‍‪‫‭‮‌‫‍‮‪‍‎‌‭‬‌‫‬‮ As Boolean = True
Private ‌‪‌‏‮‮‬‏‪‏‫‎‏‭‎‍‬‏‮ As Boolean = True
Private ‪‎‏‭‬‌‌‏‎‮‭‫‎‍‮‮‮‪‏‍‏‫‪‌‮‮ As ‌‪‫‫‏‏‪‎‌‏‍‍‬‬‎‭‭‫‬‍‫‬‬‮ = Pokédollar
Private ‬‫‪‭‍‬‎‪‬‏‫‎‏‍‭‏‌‍‌‬‌‫‏‮‮ As Texture2D = {Name = "", Width = 128, Height = 128}
Private ‪‍‫‎‎‬‍‮‌‌‏‬‭‭‮‬‫‪‭‍‬‌‮‏‍‌‫‮ As Int32 = 15
Private ‏‏‎‌‮‫‫‪‍‬‮‮‬‬‫‬‎‏‌‏‭‪‭‌‬‎‮ As String = Buy Medicine
Private ‮‪‏‪‪‫‎‬‬‏‫‭‪‌‍‬‪‫‍‭‍‏‌‫‎‏‮ As List(Of String) = {Buy, Sell, Exit}
Private ‎‏‮‍‍‬‏‏‬‬‏‮‮‍‫‮‮‭‫‫‍‬‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {Medicine}
Private ‬‭‭‮‬‬‍‭‮‎‪‫‭‪‮‮‎‪‫‫‎‬‍‬‮ As Single = 3.325029
Private ‭‬‍‫‮‫‬‪‭‬‌‫‍‭‪‌‬‎‬‬‮ As Single = 179.5
Private ‪‍‎‮‭‬‮‮‬‫‌‭‮‬‍‮‌‏‍‏‎‍‪‍‎‪‮ As Boolean = True
Private ‍‎‎‬‭‎‮‫‮‌‫‎‪‬‮‫‌‌‪‮‎‌‫‏‎‎‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‌‮‬‬‬‮‮‮‮‬‬‭‍‎‫‮‪‌‮‮ As Int32 = 3
Private ‮‍‮‎‫‭‌‪‏‫‪‭‫‫‬‏‎‪‮‬‮ As Boolean = False
Private ‭‏‭‍‍‏‌‭‭‌‍‪‫‬‏‎‭‍‫‪‬‪‭‮‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {}
Private ‮‎‍‫‭‪‪‮‎‌‬‮‏‭‏‫‪‮‪‪‭‍‮‮‬‮‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {}
Private ‌‮‬‏‫‪‍‬‍‭‌‌‬‬‭‪‪‍‭‏‏‮ As Int32 = 1
Private ‏‌‌‪‫‏‎‬‮‮‮‎‍‪‍‪‎‍‫‍‬‮‌‬‫‭‮ As Boolean = False
Private ‌‬‮‌‭‮‎‬‭‍‬‎‬‎‬‪‪‪‪‏‎‫‮‭‭‪‏‍‫‌‮ As Int32 = 0
Public ‎‪‎‎‎‌‌‬‬‎‮‪‮‏‍‬‎‮‮ As Boolean = False
Public ‪‌‬‪‎‌‮‫‏‍‪‮‭‬‪‫‍‏‮‮ As Boolean = False

--------------------------------------------------
Generated Property:
--------------------------------------------------

Property ‌‏‬‏‎‎‭‍‍‪‭‬‬‎‎‪‌‬‏‮ As Int32 = 0
Property ‎‬‮‫‍‍‪‫‌‬‌‮‫‬‮‫‮‌‪‪‫‮ As Int32 = 5
Property ‭‮‪‏‌‬‎‬‍‎‌‫‮‮‍‌‬‫‪‪‭‌‭‍‮‮ As ‎‎‎‏‌‌‌‮‍‎‏‫‬‭‌‎‫‏‍‬‮‌‎‎‮‮ = ‮‪‏‌‎‌‮‪‫‮‎‪‌‮‏‫‪‮‬‪‪‪‪‮
Property ‫‭‮‬‎‍‪‪‫‬‌‭‮‏‍‏‌‮‪‪‌‌‬‮ As ‎‏‬‫‌‌‍‭‍‮‎‎‏‌‌‮‏‭‬‫‮‬‫‏‮‮ = MainMenuScreen
Property ‍‏‫‏‎‏‮‫‍‮‬‫‮‍‍‏‎‏‭‭‪‫‎‮‌‮ As Boolean = True
Property ‭‫‏‎‫‪‮‌‪‮‎‫‏‮‭‍‭‪‮‮‍‬‮‎‪‭‮ As Boolean = True
Property ‌‫‮‎‬‍‍‪‎‎‮‎‪‬‫‏‏‮‮ As Boolean = True
Property ‭‪‍‬‍‎‎‬‎‮‪‍‍‎‌‫‍‮ As Boolean = True
Property ‍‏‫‏‍‫‎‪‫‎‏‏‪‮‎‎‎‪‭‌‬‫‮ As Boolean = True
Property ‌‪‍‬‬‪‫‮‬‭‫‮‪‫‭‌‬‬‬‍‏‭‏‮ As Boolean = True
Property ‍‬‫‭‬‭‌‫‬‍‭‪‭‍‫‏‎‮ As Boolean = True

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Whoops my mistake.

Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// HλLF-LIFE 2 confirmed

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.54.2 (93)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (54693)
Playing on Servers: FALSE
Game Environment: MainMenuScreen
Actionscript: No script running
File Validation: True
Sandboxmode: False

---------------------------------------------------------------------------------

Screen state for the current screen (MainMenuScreen)

Screen state not implemented for screen class: MainMenuScreen

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 10 Home [6.2.9200.0]
Core architecture: 64 Bit
System time: 2/23/2018 9:34:03 AM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.89 Gigabyte
Available logical processors: 4

---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4
  Client  4.7.02556
  Full  4.7.02556
v4.0
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error information:

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
InnerException: NOTHING
BaseException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‌‬‌‪‎‬‎‮‍‎‭‭‫‭‪‏‪‮‮‪‎‭‪‮()
   at ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‮‬‮‮‌‪‎‌‌‎‌‬‏‮‭‫‭‎‌‏‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮()
   at ‎‍‭‪‮‮‮‫‫‪‏‪‮‎‮‬‬‫‏‫‮.‫‌‮‬‌‫‪‍‌‍‬‌‌‭‍‍‏‭‪‮(GameTime )
   at Microsoft.Xna.Framework.Game.DoDraw(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at ‎‪‪‌‎‮‪‪‮‮‭‏‎‬‭‬‮‪‮.‫‬‬‏‬‭‭‌‬‬‏‫‪‍‌‮‏‫‬‍‍‪‎‬‎‏‫‬‫‫‍‍‮(String[] )

---------------------------------------------------------------------------------

Enviornment dump:

--------------------------------------------------
Generated Fields:
--------------------------------------------------

Private ‍‫‪‍‬‮‏‌‪‎‫‮‬‍‌‬‎‬‌‮ As ‫‬‭‪‭‭‎‎‬‬‫‮‫‎‍‌‍‫‎‫‍‫‮ = BuyItems
Private ‭‭‌‏‭‬‫‫‬‮‭‭‫‪‍‎‏‮‮‫‮ As ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮ = Medicine
Private ‫‬‮‮‭‪‫‏‏‎‬‭‬‍‌‪‪‮‫‏‬‮ As Int32 = 0
Private ‭‫‍‪‭‪‪‫‏‭‮‏‏‪‌‮‍‪‎‍‎‌‎‭‏‍‮ As Int32 = 0
Private ‌‮‫‏‬‪‪‍‬‫‬‎‍‏‌‏‫‮ As Int32 = 5
Private ‮‪‬‍‍‭‪‭‮‌‏‬‌‬‏‍‌‭‬‏‪‪‮ As Int32 = 0
Private ‏‭‎‪‫‪‫‬‌‏‫‭‮‫‎‌‭‮ As Int32 = 0
Private ‮‎‫‎‫‫‬‬‍‏‪‎‏‎‍‎‎‍‭‬‫‮‫‫‭‫‎‫‏‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‬‌‮‌‫‬‍‪‫‭‮‌‫‍‮‪‍‎‌‭‬‌‫‬‮ As Boolean = True
Private ‌‪‌‏‮‮‬‏‪‏‫‎‏‭‎‍‬‏‮ As Boolean = True
Private ‪‎‏‭‬‌‌‏‎‮‭‫‎‍‮‮‮‪‏‍‏‫‪‌‮‮ As ‌‪‫‫‏‏‪‎‌‏‍‍‬‬‎‭‭‫‬‍‫‬‬‮ = Pokédollar
Private ‬‫‪‭‍‬‎‪‬‏‫‎‏‍‭‏‌‍‌‬‌‫‏‮‮ As Texture2D = {Name = "", Width = 128, Height = 128}
Private ‪‍‫‎‎‬‍‮‌‌‏‬‭‭‮‬‫‪‭‍‬‌‮‏‍‌‫‮ As Int32 = 15
Private ‏‏‎‌‮‫‫‪‍‬‮‮‬‬‫‬‎‏‌‏‭‪‭‌‬‎‮ As String = Buy Medicine
Private ‮‪‏‪‪‫‎‬‬‏‫‭‪‌‍‬‪‫‍‭‍‏‌‫‎‏‮ As List(Of String) = {Buy, Sell, Exit}
Private ‎‏‮‍‍‬‏‏‬‬‏‮‮‍‫‮‮‭‫‫‍‬‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {Medicine}
Private ‬‭‭‮‬‬‍‭‮‎‪‫‭‪‮‮‎‪‫‫‎‬‍‬‮ As Single = 3.325029
Private ‭‬‍‫‮‫‬‪‭‬‌‫‍‭‪‌‬‎‬‬‮ As Single = 179.5
Private ‪‍‎‮‭‬‮‮‬‫‌‭‮‬‍‮‌‏‍‏‎‍‪‍‎‪‮ As Boolean = True
Private ‍‎‎‬‭‎‮‫‮‌‫‎‪‬‮‫‌‌‪‮‎‌‫‏‎‎‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮, ‍‮‪‭‏‫‌‍‌‮‏‭‮‪‮‍‫‬‮+‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮}
Private ‌‮‬‬‬‮‮‮‮‬‬‭‍‎‫‮‪‌‮‮ As Int32 = 3
Private ‮‍‮‎‫‭‌‪‏‫‪‭‫‫‬‏‎‪‮‬‮ As Boolean = False
Private ‭‏‭‍‍‏‌‭‭‌‍‪‫‬‏‎‭‍‫‪‬‪‭‮‮ As List(Of ‏‭‭‏‭‪‌‬‮‮‬‍‏‮‏‬‏‪‫‬‮) = {}
Private ‮‎‍‫‭‪‪‮‎‌‬‮‏‭‏‫‪‮‪‪‭‍‮‮‬‮‮ As List(Of ‌‎‮‎‏‭‎‭‭‌‮‭‎‏‍‭‍‮) = {}
Private ‌‮‬‏‫‪‍‬‍‭‌‌‬‬‭‪‪‍‭‏‏‮ As Int32 = 1
Private ‏‌‌‪‫‏‎‬‮‮‮‎‍‪‍‪‎‍‫‍‬‮‌‬‫‭‮ As Boolean = False
Private ‌‬‮‌‭‮‎‬‭‍‬‎‬‎‬‪‪‪‪‏‎‫‮‭‭‪‏‍‫‌‮ As Int32 = 0
Public ‎‪‎‎‎‌‌‬‬‎‮‪‮‏‍‬‎‮‮ As Boolean = False
Public ‪‌‬‪‎‌‮‫‏‍‪‮‭‬‪‫‍‏‮‮ As Boolean = False

--------------------------------------------------
Generated Property:
--------------------------------------------------

Property ‌‏‬‏‎‎‭‍‍‪‭‬‬‎‎‪‌‬‏‮ As Int32 = 0
Property ‎‬‮‫‍‍‪‫‌‬‌‮‫‬‮‫‮‌‪‪‫‮ As Int32 = 5
Property ‭‮‪‏‌‬‎‬‍‎‌‫‮‮‍‌‬‫‪‪‭‌‭‍‮‮ As ‎‎‎‏‌‌‌‮‍‎‏‫‬‭‌‎‫‏‍‬‮‌‎‎‮‮ = ‮‪‏‌‎‌‮‪‫‮‎‪‌‮‏‫‪‮‬‪‪‪‪‮
Property ‫‭‮‬‎‍‪‪‫‬‌‭‮‏‍‏‌‮‪‪‌‌‬‮ As ‎‏‬‫‌‌‍‭‍‮‎‎‏‌‌‮‏‭‬‫‮‬‫‏‮‮ = MainMenuScreen
Property ‍‏‫‏‎‏‮‫‍‮‬‫‮‍‍‏‎‏‭‭‪‫‎‮‌‮ As Boolean = True
Property ‭‫‏‎‫‪‮‌‪‮‎‫‏‮‭‍‭‪‮‮‍‬‮‎‪‭‮ As Boolean = True
Property ‌‫‮‎‬‍‍‪‎‎‮‎‪‬‫‏‏‮‮ As Boolean = True
Property ‭‪‍‬‍‎‎‬‎‮‪‍‍‎‌‫‍‮ As Boolean = True
Property ‍‏‫‏‍‫‎‪‫‎‏‏‪‮‎‎‎‪‭‌‬‫‮ As Boolean = True
Property ‌‪‍‬‬‪‫‮‬‭‫‮‪‫‭‌‬‬‬‍‏‭‏‮ As Boolean = True
Property ‍‬‫‭‬‭‌‫‬‍‭‪‭‍‫‏‎‮ As Boolean = True

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
Confirmed. Only happens when Zinc is available in a limited quantity and all of it is purchased. I'm willing to bet this happens with any item in the last position that happens to have limited stock.

Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// GET TO DA CHOPPA

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.54.2 (93)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game Environment: MainMenuScreen
Actionscript: No script running
File Validation: False
Sandboxmode: True

---------------------------------------------------------------------------------

Screen state for the current screen (MainMenuScreen)

Screen state not implemented for screen class: MainMenuScreen

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 10 Pro [6.2.9200.0]
Core architecture: 64 Bit
System time: 02/23/2018 1:30:29 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.82 Gigabyte
Available logical processors: 8

---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4 
  Client  4.7.02556
  Full  4.7.02556
v4.0 
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "NVIDIA Quadro M1000M; Intel(R) HD Graphics 530"]
[CardRAM(s) : "2147483648; 1073741824"]

---------------------------------------------------------------------------------

Error information:

Message: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
InnerException: NOTHING
BaseException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at System.ThrowHelper.ThrowArgumentOutOfRangeException(ExceptionArgument argument, ExceptionResource resource)
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at net.Pokemon3D.Game.TradeScreen.UpdateBuyItems()
   at net.Pokemon3D.Game.TradeScreen.Update()
   at net.Pokemon3D.Game.Core.Update(GameTime gameTime)
   at net.Pokemon3D.Game.GameController.Update(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at net.Pokemon3D.Game.Program.Main(String[] args)

---------------------------------------------------------------------------------

Enviornment dump:

--------------------------------------------------
Generated Fields:
--------------------------------------------------

Private MenuState As MenuStates = BuyItems
Private CurrentCategory As ItemTypes = Medicine
Private MainCursor As Int32 = 0
Private CategoryCursor As Int32 = 0
Private BuySellCursor As Int32 = 5
Private BuySellScroll As Int32 = 0
Private CategoryScroll As Int32 = 0
Private TradeItems As List(Of TradeItem) = {net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem}
Private CanBuyItems As Boolean = True
Private CanSellItems As Boolean = True
Private Currency As Currencies = Pokédollar
Private texture As Texture2D = {Name = "", Width = 128, Height = 128}
Private TileOffset As Int32 = 36
Private Title As String = Buy Medicine
Private mainMenuButtons As List(Of String) = {Buy, Sell, Exit}
Private loadedBuyCategories As List(Of ItemTypes) = {Medicine}
Private BuySellSparkleRotation As Single = 1.909998
Private BuySellItemSize As Single = 191
Private BuySellItemShrinking As Boolean = False
Private BuyItemsList As List(Of TradeItem) = {net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem, net.Pokemon3D.Game.TradeScreen+TradeItem}
Private BuyItemsAmount As Int32 = 4
Private BuyItemsShowDescription As Boolean = False
Private loadedSellCategories As List(Of ItemTypes) = {}
Private SellItemsList As List(Of TradeItem) = {}
Private SellItemsAmount As Int32 = 1
Private SellItemsShowDescription As Boolean = False
Private sellItemsConfirmationCursor As Int32 = 0
Public UpdateFadeOut As Boolean = False
Public UpdateFadeIn As Boolean = False

--------------------------------------------------
Generated Property:
--------------------------------------------------

Property Scroll As Int32 = 0
Property Cursor As Int32 = 5
Property PreScreen As Screen = net.Pokemon3D.Game.OverworldScreen
Property Identification As Identifications = MainMenuScreen
Property MouseVisible As Boolean = True
Property CanBePaused As Boolean = True
Property CanMuteMusic As Boolean = True
Property CanChat As Boolean = True
Property CanTakeScreenshot As Boolean = True
Property CanDrawDebug As Boolean = True
Property CanGoFullscreen As Boolean = True

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
 
Top