• ✨ 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 crash when going to new safari area (version 0.40)

dylanwicorek

Active Member
I was trying to move to a new safari area when the game crashed.
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 7 Professional  [6.1.7601.65536]
System time: 12/10/2013 7:38:43 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (48889)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: safarizone\next area; Line: 0
---------------------------

Here is further information:
Message: Could not find file 'E:\Pokemon\Scripts\safarizone\next area.dat'.
InnerException: NOTHING
BaseException: Could not find file 'E:\Pokemon\Scripts\safarizone\next area.dat'.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: WinIOError [
  Attributes: PrivateScope, Assembly, Static, HideBySig
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: System.IO.__Error
  IsAbstract: False
  IsAssembly: True
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: False
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100680644
  MethodHandle: System.RuntimeMethodHandle
  Module: CommonLanguageRuntimeLibrary
  ReflectedType: System.IO.__Error
  ]

StackTrace:  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
  at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
  at System.IO.File.ReadAllText(String path)
  at _2._5DHero.ActionScript.StartScript(String Input, Int32 InputType, Boolean CheckDelay)
  at _2._5DHero.ScriptCommander.DoScript(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.ChooseIf(Boolean T)
  at _2._5DHero.ScriptV2.DoIf()
  at _2._5DHero.ScriptV2.Update()
  at _2._5DHero.Script.Update()
  at _2._5DHero.ActionScript.ChooseIf(Boolean T)
  at _2._5DHero.ScriptV2.DoIf()
  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/forums/6/create-thread/" to report this crash there.
 

Darkfire

Administrator
Administrator
P3D Developer
well erm.....it wasnt the same bug it was a different one.....
fixed for next version though.....
 

dylanwicorek

Active Member
here is another crash that may be similar to this one
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.40
Operating system: Microsoft Windows 7 Professional  [6.1.7601.65536]
System time: 12/10/2013 7:59:53 PM
System language: ENU Loaded language: en
Decimal seperator: .
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (48889)
Game environment: OverworldScreen
Actionscript: Type: Script; Input: safarizone\next area; Line: 0
---------------------------

Here is further information:
Message: Could not find file 'E:\Pokemon\Scripts\safarizone\next area.dat'.
InnerException: NOTHING
BaseException: Could not find file 'E:\Pokemon\Scripts\safarizone\next area.dat'.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: mscorlib
TargetSite: Name: WinIOError [
  Attributes: PrivateScope, Assembly, Static, HideBySig
  CallingConvention: Standard
  ContainsGenericParameters: False
  DeclaringType: System.IO.__Error
  IsAbstract: False
  IsAssembly: True
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: False
  IsPublic: False
  IsSecurityCritical: True
  IsSecuritySafeCritical: False
  IsSecurityTransparent: False
  IsSpecialName: False
  IsStatic: True
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100680644
  MethodHandle: System.RuntimeMethodHandle
  Module: CommonLanguageRuntimeLibrary
  ReflectedType: System.IO.__Error
  ]

StackTrace:  at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
  at System.IO.FileStream.Init(String path, FileMode mode, FileAccess access, Int32 rights, Boolean useRights, FileShare share, Int32 bufferSize, FileOptions options, SECURITY_ATTRIBUTES secAttrs, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, String msgPath, Boolean bFromProxy, Boolean useLongPath, Boolean checkHost)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
  at System.IO.File.InternalReadAllText(String path, Encoding encoding, Boolean checkHost)
  at System.IO.File.ReadAllText(String path)
  at _2._5DHero.ActionScript.StartScript(String Input, Int32 InputType, Boolean CheckDelay)
  at _2._5DHero.ScriptCommander.DoScript(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.ChooseIf(Boolean T)
  at _2._5DHero.ScriptV2.DoIf()
  at _2._5DHero.ScriptV2.Update()
  at _2._5DHero.Script.Update()
  at _2._5DHero.ActionScript.ChooseIf(Boolean T)
  at _2._5DHero.ScriptV2.DoIf()
  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/forums/6/create-thread/" to report this crash there.
i was just walking when it happened
 

Darkfire

Administrator
Administrator
P3D Developer
it is the same error
the issue is that when it randomizes the next level
the script goes like this:
random gen number
check if map has been visited
if the map has been visited then run script "next area.dat" however the script is actually "nextarea.dat" with no space so it fails with a crash
 
Top