• ✨ 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

Not a bug GTS scrolling

Leahkim

Dragon Tamer
I was scrolling through the pokemon-selection screen in the GTS and my game crashed:
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.41.1
Operating system: Microsoft Windows 8.1 [6.2.9200.0]
System time: 12/30/2013 12:52:21 AM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (119802)
Game environment: GTSSelectPokemonScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: The rectangle is too large or too small for this resource.
Parameter name: rect
InnerException: NOTHING
BaseException: The rectangle is too large or too small for this resource.
Parameter name: rect
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.Xna.Framework.Graphics
TargetSite: Name: GetAndValidateRect [
  Attributes: PrivateScope, Assembly, Static, HideBySig
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: Microsoft.Xna.Framework.Graphics.Texture
  IsAbstract: False
  IsAssembly: True
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: False
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663826
  MethodHandle: System.RuntimeMethodHandle
  Module: Microsoft.Xna.Framework.Graphics.dll
  ReflectedType: Microsoft.Xna.Framework.Graphics.Texture
  ]

StackTrace:    at Microsoft.Xna.Framework.Graphics.Texture.GetAndValidateRect(_D3DSURFACE_DESC* __unnamed000, UInt32* pdwLockWidth, UInt32* pdwLockHeight, Nullable`1 rect)
  at Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
  at Microsoft.Xna.Framework.Graphics.Texture2D.GetData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount)
  at _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  at _2._5DHero.Textures.GetTexture(String Name, Rectangle r, String TexturePath)
  at _2._5DHero.Pokemon.GetTexture(Int32 index)
  at _2._5DHero.Pokemon.GetMiniImage()
  at _2._5DHero.GameJolt.GTSSearchScreen.SelectPokemonScreen.GetPokemon()
  at _2._5DHero.GameJolt.GTSSearchScreen.SelectPokemonScreen.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/forums/6/create-thread/" to report this crash there.
 

nilllzz

Original Developer
Administrator
P3D Developer
Is this reproduceable?
Can you tell me the page it crashed on?
 

nilllzz

Original Developer
Administrator
P3D Developer
Is this reproduceable?
Can you tell me the page it crashed on?
Yeah, it probably is.
And it happened near the bottom; probably around the 500's area.
Maybe your scrolling speed was...OVER 9,000!!! :p
It often is. Perhaps scrolling too fast caused the crash?
What does "probably" mean? I'd like you to test it...because I tested it and it doesn't crash for me. And the exact page would be cool. I might have fixed it for the current version and that's why its not crashing for me. I still want to be sure.
 

Leahkim

Dragon Tamer
Yeah, it probably is.
And it happened near the bottom; probably around the 500's area.
It often is. Perhaps scrolling too fast caused the crash?
What does "probably" mean? I'd like you to test it...because I tested it and it doesn't crash for me. And the exact page would be cool. I might have fixed it for the current version and that's why its not crashing for me. I still want to be sure.
Ay, no. So, it happened again (twice, actually). Both times, it crashed when I tried to advance past the page that starts with litwick (607)..
 

nilllzz

Original Developer
Administrator
P3D Developer
There's no page afterwards. Did you add any additional pokemon data files to the Content folder?
 

Leahkim

Dragon Tamer
*cough*
It's certainly not a misplaced file from my GameMode....haha
but removing that file fixed it. So kind of my fault :p
 
Top