• ✨ 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 [Indev 0.53.3] Stuck in Battle Zone after Crash

Jellyy

Starting Trainer
Describe the bug you experienced here.

What I expected to happen:
Me to continue battling a trainer in route 36

What actually happened:
The game suddenly crashes...
I started the game up again and I'm just stuck in the battle area and my pokemon is far away from me.

Steps to reproduce:
1. Use cut on the tree in Route 35
2. Battle the first trainer (the psychic?) in route 36
Then it crashed

Code:
Kolben Games Crash Log V 2.4
Pokémon 3D Patch Update 7 has crashed!
// I'm sorry, Dave, I'm afraid I can't do that.

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

Game information:

Pokémon 3D Patch Update 7 Indev version: 0.53.3 (90)
Content Packs: {Redesign64,PMD (babies),PMD}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (1601961)
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"[35]}{"Experience"[5734]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[2005]}{"ItemData"[]}{"NickName"[Melona]}{"Level"[19]}{"OT"[1601961]}{"Ability"[56]}{"Status"[SLP]}{"Nature"[3]}{"CatchLocation"[Daycare]}{"CatchTrainer"[Jellyy]}{"CatchBall"[5]}{"CatchMethod"[obtained at]}{"Friendship"[232]}{"isShiny"[1]}{"Attack1"[1,25,25]}{"Attack2"[204,20,20]}{"Attack3"[186,10,10]}{"Attack4"[345,20,19]}{"HP"[45]}{"EVs"[8,3,2,2,35,27]}{"IVs"[20,6,18,28,10,18]}{"AdditionalData"[]}{"IDValue"[YC6krFGJYAh]}
OppPokemon={"Pokemon"[63]}{"Experience"[1613]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[14]}{"OT"[7965]}{"Ability"[28]}{"Status"[]}{"Nature"[21]}{"CatchLocation"[Azalea Town]}{"CatchTrainer"[nilllzz]}{"CatchBall"[1]}{"CatchMethod"[random reason]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[93,25,24]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"HP"[33]}{"EVs"[0,0,0,0,0,0]}{"IVs"[20,14,19,2,17,24]}{"AdditionalData"[]}{"IDValue"[gLg3YpFgFB4]}
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 10 Home [6.3.9600.0]
Core architecture: 64 Bit
System time: 8/13/2016 1:12:03 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.89 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.6.01038
  Full  4.6.01038
v4.0
  Client  4.0.0.0

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

Graphics Card information:

[CardName(s): "Intel(R) HD Graphics 520"]
[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 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.14806|0.5|13.85194|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|0|0}, {CAMERA|13.5|0.5|15|11.14806|0.5|13.85194|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.14806|0.5|13.85194|0.06|0.06|-0.8353982|-1.085398|-0.3|-0.3|0.04|0.04|1|0}, {TEXT|Abra used Confusion!|255|255|255}, {FADE|2|0|0|0|1|110|0}, {CAMERA|13|0.5|13.5|13|0.5|13.5|0.06|0.06|0.8353982|0.8353982|-0.3|-0.3|0.04|0.04|0|0}, {FADE|3|0|0|0|0|110|0}, {CAMERA|13|0.5|13.5|11.14806|0.5|13.85194|0.06|0.06|0.8353982|-1.085398|-0.3|-0.3|0.04|0.04|1|0}, {CAMERA|13|0.5|13.5|11.14806|0.5|13.85194|0.06|0.06|0.8353982|-1.085398|-0.3|-0.3|0.04|0.04|1|0}, {SOUND|Battle\Damage\normaldamage|0|0}, {MATHHP|59|59|14|200|256}, {CAMERA|13.5|0.5|15|11.14806|0.5|13.85194|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {CAMERA|13.5|0.5|15|11.14806|0.5|13.85194|0.1|0.1|0|-1.085398|-0.1|-0.3|0.04|0.04|1|0}, {DELAY|20}}
   Public OwnPokemon As Pokemon = {"Pokemon"[35]}{"Experience"[5734]}{"Gender"[1]}{"EggSteps"[0]}{"Item"[2005]}{"ItemData"[]}{"NickName"[Melona]}{"Level"[19]}{"OT"[1601961]}{"Ability"[56]}{"Status"[SLP]}{"Nature"[3]}{"CatchLocation"[Daycare]}{"CatchTrainer"[Jellyy]}{"CatchBall"[5]}{"CatchMethod"[obtained at]}{"Friendship"[232]}{"isShiny"[1]}{"Attack1"[1,25,25]}{"Attack2"[204,20,20]}{"Attack3"[186,10,10]}{"Attack4"[345,20,19]}{"HP"[45]}{"EVs"[8,3,2,2,35,27]}{"IVs"[20,6,18,28,10,18]}{"AdditionalData"[]}{"IDValue"[YC6krFGJYAh]}
   Public OppPokemon As Pokemon = {"Pokemon"[63]}{"Experience"[1613]}{"Gender"[0]}{"EggSteps"[0]}{"Item"[0]}{"ItemData"[]}{"NickName"[]}{"Level"[14]}{"OT"[7965]}{"Ability"[28]}{"Status"[]}{"Nature"[21]}{"CatchLocation"[Azalea Town]}{"CatchTrainer"[nilllzz]}{"CatchBall"[1]}{"CatchMethod"[random reason]}{"Friendship"[70]}{"isShiny"[0]}{"Attack1"[93,25,24]}{"Attack2"[]}{"Attack3"[]}{"Attack4"[]}{"HP"[33]}{"EVs"[0,0,0,0,0,0]}{"IVs"[20,14,19,2,17,24]}{"AdditionalData"[]}{"IDValue"[gLg3YpFgFB4]}
   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 = 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 = 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>[] = {3, 0, 1, 2}
   Private lastCamera As Int32 = 2
   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.
 

