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

0.42 Random Crash while using own Sprite

Dratini

Pokémon Ranger
Im testing my own Sprite in online, and sometimes its get random crashes (when i hit object)
Mods i use:
- Daziman's HD music pack (active)
-Kira Por's grafik (disabled duo to outdate)

Code:
Kolben Games Crash Log V 1.1
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.42
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 18/01/2014 14:28:57
System language: ENG / Loaded language: en
Decimal seperator: .
Content Packs: {DEHDMP}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (36088)
Playing on Servers: FALSE
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
InnerException: NOTHING
BaseException: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
HelpLink: No helplink available.
Data: Items: 0
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
  ]

CallStack:  w Microsoft.Xna.Framework.Graphics.Texture.GetAndValidateRect(_D3DSURFACE_DESC* __unnamed000, UInt32* pdwLockWidth, UInt32* pdwLockHeight, Nullable`1 rect)
  w Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
  w Microsoft.Xna.Framework.Graphics.Texture2D.GetData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount)
  w _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  w _2._5DHero.OwnPlayer.ChangeTexture()
  w _2._5DHero.OwnPlayer.UpdateEntity()
  w _2._5DHero.Level.UpdateEntities()
  w _2._5DHero.Level.Update()
  w _2._5DHero.OverworldScreen.Update()
  w _2._5DHero.Basic.Update(GameTime gameTime)
  w _2._5DHero.DGame.Update(GameTime gameTime)
  w Microsoft.Xna.Framework.Game.Tick()
  w Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  w Microsoft.Xna.Framework.GameHost.OnIdle()
  w Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  w Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.Run(Form mainForm)
  w Microsoft.Xna.Framework.WindowsGameHost.Run()
  w Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  w Microsoft.Xna.Framework.Game.Run()
  w _2._5DHero.Program.Main(String[] args)
 

Dratini

Pokémon Ranger
haha its now crashes when i move :D

Code:
Kolben Games Crash Log V 1.1
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.42
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 18/01/2014 15:51:51
System language: ENG / Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (36088)
Playing on Servers: TRUE (JLs 24/7 Pokemon3D Server!/54.201.102.35:15124)
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
InnerException: NOTHING
BaseException: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
HelpLink: No helplink available.
Data: Items: 0
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
  ]

CallStack:  w Microsoft.Xna.Framework.Graphics.Texture.GetAndValidateRect(_D3DSURFACE_DESC* __unnamed000, UInt32* pdwLockWidth, UInt32* pdwLockHeight, Nullable`1 rect)
  w Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
  w Microsoft.Xna.Framework.Graphics.Texture2D.GetData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount)
  w _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  w _2._5DHero.OwnPlayer.ChangeTexture()
  w _2._5DHero.OwnPlayer.UpdateEntity()
  w _2._5DHero.Level.UpdateEntities()
  w _2._5DHero.Level.Update()
  w _2._5DHero.OverworldScreen.Update()
  w _2._5DHero.Basic.Update(GameTime gameTime)
  w _2._5DHero.DGame.Update(GameTime gameTime)
  w Microsoft.Xna.Framework.Game.Tick()
  w Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  w Microsoft.Xna.Framework.GameHost.OnIdle()
  w Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  w Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.Run(Form mainForm)
  w Microsoft.Xna.Framework.WindowsGameHost.Run()
  w Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  w Microsoft.Xna.Framework.Game.Run()
  w _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.
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
haha its now crashes when i move :D

Code:
Kolben Games Crash Log V 1.1
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.42
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 18/01/2014 15:51:51
System language: ENG / Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (36088)
Playing on Servers: TRUE (JLs 24/7 Pokemon3D Server!/54.201.102.35:15124)
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
InnerException: NOTHING
BaseException: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
HelpLink: No helplink available.
Data: Items: 0
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
  ]

