• ✨ 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

Confirmed [Indev 0.54.1] Gender Specification Lack Crash

Fanta

Content Developer
P3D Developer
Global Moderator
(This post is made for the purpose of future reference and also as a PSA)
According to the wiki, if the gender of the trainer is not set in the trainer file, the gender will be assumed as (-1), AKA "random".
What I expected to happen:
the gender to be assumed

What actually happened:
the game got triggered and crashed

Steps to reproduce:
1. remove the gender specification of a trainer
2. battle said trainer
...

Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// Never gonna give you up ~

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.53.3 (90)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: trainer\route34\010; Line: 1
File Validation: False
Sandboxmode: True

---------------------------------------------------------------------------------

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=routes\route34.dat
UsedStrength=False
EntityCount=1119

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 10 Pro [6.2.9200.0]
Core architecture: 64 Bit
System time: 18-Jul-17 10:55:42 AM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 11.86 Gigabyte
Available logical processors: 4

---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4
  Client  4.7.02046
  Full  4.7.02046
v4.0
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error 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: Items: 0
Source: Microsoft.VisualBasic
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at net.Pokemon3D.Game.Trainer.LoadTrainer(String[] Data)
   at net.Pokemon3D.Game.Trainer..ctor(String TrainerFile)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.DoBattle(String subClass)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.ExecuteCommand(ScriptV2& ScriptV2, String inputString)
   at net.Pokemon3D.Game.ScriptV2.DoCommand()
   at net.Pokemon3D.Game.ScriptV2.Update()
   at net.Pokemon3D.Game.Script.Update()
   at net.Pokemon3D.Game.ActionScript.Update()
   at net.Pokemon3D.Game.OverworldScreen.Update()
   at net.Pokemon3D.Game.Core.Update(GameTime gameTime)
   at net.Pokemon3D.Game.GameController.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 net.Pokemon3D.Game.Program.Main(String[] args)

---------------------------------------------------------------------------------

Enviornment dump:

   Private _actionScript As ActionScript = net.Pokemon3D.Game.ActionScript
   Private _particlesTexture As Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D
   Private _trainerEncountered As Boolean = False
   Private _titles As List<Title>[] = {}
   Private ShowControlsDelay As Single = 4
   Private Shared _fadeValue As Int32 = 0
   Private Shared _drawRodID As Int32 = -1
   Public UpdateFadeOut As Boolean = False
   Public UpdateFadeIn As Boolean = False

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
and a 0.54.1 crash log.
Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// Team Rocket blasting off again!

---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.54.1 (92)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: No script running
File Validation: True
Sandboxmode: True

---------------------------------------------------------------------------------

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=routes\route34.dat
UsedStrength=False
EntityCount=1118

---------------------------------------------------------------------------------

System specifications:

Operating system: Microsoft Windows 10 Pro [6.2.9200.0]
Core architecture: 64 Bit
System time: 19-Jul-17 10:22:51 AM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 11.86 Gigabyte
Available logical processors: 4

---------------------------------------------------------------------------------

.Net installation information:

v2.0.50727  2.0.50727.4927  SP2
v3.0  3.0.30729.4926  SP2
v3.5  3.5.30729.4926  SP1
v4 
  Client  4.7.02046
  Full  4.7.02046
v4.0 
  Client  4.0.0.0

---------------------------------------------------------------------------------

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[CardRAM(s) : "1073741824"]

---------------------------------------------------------------------------------

Error 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: Items: 0
Source: Microsoft.VisualBasic
Win32 Errorcode: -1

---------------------------------------------------------------------------------

Error solution:
(The provided solution might not work for your problem)

Error ID: -1
Error Type: NaN
Error Description: The error is undocumented in the error handling system.
Error Solution: NaN

---------------------------------------------------------------------------------

