• ✨ 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.53] <Pokemon.nickname(0)> Causes Crash

J

jianmingyong

Guest
What I expected to happen:
The game return the nickname blank or at least don't crash the game.

What actually happened:
The game crashed instead and it happen randomly if you use that construct.

Steps to reproduce:
@Pokemon.add(1,1)
@Text.show(<Pokemon.name(0)> [<Pokemon.nickname(0)>])

But for some reason, if you load your save again and try again, it might or might not crash again.
If it don't crash, it will return blank if there is no nickname. For example: "Bulbasaur []".


* Also for some reason, the bug catcher seem to be a little annoying with an error that fails to send the crash log to your server. ( Although not all crash logs are concerning official game ) Something must be wrong I guess *
Code:
Kolben Games Crash Log V 2.3
Pokémon 3D has crashed!
// I AM ERROR!

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

A backup file was created here: 2014-07-28_16.44.28_backup.txt
Visit this page in order to get your save restored:
http://pokemon3d.net/forum/forums/backup_support/create-thread

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

Game information:

Pokémon 3D Indev version: 0.49.1 (80)
Content Packs: {}
Active GameMode: Pokemon Universal 3D
GameJolt Account: FALSE
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: System\GlobalMain; Line: 4
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=System\GlobalIntro.dat
UsedStrength=False
EntityCount=31

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

System specifications:

Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
Core architecture: 64 Bit
System time: 28/7/2014 4:44:28 PM
System language: English (Singapore)(ENE) / Loaded game language: en
Decimal separator: .
Available physical memory: 7.98 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.50938
  Full  4.5.50938
v4.0  
  Client  4.0.0.0

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

Graphics Card information:

[CardName(s): "NVIDIA GeForce GT 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: 2.5DHero

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

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

Error ID: 202
Error Type: Scripts
Error Description: The game crashed trying to process a script.
Error Solution: If this is caused by your GameMode, make sure the syntax in the script or map file is correct.

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

CallStack:

  at _2._5DHero.ScriptComparer.GetArgumentValue(Object inputString)
  at _2._5DHero.ScriptComparer.GetCommandArgument(String inputString)
  at _2._5DHero.ScriptCommander.DoText(String subClass)
  at _2._5DHero.ScriptCommander.InizializeCommand(ScriptV2& ScriptV2, String inputString)
  at _2._5DHero.ScriptV2.DoCommand()
  at _2._5DHero.ScriptV2.Update()
  at _2._5DHero.Script.Update()
  at _2._5DHero.ActionScript.Update()
  at _2._5DHero.OverworldScreen.Update()
  at _2._5DHero.Basic.Update(GameTime gameTime)
  at _2._5DHero.DGame.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 _2._5DHero.Program.Main(String[] args)

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

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
Confirmed for 0.53, what I noticed is that it crashes if you put the index number of an empty slot or the pokemon that you just added (for some reason it treats it as an empty slot as well)
but if you added the pokemon then moved it to a PC and took it out, the construct won't crash the game.
 

nilllzz

Original Developer
Administrator
P3D Developer
Yeah, "randomly" is incorrect.
It only crashes under certain specific circumstances, which is like, the opposite of random.
 
J

jianmingyong

Guest
The reason I mention randomly is because it crashes not just the only two condition above back then when I can't get constant result when implementing a custom battle script.

I have a party that are not newly added, and what I do is to run that construct and if there are no nickname, it would crash sometime without knowing why.

So now it might be fix but partially.
 
Top