• ✨ 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] Main Menu to Online Play Crash

Tripsaur

Dragon Tamer
Contributor
What I expected to happen:
To start up the game.

What actually happened:
An image of what was last in front of my character from the last save appeared on the main menu behind the buttons, then the game crashed.

Steps to reproduce:
1. Sign In.
2. Hit Online (prepare to play etc.)
3. I'm pretty sure I right clicked as well as normal clicking to enter the local server, so that may have been what sent me back to the main menu while also starting the game.
4. EDIT: I tested it again, I was right. If you get to here:

and click both your mouse buttons, the game will crash.

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

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

No backup file could be created.

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

Game information:

Pokémon 3D Indev version: 0.51.1 (84)
Content Packs: {Anime Cries,Dark UI,HGSS Music Pack}
Active GameMode: Pokemon 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game Environment: MainMenuScreen
Actionscript: No script running
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (MainMenuScreen)

MenuIndex=0
CurrentLevel=2
LevelChangeDelay=732

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

System specifications:

Operating system: Microsoft Windows 8.1 [6.2.9200.0]
Core architecture: 64 Bit
System time: 11/28/2014 3:56:29 AM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.47 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): "AMD Radeon HD 7660G"]
[CardRAM(s) : "536870912"]

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

Error information:

Message: Unable to cast object of type 'net.Pokemon3D.Game.MainMenuScreen' to type 'net.Pokemon3D.Game.OverworldScreen'.
InnerException: NOTHING
BaseException: Unable to cast object of type 'net.Pokemon3D.Game.MainMenuScreen' to type 'net.Pokemon3D.Game.OverworldScreen'.
HelpLink: No helplink available.
Data: Items: 0
Source: Pokemon

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

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.NPC.ActivateScript()
   at net.Pokemon3D.Game.NPC.ClickFunction()
   at net.Pokemon3D.Game.OverworldCamera.CheckEntity()
   at net.Pokemon3D.Game.OverworldCamera.Update()
   at net.Pokemon3D.Game.MainMenuScreen.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)

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

Attachments

J

jianmingyong

Guest
Well I tested it... I could not get crash but instead what I see is that I am playing with the main menu screen blocking my view.
 

Tripsaur

Dragon Tamer
Contributor
Well I tested it... I could not get crash but instead what I see is that I am playing with the main menu screen blocking my view.
Well, that's a bug in of itself. Try clicking anything on the main menu while you're "playing" i think that's what caused me to crash.
 
J

jianmingyong

Guest
Well, that's a bug in of itself. Try clicking anything on the main menu while you're "playing" i think that's what caused me to crash.
I did click on it... I could not get it crash. Probably yours is when you click the main menu button while your player is in front of a npc.
 

Tripsaur

Dragon Tamer
Contributor
I did click on it... I could not get it crash. Probably yours is when you click the main menu button while your player is in front of a npc.
I saved in front of the Safari Zone dudes to try and get to the Deep Sea Area when I got this glitch, so it's a possibility.
 
J

jianmingyong

Guest
I can't repro this, can you explain the steps to repro this 100% of the time?
Simply use your mouse to click on the play button.

You need to click on the play button using both left and right click at the same time causing the game to go into the map as well as going back to main menu at the same time.
 

Fanta

Content Developer
P3D Developer
Global Moderator
Here's a picture

2015-03-03_19.33.47.png


Btw, why would anyone do that anyway? if there was like...a list of how critical a bug is, "I think" this one won't be even on it.
 
J

jianmingyong

Guest
When you love it, it just means that... I have to fix this. Fixed in next version :p
 
Top