• ✨ 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 Ice fang crash

Yoshino

Starting Trainer
My croconaw learned the move Ice Fang, unfortunately when I use it the game crashes, happened 2 times already

Code:
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.36.2
Operating system: Microsoft Windows 7 Ultimate  [6.1.7600.0]
System time: 9/13/2013 9:28:21 PM
System language: ENU
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (103093)
Game environment: BattleScreenV2
---------------------------

Here is further information:
Message: Object reference not set to an instance of an object.
InnerException: NOTHING
BaseException: Object reference not set to an instance of an object.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: 2.5DHero
TargetSite: Name: InflictInfatuate [
  Attributes: PrivateScope, Public
  CallingConvention: Standard, HasThis
  ContainsGenericParameters: False
  DeclaringType: _2._5DHero.BV2.BattleV2
  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: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: False
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100663559
  MethodHandle: System.RuntimeMethodHandle
  Module: 2.5DHero.exe
  ReflectedType: _2._5DHero.BV2.BattleV2
  ]

StackTrace:    at _2._5DHero.BV2.BattleV2.InflictInfatuate(Boolean own, Boolean from, BattleScreenV2 BattleScreen, String message, String cause)
  at _2._5DHero.BV2.BattleV2.DoAttackRound(BattleScreenV2 BattleScreen, Boolean own, AttackV2 moveUsed)
  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.
 

nilllzz

Original Developer
Administrator
P3D Developer
The problem is that you are using the move IceFang, which is a physical move, against a Pokémon with an ability which causes infatuation.
To avoid the crash, use a special move because that doesn't trigger the ability.
 

Yoshino

Starting Trainer
thanks! will this be fixed? sometimes you cannot tell the opponents ability.. might happen again
 
Top