• ✨ 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.28_2] Leech Life crash

Status
Not open for further replies.

SP458

Trainer
I entered in Dark Cave to capture a Zubat. After my Spearow's Peck attack, Zubat uses Leech Life. It inflicted only 1 damage (low BP + resistance, of course) and then the game crashed.

Here is the content of the .dat file:


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

System specifications:
Pokémon 3D version: 0.28.2
Operating system: Microsoft Windows 8 Professionnel [6.2.9200.0]
Decimal seperator: ,
---------------------------

Here is further information:
Message: La conversion de la chaîne "0.5" en type 'Integer' n'est pas valide.
InnerException: Le format de la chaîne d'entrée est incorrect.
BaseException: Le format de la chaîne d'entrée est incorrect.
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: à Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
à _2._5DHero.Battle.RunBattleSteps(String BattleStep, String Argument)
à _2._5DHero.Battle.UpdateMoves()
à _2._5DHero.Battle.Update()
à _2._5DHero.BattleScreen.UpdateMe(Int32 UpdateIndex)
à _2._5DHero.BattleScreen.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/issues/" to report this crash there.
 

Darkfire

Administrator
Administrator
P3D Developer
Ah that's def a bug it tried to give you half of the Damage you dealt but couldn't find that as an integer :)
That should be an easy fix for nilllzz
 

gtjpk10

Trainer
I've seen lots of similar crashes with Zubat regarding 0.5 and 1.5 integer error, but I recently encountered a Spinarok which used Leech Life and caused a 6.5 integer error. I guess there are many Pokémon with this same issue? Anyway I'm glad to read this will be an easy fix. :)

Here is the report, if there is anything exceptional.

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

System specifications:
Pokémon 3D version: 0.28.2
Operating system: Microsoft Windows 7 Home Premium [6.1.7601.65536]
Decimal seperator: ,
---------------------------

Here is further information:
Message: Muunto merkkijonosta 6.5 lajiksi Integer ei ole kelvollinen.
InnerException: Syötemerkkijonon muoto ei ollut kelvollinen.
BaseException: Syötemerkkijonon muoto ei ollut kelvollinen.
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: kohteessa Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
kohteessa _2._5DHero.Battle.RunBattleSteps(String BattleStep, String Argument)
kohteessa _2._5DHero.Battle.UpdateMoves()
kohteessa _2._5DHero.Battle.Update()
kohteessa _2._5DHero.BattleScreen.UpdateMe(Int32 UpdateIndex)
kohteessa _2._5DHero.BattleScreen.Update()
kohteessa _2._5DHero.Basic.Update(GameTime gameTime)
kohteessa _2._5DHero.DGame.Update(GameTime gameTime)
kohteessa Microsoft.Xna.Framework.Game.Tick()
kohteessa Microsoft.Xna.Framework.Game.HostIdle(Object sender, EventArgs e)
kohteessa Microsoft.Xna.Framework.GameHost.OnIdle()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.RunOneFrame()
kohteessa Microsoft.Xna.Framework.WindowsGameHost.ApplicationIdle(Object sender, EventArgs e)
kohteessa System.Windows.Forms.Application.ThreadContext.System.Windows.Forms.UnsafeNativeMethods.IMsoComponent.FDoIdle(Int32 grfidlef)
kohteessa System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
kohteessa System.Windows.Forms.Application.Run(Form mainForm)
kohteessa Microsoft.Xna.Framework.WindowsGameHost.Run()
kohteessa Microsoft.Xna.Framework.Game.RunGame(Boolean useBlockingRun)
kohteessa Microsoft.Xna.Framework.Game.Run()
kohteessa _2._5DHero.Program.Main(String[] args)

You should report this error.

Go to "http://pokemon3d.net/issues/" to report this crash there.
 
Status
Not open for further replies.
Top