CallStack:  w Microsoft.Xna.Framework.Graphics.Texture.GetAndValidateRect(_D3DSURFACE_DESC* __unnamed000, UInt32* pdwLockWidth, UInt32* pdwLockHeight, Nullable`1 rect)
  w Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
  w Microsoft.Xna.Framework.Graphics.Texture2D.GetData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount)
  w _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  w _2._5DHero.OwnPlayer.ChangeTexture()
  w _2._5DHero.OwnPlayer.UpdateEntity()
  w _2._5DHero.Level.UpdateEntities()
  w _2._5DHero.Level.Update()
  w _2._5DHero.OverworldScreen.Update()
  w _2._5DHero.Basic.Update(GameTime gameTime)
  w _2._5DHero.DGame.Update(GameTime gameTime)
  w Microsoft.Xna.Framework.Game.Tick()
  w Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  w Microsoft.Xna.Framework.GameHost.OnIdle()
  w Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  w Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.Run(Form mainForm)
  w Microsoft.Xna.Framework.WindowsGameHost.Run()
  w Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  w Microsoft.Xna.Framework.Game.Run()
  w _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.
I believe this is an issue with the sprite itself. Its dimensions must be incorrect.
 

SViper

Active Member
haha its now crashes when i move :D

Code:
Kolben Games Crash Log V 1.1
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.42
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 18/01/2014 15:51:51
System language: ENG / Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (36088)
Playing on Servers: TRUE (JLs 24/7 Pokemon3D Server!/54.201.102.35:15124)
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
InnerException: NOTHING
BaseException: The rectangle is too large or too small for this resource.
Nazwa parametru: rect
HelpLink: No helplink available.
Data: Items: 0
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
  ]

CallStack:  w Microsoft.Xna.Framework.Graphics.Texture.GetAndValidateRect(_D3DSURFACE_DESC* __unnamed000, UInt32* pdwLockWidth, UInt32* pdwLockHeight, Nullable`1 rect)
  w Microsoft.Xna.Framework.Graphics.Texture2D.CopyData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount, UInt32 options, Boolean isSetting)
  w Microsoft.Xna.Framework.Graphics.Texture2D.GetData[T](Int32 level, Nullable`1 rect, T[] data, Int32 startIndex, Int32 elementCount)
  w _2._5DHero.Textures.TextureRectangle(Texture2D Texture, Rectangle Rectangle, Int32 Factor)
  w _2._5DHero.OwnPlayer.ChangeTexture()
  w _2._5DHero.OwnPlayer.UpdateEntity()
  w _2._5DHero.Level.UpdateEntities()
  w _2._5DHero.Level.Update()
  w _2._5DHero.OverworldScreen.Update()
  w _2._5DHero.Basic.Update(GameTime gameTime)
  w _2._5DHero.DGame.Update(GameTime gameTime)
  w Microsoft.Xna.Framework.Game.Tick()
  w Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  w Microsoft.Xna.Framework.GameHost.OnIdle()
  w Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  w Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  w System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  w System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  w System.Windows.Forms.Application.Run(Form mainForm)
  w Microsoft.Xna.Framework.WindowsGameHost.Run()
  w Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  w Microsoft.Xna.Framework.Game.Run()
  w _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.
I believe this is an issue with the sprite itself. Its dimensions must be incorrect.
For Dratini shows as PNG while for shows as GIF. I suggest for him/her attach that sprite here to make clear is PNG or GIF.
there you go. I guess it will be sprite prob... i learn how to do/make/work it but dunno >_>
Okay, going test it.
 

nilllzz

Original Developer
Administrator
P3D Developer
Sprite works fine for me. Did you add to correct folder your own sprite?
No, it doesn't. You didn't walk to the right in third person or else your game would've crashed.
yeap Pokemon/content/textures/NPC i put it with other users Sprites, its ok destination? xD
The folder is completely fine, just the sprite itself isn't:
It's 96x126, the sprite needs to be in a 3x4 format (so scaled up with 32, it is 96x128).
 
Top