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

Duplicate [Indev 0.53.2] Random Battle Crash

Status
Not open for further replies.

samster5169

Starting Trainer
Describe the bug you experienced here.
repeatedly crashes when entering a battle, happens randomly in either wild or trainer battles
What I expected to happen:
...not to crash

What actually happened:
...crashed...

Steps to reproduce:
1. ...play game for a few minutes
2. ...enter battles
...
Crash log:
(Add a crash log here if available and enclose it in the code tag with this button:
)
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Describe the bug you experienced here.
repeatedly crashes when entering a battle, happens randomly in either wild or trainer battles
What I expected to happen:
...not to crash

What actually happened:
...crashed...

Steps to reproduce:
1. ...play game for a few minutes
2. ...enter battles
...
Crash log:
(Add a crash log here if available and enclose it in the code tag with this button:
)
Could you please post a crash log?
 

samster5169

Starting Trainer
Could you please post a crash log?
i tried but it wouldnt let me add it sorry, all i know is that randomly when entering battles, wild or trainer it would crash.

sorry for the abrupt message but i had posted several times attempting to add the crash log but it failed every time and i got fed up.
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
i tried but it wouldnt let me add it sorry
What is preventing you from doing so? It is impossible for us to pinpoint what caused the crash without the logs.

However, by any chance, was one of your Pokémon, or the opponent's Pokémon, asleep sometime during the battle? Was a sleep move used?
 

samster5169

Starting Trainer
the button to add the log wont work and i cant screenshot it, its way too long.

it wasnt to do with sleep status just during random events, most commonly the beginning of a battle.
as if coding was missing but i have no idea...
i could copy paste the crash log from the notepad file to here i guess but it would be massive...

here goes:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// 1 ERROR

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

Game information:

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

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

Screen state for the current screen (BattleScreen)

BattleMode=Standard
IsTrainerBattle=True
IsPVPBattle=False
LoadedBattleMap=battle\battle0.dat
OwnPokemon={"Pokemon"[23]}{"Experience"[7406]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[Venom]}{"Level"[19]}{"OT"[60335]}{"Ability"[22]}{"Status"[SLP]}{"Nature"[22]}{"CatchLocation"[Route 32]}{"CatchTrainer"[Dude]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[145]}{"isShiny"[0]}{"Attack1"[44,25,24]}{"Attack2"[40,35,31]}{"Attack3"[137,30,30]}{"Attack4"[35,20,20]}{"HP"[20]}{"EVs"[11,7,6,9,2,18]}{"IVs"[17,6,3,29,26,8]}{"AdditionalData"[]}{"IDValue"[CQqA0NbjfNi]}
OppPokemon={"Pokemon"[35]}{"Experience"[4666]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[2005]}{"ItemData"[]}{"NickName"[]}{"Level"[18]}{"OT"[00000]}{"Ability"[56]}{"Status"[]}{"Nature"[21]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[140]}{"isShiny"[0]}{"Attack1"[574,15,15]}{"Attack2"[47,15,14]}{"Attack3"[3,10,10]}{"Attack4"[111,40,40]}{"HP"[54]}{"EVs"[0,0,0,0,0,0]}{"IVs"[8,18,0,29,11,11]}{"AdditionalData"[]}{"IDValue"[utgPvZhOEdV]}
Values=; CanCatch=True; CanRun=True; CanBlackout=True; CanReceiveEXP=True; RoamingBattle=False; CanUseItems=True; DiveBattle=False; TempPokeFile=; IsInverseBattle=False
IsRemoteBattle=False
IsHost=False
MenuVisible=True

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

System specifications:

Operating system: Microsoft Windows 8.1 [6.2.9200.0]
Core architecture: 64 Bit
System time: 23/09/2015 15:49:47
System language: English (United Kingdom)(ENG) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.88 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.5.51641
Full 4.5.51641
v4.0
Client 4.0.0.0

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

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 4000; NVIDIA GeForce GT 720M "]
[CardRAM(s) : "2214592512; 1073741824"]

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

Error 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: Items: 0
Source: Pokemon
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 net.Pokemon3D.Game.BattleSystem.Battle.DoAttackRound(BattleScreen BattleScreen, Boolean own, Attack moveUsed)
at net.Pokemon3D.Game.BattleSystem.Battle.InitializeRound(BattleScreen BattleScreen, RoundConst OwnStep)
at net.Pokemon3D.Game.BattleSystem.BattleMenu.MoveMenuStartRound(BattleScreen BattleScreen)
at net.Pokemon3D.Game.BattleSystem.BattleMenu.UpdateMoveMenu(BattleScreen BattleScreen)
at net.Pokemon3D.Game.BattleSystem.BattleMenu.Update(BattleScreen BattleScreen)
at net.Pokemon3D.Game.BattleSystem.BattleScreen.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:

