What I expected to happen:
My pokemon fell asleep because of drowzee's hypnosis attack (it also happens with any other pokemon with a sleep attack);
the next turn I selected an attack (headbut) to be used by my pokemon in case he wakes up.
My pokemon then would keep sleeping or wake up and attack.
What actually happened:
I select and attack to be used by my sleeping pokemon and right when the attack turn starts the game crashes, I don't know if this happens because my pokemon would wake up and that is causing the bug or if he would not wake up and fail the attack.
Steps to reproduce:
1. Get any pokemon and fight another pokemon with a sleep attack
2. Be attacked and fall asleep
3. Keep trying to attack waiting your pokemon to wake up
4. Game crashes
My pokemon fell asleep because of drowzee's hypnosis attack (it also happens with any other pokemon with a sleep attack);
the next turn I selected an attack (headbut) to be used by my pokemon in case he wakes up.
My pokemon then would keep sleeping or wake up and attack.
What actually happened:
I select and attack to be used by my sleeping pokemon and right when the attack turn starts the game crashes, I don't know if this happens because my pokemon would wake up and that is causing the bug or if he would not wake up and fail the attack.
Steps to reproduce:
1. Get any pokemon and fight another pokemon with a sleep attack
2. Be attacked and fall asleep
3. Keep trying to attack waiting your pokemon to wake up
4. Game crashes
Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// Wut?
---------------------------------------------------------------------------------
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=False
IsPVPBattle=False
LoadedBattleMap=battle\routes\route34.dat
OwnPokemon={"Pokemon"[27]}{"Experience"[4604]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[16]}{"OT"[14049]}{"Ability"[8]}{"Status"[SLP]}{"Nature"[3]}{"CatchLocation"[Union Cave]}{"CatchTrainer"[Edgar]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[133]}{"isShiny"[0]}{"Attack1"[10,35,35]}{"Attack2"[205,20,18]}{"Attack3"[15,30,30]}{"Attack4"[249,15,15]}{"HP"[46]}{"EVs"[11,5,21,5,10,39]}{"IVs"[28,22,6,3,20,3]}{"AdditionalData"[]}{"IDValue"[1yoCViVul1o]}
OppPokemon={"Pokemon"[19]}{"Experience"[1331]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[11]}{"OT"[00000]}{"Ability"[62]}{"Status"[]}{"Nature"[24]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[39,30,30]}{"Attack2"[98,30,30]}{"Attack3"[116,30,29]}{"Attack4"[44,25,25]}{"HP"[28]}{"EVs"[0,0,0,0,0,0]}{"IVs"[4,5,4,29,4,3]}{"AdditionalData"[]}{"IDValue"[bUas8yt52If]}
Values=; CanCatch=True; CanRun=True; CanBlackout=True; CanReceiveEXP=True; RoamingBattle=False; CanUseItems=True; DiveBattle=False; TempPokeFile=routes\route34.poke; IsInverseBattle=False
IsRemoteBattle=False
IsHost=False
MenuVisible=True
---------------------------------------------------------------------------------
System specifications:
Operating system: Microsoft Windows 7 Professional [6.1.7601.65536]
Core architecture: 64 Bit
System time: 05/10/2015 12:39:20
System language: Portuguese (Brazil)(PTB) / Loaded game language: en
Decimal separator: ,
Available physical memory: 7,95 Gigabyte
Available logical processors: 4
---------------------------------------------------------------------------------
.Net installation information:
v2.0.50727 2.0.50727.5420 SP2
v3.0 3.0.30729.5420 SP2
v3.5 3.5.30729.5420 SP1
v4
Client 4.5.51209
Full 4.5.51209
v4.0
Client 4.0.0.0
---------------------------------------------------------------------------------
Graphics Card information:
[CardName(s): "ASUS Mirror Driver; NVIDIA GeForce GTX 550 Ti"]
[CardRAM(s) : "; 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.14006|0.5|13.85994|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|0|0}, {CAMERA|13.5|0.5|15|11.14006|0.5|13.85994|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {DELAY|20}, {CAMERA|14|0.5|13.5|11.14006|0.5|13.85994|0.06|0.06|-0.8353982|-1.085398|-0.3|-0.3|0.04|0.04|1|0}, {TEXT|Rattata used Focus Energy!|255|255|255}, {TEXT|Rattata got pumped!|255|255|255}, {CAMERA|13.5|0.5|15|11.14006|0.5|13.85994|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {CAMERA|13.5|0.5|15|11.14006|0.5|13.85994|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {DELAY|20}}
Public OwnPokemon As Pokemon = {"Pokemon"[27]}{"Experience"[4604]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[16]}{"OT"[14049]}{"Ability"[8]}{"Status"[SLP]}{"Nature"[3]}{"CatchLocation"[Union Cave]}{"CatchTrainer"[Edgar]}{"CatchBall"[5]}{"CatchMethod"[caught at]}{"Friendship"[133]}{"isShiny"[0]}{"Attack1"[10,35,35]}{"Attack2"[205,20,18]}{"Attack3"[15,30,30]}{"Attack4"[249,15,15]}{"HP"[46]}{"EVs"[11,5,21,5,10,39]}{"IVs"[28,22,6,3,20,3]}{"AdditionalData"[]}{"IDValue"[1yoCViVul1o]}
Public OppPokemon As Pokemon = {"Pokemon"[19]}{"Experience"[1331]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[11]}{"OT"[00000]}{"Ability"[62]}{"Status"[]}{"Nature"[24]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[39,30,30]}{"Attack2"[98,30,30]}{"Attack3"[116,30,29]}{"Attack4"[44,25,25]}{"HP"[28]}{"EVs"[0,0,0,0,0,0]}{"IVs"[4,5,4,29,4,3]}{"AdditionalData"[]}{"IDValue"[bUas8yt52If]}
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 = Nothing
Public OwnPokemonModel As ModelEntity = net.Pokemon3D.Game.ModelEntity
Public OppPokemonModel As ModelEntity = net.Pokemon3D.Game.ModelEntity
Public OwnPokemonIndex As Int32 = 0
Public OppPokemonIndex As Int32 = 0
Public ParticipatedPokemon As List<Int32>[] = {0}
Public PokemonOnSide As Int32 = 1
Public Profiles As List<PokemonProfile>[] = {}
Public IsTrainerBattle As Boolean = False
Public BattleMode As BattleModes = Standard
Public PokemonSafariStatus As Int32 = 0
Public WildPokemon As Pokemon = {"Pokemon"[19]}{"Experience"[1331]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[11]}{"OT"[00000]}{"Ability"[62]}{"Status"[]}{"Nature"[24]}{"CatchLocation"[at unknown place]}{"CatchTrainer"[???]}{"CatchBall"[5]}{"CatchMethod"[somehow obtained]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[39,30,30]}{"Attack2"[98,30,30]}{"Attack3"[116,30,29]}{"Attack4"[44,25,25]}{"HP"[28]}{"EVs"[0,0,0,0,0,0]}{"IVs"[4,5,4,29,4,3]}{"AdditionalData"[]}{"IDValue"[bUas8yt52If]}
Public OverworldScreen As Screen = net.Pokemon3D.Game.OverworldScreen
Public defaultMapType As Int32 = 0
Public Trainer As Trainer = Nothing
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>[] = {2, 1, 3, 0}
Private lastCamera As Int32 = 0
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 = routes\route34.poke
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.