• ✨ 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.40] Mystery Event crash dismissing "no events available"

like2omg

Trainer
Giving some info on what has recently happened in my game. Please pardon me if this is a duplicate as I searched the forum shortly before starting to compose this message.
Updated to 0.40 just today and played with my online character (local server, as I guess that is the way to use online characters w/o an actual server). Went from Route 32's Pokemon Center, through Union Cave (battling a few trainers that I haven't), fought the trainer on Route 33, cleaned up Team Rocket in Azalea Town and 100% the local gym (have not battled rival in town yet).
Now in Azalea Town's Pokemon Center, when I talk to the guy behind the blue desk (the one with the wi-fi symbol)... I'll type the text.
- "Do you want to view the Mystery Events?" I select "Yes"
- Blue background gradient with text:
Mystery Event

There are no Mystery Events available
at the moment. Please try again later.
- I press ENTER (well, the button on my Logitech controller that is mapped to ENTER via. Logitech Profiler as the gamepad is not naitively supported), the game window goes away and crashes with an "Index was out of range" error. Mystery Event music stops shortly after I dismiss the "Pokemon3D crashed!" dialog.
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 7 Ultimate  [6.1.7600.0]
System time: 12/14/2013 6:44:40 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (109872)
Game environment: MysteryEventScreen
Actionscript: No script running
---------------------------

Here is further 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: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: ThrowArgumentOutOfRangeException [
  Attributes: PrivateScope, Assembly, Static, HideBySig
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: System.ThrowHelper
  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: False
  IsSecuritySafeCritical: False
  IsSecurityTransparent: True
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663885
  MethodHandle: System.RuntimeMethodHandle
  Module: CommonLanguageRuntimeLibrary
  ReflectedType: System.ThrowHelper
  ]

StackTrace:    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
  at System.Collections.Generic.List`1.get_Item(Int32 index)
  at _2._5DHero.MysteryEventScreen.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.
If you need some screenshots, I'd need a place to upload them to and I don't have a clue where.
EDIT 1: Added quote module to text.
EDIT 2: I can successfully repeat this (after crash, game left off where I saved it) ; Added post EDITs info
 

Ziero

Trainer
Just wanting to help confirm this bug, it also happens to me on multiple attempts.

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

System specifications:
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
System time: 12/18/2013 3:49:37 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (116889)
Game environment: MysteryEventScreen
Actionscript: No script running
---------------------------

Here is further 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: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: ThrowArgumentOutOfRangeException [
   Attributes: PrivateScope, Assembly, Static, HideBySig
   CallingConvention: Standard
   ContainsGenericParameters: False
   DeclaringType: System.ThrowHelper
   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: False
   IsSecuritySafeCritical: False
   IsSecurityTransparent: True
   IsSpecialName: False
   IsStatic: True
   IsVirtual: False
   MemberType: Method
   MetadataToken: 100663885
   MethodHandle: System.RuntimeMethodHandle
   Module: CommonLanguageRuntimeLibrary
   ReflectedType: System.ThrowHelper
   ]

StackTrace:    at System.ThrowHelper.ThrowArgumentOutOfRangeException()
   at System.Collections.Generic.List`1.get_Item(Int32 index)
   at _2._5DHero.MysteryEventScreen.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.
 
Top