Public Battle As Battle = net.Pokemon3D.Game.BattleSystem.Battle
Public FieldEffects As FieldEffects = net.Pokemon3D.Game.BattleSystem.FieldEffects
Public SavedOverworld As OverworldStorage = net.Pokemon3D.Game.OverworldStorage
Public BattleMenu As BattleMenu = net.Pokemon3D.Game.BattleSystem.BattleMenu
Public BattleQuery As List<QueryObject>[] = {{TOGGLEMENU|0}, {CAMERA|13.5|0.5|15|11.08003|0.5|13.91997|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|0|0}, {CAMERA|13.5|0.5|15|11.08003|0.5|13.91997|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {DELAY|20}}
Public OwnPokemon As Pokemon = {"Pokemon"[23]}{"Experience"[7406]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[Venom]}{"Level"[19]}{"OT"[60335]}{"Ability"[22]}{"Status"[SLP]}{"Nature"[22]}{"CatchLocation"[Route 32]}{"CatchTrainer"[Dude]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[145]}{"isShiny"[0]}{"Attack1"[44,25,24]}{"Attack2"[40,35,31]}{"Attack3"[137,30,30]}{"Attack4"[35,20,20]}{"HP"[20]}{"EVs"[11,7,6,9,2,18]}{"IVs"[17,6,3,29,26,8]}{"AdditionalData"[]}{"IDValue"[CQqA0NbjfNi]}
Public OppPokemon As Pokemon = {"Pokemon"[35]}{"Experience"[4666]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[2005]}{"ItemData"[]}{"NickName"[]}{"Level"[18]}{"OT"[00000]}{"Ability"[56]}{"Status"[]}{"Nature"[21]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[140]}{"isShiny"[0]}{"Attack1"[574,15,15]}{"Attack2"[47,15,14]}{"Attack3"[3,10,10]}{"Attack4"[111,40,40]}{"HP"[54]}{"EVs"[0,0,0,0,0,0]}{"IVs"[8,18,0,29,11,11]}{"AdditionalData"[]}{"IDValue"[utgPvZhOEdV]}
Public OppPokemonNPC As NPC = net.Pokemon3D.Game.NPC
Public OwnPokemonNPC As NPC = net.Pokemon3D.Game.NPC
Public OwnTrainerNPC As NPC = net.Pokemon3D.Game.NPC
Public OppTrainerNPC As NPC = net.Pokemon3D.Game.NPC
Public OwnPokemonModel As ModelEntity = net.Pokemon3D.Game.ModelEntity
Public OppPokemonModel As ModelEntity = net.Pokemon3D.Game.ModelEntity
Public OwnPokemonIndex As Int32 = 4
Public OppPokemonIndex As Int32 = 0
Public ParticipatedPokemon As List<Int32>[] = {0, 4}
Public PokemonOnSide As Int32 = 1
Public Profiles As List<PokemonProfile>[] = {}
Public IsTrainerBattle As Boolean = True
Public BattleMode As BattleModes = Standard
Public PokemonSafariStatus As Int32 = 0
Public WildPokemon As Pokemon = Nothing
Public OverworldScreen As Screen = net.Pokemon3D.Game.OverworldScreen
Public defaultMapType As Int32 = 0
Public Trainer As Trainer = net.Pokemon3D.Game.Trainer
Public DrawColoredScreen As Boolean = False
Public ColorOverlay As Color = {R:0 G:0 B:0 A:255}
Public BattleMapOffset As Vector3 = {X:0 Y:0 Z:0}
Private lastCameraSettings As List<Int32>[] = {0, 1, 2, 3}
Private lastCamera As Int32 = 3
Private cameraSettingCount As Int32 = 4
Public IsPVPBattle As Boolean = False
Public IsRemoteBattle As Boolean = False
Public IsHost As Boolean = False
Public PartnerNetworkID As Int32 = 0
Public OwnStatistics As NetworkPlayerStatistics = {0|0|0|0|0|0|1}
Public OppStatistics As NetworkPlayerStatistics = {0|0|0|0|0|0|0}
Public PVPGameJoltID As String =
Public SentInput As Boolean = False
Public ClientWaitForData As Boolean = False
Public ReceivedPokemonData As Boolean = False
Public TempPVPBattleQuery As Dictionary`2 = System.Collections.Generic.Dictionary`2[System.Int32,net.Pokemon3D.Game.BattleSystem.QueryObject]
Public LockData As String = {}
Public ClientWonBattle As Boolean = True
Public SentHostData As Boolean = False
Public Shared CanCatch As Boolean = True
Public Shared CanRun As Boolean = True
Public Shared CanBlackout As Boolean = True
Public Shared CanReceiveEXP As Boolean = True
Public Shared RoamingBattle As Boolean = False
Public Shared RoamingPokemonStorage As RoamingPokemon = Nothing
Public Shared CanUseItems As Boolean = True
Public Shared DiveBattle As Boolean = False
Public Shared TempPokeFile As String =
Public Shared IsInverseBattle As Boolean = False
Public Shared CustomBattleMusic As String =
Public Shared ReceivedQuery As String =
Public Shared ReceivedInput As String =
Public UpdateFadeOut As Boolean = False
Public UpdateFadeIn As Boolean = True

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

You should report this error.

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

RoyalGuard

Trainer
From my assumption from the log, I'm pretty sure a Pokemon was asleep, which likely is what lead to the crash.

Public OwnPokemon As Pokemon = {"Pokemon"[23]}{"Experience"[7406]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[Venom]}{"Level"[19]}{"OT"[60335]}{"Ability"[22]}{"Status"[SLP]}{"Nature"[22]}{"CatchLocation"[Route 32]}{"CatchTrainer"[Dude]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[145]}{"isShiny"[0]}{"Attack1"[44,25,24]}{"Attack2"[40,35,31]}{"Attack3"[137,30,30]}{"Attack4"[35,20,20]}{"HP"[20]}{"EVs"[11,7,6,9,2,18]}{"IVs"[17,6,3,29,26,8]}{"AdditionalData"[]}{"IDValue"[CQqA0NbjfNi]}
 
Last edited:
Status
Not open for further replies.
Top