• ✨ 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 another pokedex bug

Status
Not open for further replies.

Liamash3

Dragon Tamer
Donator
This time the locations 'dex crashed after I tried to go beyond route 41's pokemon.
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.32.1
Operating system: Microsoft Windows 7 Home Premium [6.1.7601.65536]
Decimal seperator: .
---------------------------

Here is further information:
Message: Index and count must refer to a location within the string.
Parameter name: count
InnerException: NOTHING
BaseException: Index and count must refer to a location within the string.
Parameter name: count
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: RemoveInternal [
Attributes: PrivateScope, Private, HideBySig
CallingConvention: Standard, HasThis
ContainsGenericParameters: False
DeclaringType: System.String
IsAbstract: False
IsAssembly: False
IsConstructor: False
IsFamily: False
IsFamilyAndAssembly: False
IsFamilyOrAssembly: False
IsFinal: False
IsGenericMethod: False
IsGenericMethodDefinition: False
IsHideBySig: True
IsPrivate: True
IsPublic: False
IsSecurityCritical: True
IsSecuritySafeCritical: False
IsSecurityTransparent: False
IsSpecialName: False
IsStatic: False
IsVirtual: False
MemberType: Method
MetadataToken: 100664143
MethodHandle: System.RuntimeMethodHandle
Module: CommonLanguageRuntimeLibrary
ReflectedType: System.String
]

StackTrace: at System.String.RemoveInternal(Int32 startIndex, Int32 count)
at System.String.Remove(Int32 startIndex, Int32 count)
at _2._5DHero.PokedexScreen.InitializeHabitat()
at _2._5DHero.PokedexScreen.UpdateHabitat()
at _2._5DHero.PokedexScreen.Update()
at _2._5DHero.Basic.Update(GameTime gameTime)
at _2._5DHero.DGame.Update(GameTime gameTime)
at Microsoft.Xna.Framework.Game.Tick()
at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
at Microsoft.Xna.Framework.GameHost.OnIdle()
at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.Run(Form mainForm)
at Microsoft.Xna.Framework.WindowsGameHost.Run()
at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
at Microsoft.Xna.Framework.Game.Run()
at _2._5DHero.Program.Main(String[] args)

You should report this error.

Go to "http://pokemon3d.net/issues/" to report this crash there.
This doesn't seem to refer to any misplaced files, so I don't think there's an easy fix like last time...
EDIT:
It's for 0.32.1 BTW
 

nick2412

Pokémon Ranger
Got this same bug too.

Code:
Pokémon 3D has crashed!
---------------------------
 
System specifications:
Pokémon 3D version: 0.32.1
Operating system: Microsoft Windows 7 Ultimate  [6.1.7601.65536]
Decimal seperator: .
---------------------------
 
Here is further information:
Message: Index and count must refer to a location within the string.
Parameter name: count
InnerException: NOTHING
BaseException: Index and count must refer to a location within the string.
Parameter name: count
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: RemoveInternal [
  Attributes: PrivateScope, Private, HideBySig
  CallingConvention: Standard, HasThis
  ContainsGenericParameters: False
  DeclaringType: System.String
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: True
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: False
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100664171
  MethodHandle: System.RuntimeMethodHandle
  Module: CommonLanguageRuntimeLibrary
  ReflectedType: System.String
  ]
 
StackTrace:    at System.String.RemoveInternal(Int32 startIndex, Int32 count)
  at System.String.Remove(Int32 startIndex, Int32 count)
  at _2._5DHero.PokedexScreen.InitializeHabitat()
  at _2._5DHero.PokedexScreen.UpdateHabitat()
  at _2._5DHero.PokedexScreen.Update()
  at _2._5DHero.Basic.Update(GameTime gameTime)
  at _2._5DHero.DGame.Update(GameTime gameTime)
  at Microsoft.Xna.Framework.Game.Tick()
  at Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  at Microsoft.Xna.Framework.GameHost.OnIdle()
  at Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  at Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  at System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  at System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  at System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  at System.Windows.Forms.Application.Run(Form mainForm)
  at Microsoft.Xna.Framework.WindowsGameHost.Run()
  at Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  at Microsoft.Xna.Framework.Game.Run()
  at _2._5DHero.Program.Main(String[] args)
 
You should report this error.
 
Go to "http://pokemon3d.net/issues/" to report this crash there.
 
Status
Not open for further replies.
Top