CallStack:

   at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(String Value)
   at ‎‍‮‎‎‭‪‭‬‪‎‬‎‎‪‫‏‌‭‪‎‏‭‮.‬‬‬‍‌‎‪‬‏‬‬‎‌‎‌‫‏‮(String[] )
   at ‬‮‫‎‎‮‭‌‮‮‪‎‫‪‏‭‌‎‌‬‪‫‫‮‮.‮‮‫‪‮‭‬‫‮‫‬‪‭‬‮‪‎‭‪‫‬‎‏‌‪‏‍‮()
   at ‎‍‪‭‎‍‬‮‬‏‬‬‍‮‫‭‪‭‪‭‍‍‮‌‮‮.‭‪‪‪‭‫‬‮‪‏‪‌‮‍‎‎‍‪‬‏‬‬‍‍‭‌‮‎‫‏‮()
   at ‮‍‪‍‮‎‬‪‎‮‍‎‭‌‎‏‬‬‮‮‮‬‮.‭‍‬‮‭‌‌‌‫‭‫‪‫‎‬‭‍‪‌‬‎‮‮()
   at ‮‍‪‍‮‎‬‪‎‮‍‎‭‌‎‏‬‬‮‮‮‬‮.‭‫‫‏‮‍‫‫‮‪‪‪‎‬‍‍‫‌‍‫‫‮(Int32 )
   at ‫‎‭‭‪‎‪‫‭‎‭‭‎‫‏‌‎‪‪‮‫‪‭‮.‬‌‏‫‏‍‏‫‮‌‭‍‮‮()
   at ‫‎‭‭‪‎‪‫‭‎‭‭‎‫‏‌‎‪‪‮‫‪‭‮.‏‬‭‏‪‌‫‎‎‫‍‮‪‪‬‭‭‍‌‪‮()
   at ‫‫‍‮‫‫‭‫‎‮‎‌‏‎‪‮‎‫‮‪‍‫‎‬‌‮.‏‬‭‏‪‌‫‎‎‫‍‮‪‪‬‭‭‍‌‪‮()
   at ‫‭‮‬‏‪‫‬‭‭‍‪‌‏‬‬‭‌‌‍‫‮‌‬‫‎‮.‏‬‭‏‪‌‫‎‎‫‍‮‪‪‬‭‭‍‌‪‮(GameTime )
   at ‭‭‪‍‪‫‭‮‬‏‎‎‮‭‮‭‫‎‪‮‍‫‌‪‫‭‪‎‍‮.‏‬‭‏‪‌‫‎‎‫‍‮‪‪‬‭‭‍‌‪‮(GameTime )
   at Microsoft.Xna.Framework.Game.DoUpdate(GameTime gameTime)
   at Microsoft.Xna.Framework.Game.Tick()
   at Microsoft.Xna.Framework.OpenTKGamePlatform.RunLoop()
   at ‭‬‏‪‬‬‍‍‭‏‎‮‪‌‭‭‎‌‪‎‫‪‌‎‭‏‮.‮‍‪‬‪‏‬‫‬‪‎‌‏‏‭‎‪‮‍‪‫‮(String[] )

---------------------------------------------------------------------------------

Enviornment dump:

   Private ‭‪‍‎‌‫‬‍‪‮‮‏‮‎‍‌‬‭‪‌‎‫‎‪‮ As ‏‍‮‏‬‭‍‏‬‏‭‫‮‮‪‏‫‫‮ = ‏‍‮‏‬‭‍‏‬‏‭‫‮‮‪‏‫‫‮
   Private ‌‮‮‎‍‮‎‬‎‍‌‭‍‍‪‮‌‮‏‪‪‮ As Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D
   Private ‏‎‮‪‎‏‬‬‮‭‬‍‪‪‍‭‎‬‮‬‍‮ As Boolean = False
   Private ‌‭‎‌‪‬‏‎‭‪‬‮‮‬‭‌‫‬‫‭‬‎‮‫‍‬‮ As List<‎‏‫‭‪‬‏‎‫‏‎‫‫‌‮‫‍‮>[] = {}
   Private ‍‍‬‏‌‭‬‫‍‭‍‪‫‭‍‭‎‪‍‏‮ As Single = 8
   Private ‎‪‬‎‍‍‏‫‪‎‍‪‍‪‍‏‬‭‫‮ As Boolean = False
   Private Shared ‪‭‬‮‌‏‏‍‮‎‪‎‮‭‮‮‪‍‭‮‌‪‎‮ As Int32 = 0
   Private Shared ‫‪‎‎‪‎‍‭‬‍‌‪‏‍‮‪‪‬‎‫‫‫‮ As Int32 = -1
   Public ‫‍‎‬‏‬‫‏‍‮‫‬‮‬‎‍‌‪‪‏‭‏‮ As Boolean = False
   Public ‌‌‮‬‏‍‏‎‎‭‌‫‭‌‌‎‎‪‪‮‎‮ As Boolean = False

---------------------------------------------------------------------------------

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
 
Last edited:
Top