• ✨ 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 - Online] Random crash during Battle Tower Challenge Mode

A-S-Matt

Trainer
So I was playing the update, and I decided to try the Battle Tower's Challenge Mode. At some point during my seventh battle, the game randomly crashed when trying to use an attack. Here's the 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 Basic  [6.1.7601.65536]
System time: 11/12/2013 02:47:08 p.m.
System language: ESS Loaded language: en
Decimal seperator: ,
Content Packs: {HGSS Music Pack}
Active GameMode: Pokemon 3D
Operating online: TRUE (42350)
Game environment: BattleScreenV2
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: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663842
  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.BV2.TrainerAI.ProduceOppStep(List`1 m, Int32 i)
  at _2._5DHero.BV2.TrainerAI.GetAIMove(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleV2.GetOppStep(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleV2.InitializeRound(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleMenuV2.PressButtonMoves(BattleScreenV2 BattleScreen)
  at _2._5DHero.BV2.BattleMenuV2.UpdateMoves(BattleScreenV2 BattleScreen)
  at _2._5DHero.BV2.BattleMenuV2.Update(BattleScreenV2 BattleScreenV2)
  at _2._5DHero.BV2.BattleScreenV2.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.
That was a few hours ago. Just now, I tried it again, this time in the official server, and it happened again, this time during the first battle (fortunately):
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 Basic  [6.1.7601.65536]
System time: 11/12/2013 04:37:14 p.m.
System language: ESS Loaded language: en
Decimal seperator: ,
Content Packs: {HGSS Music Pack}
Active GameMode: Pokemon 3D
Operating online: TRUE (42350)
Game environment: BattleScreenV2
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: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663842
  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.BV2.TrainerAI.ProduceOppStep(List`1 m, Int32 i)
  at _2._5DHero.BV2.TrainerAI.GetAIMove(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleV2.GetOppStep(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleV2.InitializeRound(BattleScreenV2 BattleScreen, RoundConst OwnStep)
  at _2._5DHero.BV2.BattleMenuV2.PressButtonMoves(BattleScreenV2 BattleScreen)
  at _2._5DHero.BV2.BattleMenuV2.UpdateMoves(BattleScreenV2 BattleScreen)
  at _2._5DHero.BV2.BattleMenuV2.Update(BattleScreenV2 BattleScreenV2)
  at _2._5DHero.BV2.BattleScreenV2.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.
So yeah... That's all. :/
Still glad the update's finally out, and with so much new stuff :D

@Prince Vade
 

Leahkim

Dragon Tamer
Specifying the attack you used that triggered the crash would help the dev team find the solution quicker. Also, it won't matter what server you are on as the crash originates from the scripts stored in your Pokemon folder.
 

A-S-Matt

Trainer
Specifying the attack you used that triggered the crash would help the dev team find the solution quicker. Also, it won't matter what server you are on as the crash originates from the scripts stored in your Pokemon folder.
I can't remember what move it was specifically, but I'm certain I was using Typhlosion. The moveset was: Thunderpunch, Firepunch, Dynamic Punch, and the last one was Headbutt when the first crash happened and Swift when the second crash happened.
Yeah, I didn't really think it had to do with the server, that was mostly to specify what I was doing when the crash happened :V

He already did that.

So yeah... That's all. :/
Still glad the update's finally out, and with so much new stuff :D

@Prince Vade
:V
 

A-S-Matt

Trainer
Apparently it also happens in the Battle Factory, Challenge Mode once again.
(Sorry for double posting, in case it's not allowed)

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 Basic  [6.1.7601.65536]
System time: 12/12/2013 05:13:30 p.m.
System language: ESS Loaded language: en
Decimal seperator: ,
Content Packs: {HGSS Music Pack}
Active GameMode: Pokemon 3D
Operating online: TRUE (42350)
Game environment: BattleScreenV2
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: True
   IsSecuritySafeCritical: True
   IsSecurityTransparent: False
   IsSpecialName: False
   IsStatic: True
   IsVirtual: False
   MemberType: Method
   MetadataToken: 100663842
   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.BV2.BattleMenuV2.PressButtonMoves(BattleScreenV2 BattleScreen)
   at _2._5DHero.BV2.BattleMenuV2.UpdateMoves(BattleScreenV2 BattleScreen)
   at _2._5DHero.BV2.BattleMenuV2.Update(BattleScreenV2 BattleScreenV2)
   at _2._5DHero.BV2.BattleScreenV2.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.
@Prince Vade
 

Prince Vade

Champion
Trusted Support
Retired Mod
Looks like the first 2 crashes you got were from the Trainer's moves, not your own.
Second crash is interesting. If it happens again, post the new crash report and I'll look into the issue.
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Here's mine:

Code:
---------------------------

System specifications: 
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 8.1 Pro [6.2.9200.0]
System time: 12/12/13 4:56:14 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (34173)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: frontier\battletower\challenge\choosetrainer; Line: 4
---------------------------

Here is further information:
Message: Conversion from string "" to type 'Integer' is not valid.
InnerException: Input string was not in a correct format.
BaseException: Input string was not in a correct format.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.VisualBasic
TargetSite: Name: ToInteger [
   Attributes: PrivateScope, Public, Static
   CallingConvention: Standard
   ContainsGenericParameters: False
   DeclaringType: Microsoft.VisualBasic.CompilerServices.Conversions
   IsAbstract: False
   IsAssembly: False
   IsConstructor: False
   IsFamily: False
   IsFamilyAndAssembly: False
   IsFamilyOrAssembly: False
   IsFinal: False
   IsGenericMethod: False
   IsGenericMethodDefinition: False
   IsHideBySig: False
   IsPrivate: False
   IsPublic: True
   IsSecurityCritical: False
   IsSecuritySafeCritical: False
   IsSecurityTransparent: True
   IsSpecialName: False
   IsStatic: True
   IsVirtual: False
   MemberType: Method
   MetadataToken: 100664087
   MethodHandle: System.RuntimeMethodHandle
   Module: Microsoft.VisualBasic.dll
   ReflectedType: Microsoft.VisualBasic.CompilerServices.Conversions
   ]

StackTrace:    at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at _2._5DHero.Trainer.LoadTrainerNew(String[] Data)
   at _2._5DHero.Trainer.LoadTrainerOld(String[] Data)
   at _2._5DHero.Trainer..ctor(String TrainerFile)
   at _2._5DHero.ScriptComparer.DoNPC(String subClass)
   at _2._5DHero.ScriptComparer.GetResultValue(String mainClass, String subClass)
   at _2._5DHero.ScriptComparer.GetArgumentValue(Object inputString)
   at _2._5DHero.ScriptComparer.GetCommandArgument(String inputString)
   at _2._5DHero.ScriptCommander.DoNPC(String subClass)
   at _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
   at _2._5DHero.ScriptV2.DoCommand()
   at _2._5DHero.ScriptV2.Update()
   at _2._5DHero.Script.Update()
   at _2._5DHero.ActionScript.Update()
   at _2._5DHero.OverworldScreen.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)
 
Top