• ✨ 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.2] Crash Attempting to Rematch Trainer

camacam

Trainer
Describe the bug you experienced here.

What I expected to happen:
...battle a trainer for rematch battle

What actually happened:
... game crash after talking to trainer

Steps to reproduce:
1. ...
2. ...
...

(Add a crash log here if available and enclose it in the code tag with this button:
)
 

Attachments

Tornado9797

Content Developer
P3D Developer
Global Moderator
Describe the bug you experienced here.

What I expected to happen:
...battle a trainer for rematch battle

What actually happened:
... game crash after talking to trainer

Steps to reproduce:
1. ...
2. ...
...

(Add a crash log here if available and enclose it in the code tag with this button:
)
Could you please copy and paste the contents of the crash log you posted into a Code Module (< > button in the formatting menu)? Mobile Internet users, such as myself, cannot analyze the crash if you just leave it in the Uploaded Files section of your post.
 

Fanta

Content Developer
P3D Developer
Global Moderator
there is no such file with the name 33001.trainer in the game, I believe that you had a very old version of the game that you have recently updated and that had a file with that name before, can you go to "C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer" and check if there is a file with the name 33001? if so, then delete it.


Could you please copy and paste the contents of the crash log you posted into a Code Module (< > button in the formatting menu)? Mobile Internet users, such as myself, cannot analyze the crash if you just leave it in the Uploaded Files section of your post.
Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// Work! Pleeeeeeeease?

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

Game information:

Pokémon 3D Indev version: 0.53.2 (89)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (150500)
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: trainer\route33\001; Line: 16
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=route33.dat
UsedStrength=False
EntityCount=512

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

System specifications:

Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
Core architecture: 32 Bit
System time: 10/16/2015 8:58:41 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 2.99 Gigabyte
Available logical processors: 2

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

.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.0.30319

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

Graphics Card information:

[CardName(s): "Intel(R)  Q965/Q963 Express Chipset Family"]
[CardRAM(s) : "402653184"]

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

Error information:

Message: Could not find file 'C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer\33001.trainer'.
InnerException: NOTHING
BaseException: Could not find file 'C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer\33001.trainer'.
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
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 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileInfo.get_Length()
   at net.Pokemon3D.Game.Security.FileValidation.ValidateFile(String file, Boolean relativePath)
   at net.Pokemon3D.Game.Security.FileValidation.CheckFileValid(String file, Boolean relativePath, String origin)
   at net.Pokemon3D.Game.Trainer..ctor(String TrainerFile)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.DoBattle(String subClass)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.ExecuteCommand(ScriptV2& ScriptV2, String inputString)
   at net.Pokemon3D.Game.ScriptV2.DoCommand()
   at net.Pokemon3D.Game.ScriptV2.Update()
   at net.Pokemon3D.Game.Script.Update()
   at net.Pokemon3D.Game.ActionScript.ChooseIf(Boolean T)
   at net.Pokemon3D.Game.ScriptV2.DoIf()
   at net.Pokemon3D.Game.ScriptV2.Update()
   at net.Pokemon3D.Game.Script.Update()
   at net.Pokemon3D.Game.ActionScript.Update()
   at net.Pokemon3D.Game.OverworldScreen.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:

   Private _actionScript As ActionScript = net.Pokemon3D.Game.ActionScript
   Private _particlesTexture As Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D
   Private _trainerEncountered As Boolean = False
   Private _titles As List<Title>[] = {}
   Private ShowControlsDelay As Single = 8
   Private Shared _fadeValue As Int32 = 0
   Private Shared _drawRodID As Int32 = -1
   Public UpdateFadeOut As Boolean = False
   Public UpdateFadeIn As Boolean = False

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

You should report this error.

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

Tornado9797

Content Developer
P3D Developer
Global Moderator
there is no such file with the name 33001.trainer in the game, I believe that you had a very old version of the game that you have recently updated and that had a file with that name before, can you go to "C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer" and check if there is a file with the name 33001? if so, then delete it.



Code:
Kolben Games Crash Log V 2.4
Pokémon 3D has crashed!
// Work! Pleeeeeeeease?

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

Game information:

Pokémon 3D Indev version: 0.53.2 (89)
Content Packs: {}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (150500)
Playing on Servers: FALSE
Game Environment: OverworldScreen
Actionscript: Type: Script; Input: trainer\route33\001; Line: 16
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (OverworldScreen)