Fanta

Content Developer
P3D Developer
Global Moderator
what do you mean by stuck? and what battle zone? do you mean like "stuck inside the actual battle map that you battle the trainer at?"
also, did you manage to get out or not yet?
 

Capt_Segis

Engine Developer
P3D Developer
Global Moderator
@jianmingyong , I suggest you to remove the "after crash auto-save" feature from patch version till a better solution could be reached.
 
Last edited:
J

jianmingyong

Guest
My thing get viral that fast isn't it.

Actually it can be fix without any staff since it is not uploaded to gamejolt server. It is local xD

Delete the backup save folder (Inside the Pokemon folder there is Backup folder) and it will revert itself to the last valid gamejolt save. (Which is where you are originally at)
 
J

jianmingyong

Guest
Unfortunately that didn't work for me jianmingyong
Try go back to the original version. Login and see where you are. If it did upload to gamejolt server, it will be applied there.
 
J

jianmingyong

Guest
What do you mean?
The thing is, you are playing the modified version of the game. It isn't official update from kolben so there is some differences between both game in terms of how they save the game.
Download a clean copy from gamejolt and run that. If you are unstuck there, most likely you just need to delete the Patch version and redownload again. If you are stuck while playing the official copy, obviously no matter what, you are still stuck without a staff to help you.
 

Fanta

Content Developer
P3D Developer
Global Moderator
The thing is, you are playing the modified version of the game. It isn't official update from kolben so there is some differences between both game in terms of how they save the game.
Download a clean copy from gamejolt and run that. If you are unstuck there, most likely you just need to delete the Patch version and redownload again. If you are stuck while playing the official copy, obviously no matter what, you are still stuck without a staff to help you.
I don't quite understand what is happening here, Is it now the norm for you to be handing out modified versions of the game to anybody? or am I missing something here?
 

Capt_Segis

Engine Developer
P3D Developer
Global Moderator
I don't quite understand what is happening here, Is it now the norm for you to be handing out modified versions of the game to anybody? or am I missing something here?
I know what you mean, it's not really allowed.

The intention was to help players not to loss progress, by implementing an "After Crash Autosave" feature to this game. Unfortunately, it was not forseen this could leave the player stuck in some places depending on when did he crash. (like the battle field where Jellyy got stuck)

This modified version of the game (also known as "patched version") has some PvP fixes which are very valuable. It fixed the bug that made the game freeze in PvP battles sometimes (found here), as well as the "Sudden Speed Increase" bug that I reported here, which has not been fixed in the official version so far.

We do understand that the dev team might be too busy making the C# version of P3D (among some other miscellaneous stuff), to release any new updates of the current version of P3D (being this what most of the players would like to see in the short/middle term).

That's why jian bothered on releasing these "patch versions", to improve the current version of the game and try to keep the game alive.
 
Last edited:
Top