• ✨ 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 0.38 Safari zone crash the moment I caught a Cubchoo

SilverPhoenix

Pokémon Ranger
So it is my first time reporting a bug so I hope I am doing it right.
Code:
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.38
Operating system: Microsoft Windows 7 Ultimate  [6.1.7601.65536]
System time: 10/10/2013 12:34:08 πμ
System language: ELL
Decimal seperator: ,
Content Packs: {DEHDMP}
Active GameMode: Pokemon 3D
Operating online: TRUE (49401)
Game environment: BattleCatchScreen
---------------------------

Here is further information:
Message: Error loading "Sounds\Cries\613". File contains Microsoft.Xna.Framework.Media.Song but trying to load as Microsoft.Xna.Framework.Audio.SoundEffect.
InnerException: NOTHING
BaseException: Error loading "Sounds\Cries\613". File contains Microsoft.Xna.Framework.Media.Song but trying to load as Microsoft.Xna.Framework.Audio.SoundEffect.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.Xna.Framework
TargetSite: Name: InvokeReader [
  Attributes: PrivateScope, Private, HideBySig
  CallingConvention: Standard, HasThis
  ContainsGenericParameters: True
  DeclaringType: Microsoft.Xna.Framework.Content.ContentReader
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: True
  IsGenericMethodDefinition: True
  IsHideBySig: True
  IsPrivate: True
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: False
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100664846
  MethodHandle: System.RuntimeMethodHandle
  Module: Microsoft.Xna.Framework.dll
  ReflectedType: Microsoft.Xna.Framework.Content.ContentReader
  ]

StackTrace:  σε Microsoft.Xna.Framework.Content.ContentReader.InvokeReader[T](ContentTypeReader reader, Object existingInstance)
  σε Microsoft.Xna.Framework.Content.ContentReader.ReadObjectInternal[T](Object existingInstance)
  σε Microsoft.Xna.Framework.Content.ContentReader.ReadObject[T]()
  σε Microsoft.Xna.Framework.Content.ContentReader.ReadAsset[T]()
  σε Microsoft.Xna.Framework.Content.ContentManager.ReadAsset[T](String assetName, Action`1 recordDisposableObject)
  σε Microsoft.Xna.Framework.Content.ContentManager.Load[T](String assetName)
  σε _2._5DHero.SoundManager.AddSound(String Name)
  σε _2._5DHero.SoundManager.PlayPokemonCry(Int32 Number, Single Pitch)
  σε _2._5DHero.Pokemon.PlayCry()
  σε _2._5DHero.PokemonImageView.Show(Pokemon Pokemon, Boolean front)
  σε _2._5DHero.NameObjectScreen..ctor(Screen currentScreen, Pokemon Pokemon)
  σε _2._5DHero.BattleCatchScreen.Update()
  σε _2._5DHero.Basic.Update(GameTime gameTime)
  σε _2._5DHero.DGame.Update(GameTime gameTime)
  σε Microsoft.Xna.Framework.Game.Tick()
  σε Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
  σε Microsoft.Xna.Framework.GameHost.OnIdle()
  σε Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
  σε Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
  σε System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
  σε System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
  σε System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
  σε System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
  σε System.Windows.Forms.Application.Run(Form mainForm)
  σε Microsoft.Xna.Framework.WindowsGameHost.Run()
  σε Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
  σε Microsoft.Xna.Framework.Game.Run()
  σε _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
According to the crash report, the cry file doesn't exist. I wouldn't blame the Content Pack either, because to my knowledge the pack doesn't tamper with cries... Try without the pack anyway.
 

SilverPhoenix

Pokémon Ranger
Yeah I believe that something is wrong with the cry as well cause the crash happened right when I caught the pokemon just before the new pokedex entry and nickname screen appeared where the caught pokemon always cries.
 

SilverPhoenix

Pokémon Ranger
I believe I found how to fix the problem. The same thing happened when I caught a vanillite. So after looking at my files I found something weird. For certain pokemon including the 2 that crashed my game, 2 files exist in the cries folder 1 .xnb and 1 .wma. The game is probably looking for the .xnb but loads the .wma first that s why the crash is happening. I believe that deleting the .wma files will solve the problem. I ll confirm once I find one of the problematic pokemon again :p
261,262,285,286,361,362,363,364,365,415,416,459,460,582,583,584,613,614 are all the files with a .wma duplicate
Here is a screenshoot:
upload_2013-10-10_2-3-16.png
 

Darkfire

Administrator
Administrator
P3D Developer
Was this fixed earlier?
I just woke up in the last hour so i am out of the loop abit :p
 

frozenshado7

Active Member
Was this fixed earlier?
I just woke up in the last hour so i am out of the loop abit :p
nilliz put up a new patch a few hours ago that people need to re download to get to fix the cry problem. Did who ever had this problem not re download the patch?
 
Top