IsSurfing=False
IsRiding=False
LevelFile=route33.dat
UsedStrength=False
EntityCount=512

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

System specifications:

Operating system: Microsoft Windows 7 Home Premium  [6.1.7601.65536]
Core architecture: 32 Bit
System time: 10/16/2015 8:58:41 PM
System language: English (United States)(ENU) / Loaded game language: en
Decimal separator: .
Available physical memory: 2.99 Gigabyte
Available logical processors: 2

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

.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.0.30319

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

Graphics Card information:

[CardName(s): "Intel(R)  Q965/Q963 Express Chipset Family"]
[CardRAM(s) : "402653184"]

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

Error information:

Message: Could not find file 'C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer\33001.trainer'.
InnerException: NOTHING
BaseException: Could not find file 'C:\Users\rurunning\Downloads\Pokemon\Scripts\Trainer\33001.trainer'.
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib
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 System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.FileInfo.get_Length()
   at net.Pokemon3D.Game.Security.FileValidation.ValidateFile(String file, Boolean relativePath)
   at net.Pokemon3D.Game.Security.FileValidation.CheckFileValid(String file, Boolean relativePath, String origin)
   at net.Pokemon3D.Game.Trainer..ctor(String TrainerFile)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.DoBattle(String subClass)
   at net.Pokemon3D.Game.ScriptVersion2.ScriptCommander.ExecuteCommand(ScriptV2& ScriptV2, String inputString)
   at net.Pokemon3D.Game.ScriptV2.DoCommand()
   at net.Pokemon3D.Game.ScriptV2.Update()
   at net.Pokemon3D.Game.Script.Update()
   at net.Pokemon3D.Game.ActionScript.ChooseIf(Boolean T)
   at net.Pokemon3D.Game.ScriptV2.DoIf()
   at net.Pokemon3D.Game.ScriptV2.Update()
   at net.Pokemon3D.Game.Script.Update()
   at net.Pokemon3D.Game.ActionScript.Update()
   at net.Pokemon3D.Game.OverworldScreen.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:

   Private _actionScript As ActionScript = net.Pokemon3D.Game.ActionScript
   Private _particlesTexture As Texture2D = Microsoft.Xna.Framework.Graphics.Texture2D
   Private _trainerEncountered As Boolean = False
   Private _titles As List<Title>[] = {}
   Private ShowControlsDelay As Single = 8
   Private Shared _fadeValue As Int32 = 0
   Private Shared _drawRodID As Int32 = -1
   Public UpdateFadeOut As Boolean = False
   Public UpdateFadeIn As Boolean = False

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

You should report this error.

Go to "http://pokemon3d.net/forum/forums/6/create-thread" to report this crash there.
In that instance I would suggest completely deleting your Content, maps, and Scripts folders before you redownload the game.
 
J

jianmingyong

Guest
-_-

:if:<player.badges>>1
:if:<register.registered(rematch_007_1)>=true
@battle.trainer(route33\33001_2)
:else
@register.register(rematch_007_1)
@battle.trainer(route33\33001_1)
:endif
:else
@battle.trainer(33001)
:endif

It is a typo... not old version.
 

Fanta

Content Developer
P3D Developer
Global Moderator
-_-

:if:<player.badges>>1
:if:<register.registered(rematch_007_1)>=true
@battle.trainer(route33\33001_2)
:else
@register.register(rematch_007_1)
@battle.trainer(route33\33001_1)
:endif
:else
@battle.trainer(33001)
:endif

It is a typo... not old version.
Guess it's a bug then.
 

camacam

Trainer
Describe the bug you experienced here.

What I expected to happen:
...battle a trainer for rematch battle

What actually happened:
... game crash after talking to trainer

Steps to reproduce:
1. ...
2. ...
...

(Add a crash log here if available and enclose it in the code tag with this button:
)
the problem stopped happening after i got the third gym badge so it might have just been a bug
 

Fanta

Content Developer
P3D Developer
Global Moderator
the problem stopped happening after i got the third gym badge so it might have just been a bug
Yea, that just re-confirms it, the script is supposed to work fine after you get your first badge at its current state.
 
Top