• ✨ 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 pokedex location crash (.32)

Status
Not open for further replies.

Liamash3

Dragon Tamer
Donator
My game crashed when I was looking through the pokedex. The error.dat says it was missing the alph pokedex data file
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.32
Operating system: Microsoft Windows 7 Home Premium [6.1.7601.65536]
Decimal seperator: .
---------------------------

Here is further information:
Message: Could not find file 'C:\Users\Liam\Documents\Game Stuff\PC\Pokemon3D\Pokemon\maps\poke\alph01.poke'.
InnerException: NOTHING
BaseException: Could not find file 'C:\Users\Liam\Documents\Game Stuff\PC\Pokemon3D\Pokemon\maps\poke\alph01.poke'.
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: 100679642
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)
at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
at System.IO.StreamReader..ctor(String path, Encoding encoding)
at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
at System.IO.File.ReadAllLines(String path)
at _2._5DHero.PokedexScreen.InitializeHabitat()
at _2._5DHero.PokedexScreen.UpdateHabitat()
at _2._5DHero.PokedexScreen.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/issues/" to report this crash there.
 

Darkfire

Administrator
Administrator
P3D Developer
can you try and find this file?
either upload it or copy paste the contents
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Here's the crash report for mine.
The bug is fixed by copying the files in \Pokemon\maps\poke\alph to \Pokemon\maps\poke


Code:
System specifications:
Pokémon 3D version: 0.32
Operating system: Microsoft Windows 7 Ultimate  [6.1.7600.0]
Decimal seperator: .
---------------------------
 
Here is further information:
Message: Could not find file 'C:\Users\owner\Games\Pokemon3D new\Pokemon\maps\poke\alph01.poke'.
InnerException: NOTHING
BaseException: Could not find file 'C:\Users\owner\Games\Pokemon3D new\Pokemon\maps\poke\alph01.poke'.
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: 100679083
  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)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
  at System.IO.StreamReader..ctor(String path, Encoding encoding)
  at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
  at System.IO.File.ReadAllLines(String path)
  at _2._5DHero.PokedexScreen.InitializeHabitat()
  at _2._5DHero.PokedexScreen.UpdateHabitat()
  at _2._5DHero.PokedexScreen.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)
 

Lilligant

Retired Moderator
Trusted Support
Retired Mod
Darkfire
While reading through Malcom's report, I noticed the "IsSecurityCritical" was True and "IsSecuritySafeCritical" was False, is that part of the problem?
 

Liamash3

Dragon Tamer
Donator
Darkfire - I...put the error file in the spoiler tag when I first posted.
@Malcolm - thanks for how to fix it! It'd be a pain not being able to check where the new pokemon are :)
 

Darkfire

Administrator
Administrator
P3D Developer
Here's the crash report for mine.
The bug is fixed by copying the files in \Pokemon\maps\poke\alph to \Pokemon\maps\poke


Code:
System specifications:
Pokémon 3D version: 0.32
Operating system: Microsoft Windows 7 Ultimate  [6.1.7600.0]
Decimal seperator: .
---------------------------
 
Here is further information:
Message: Could not find file 'C:\Users\owner\Games\Pokemon3D new\Pokemon\maps\poke\alph01.poke'.
InnerException: NOTHING
BaseException: Could not find file 'C:\Users\owner\Games\Pokemon3D new\Pokemon\maps\poke\alph01.poke'.
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: 100679083
  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)
  at System.IO.FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options)
  at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize)
  at System.IO.StreamReader..ctor(String path, Encoding encoding)
  at System.IO.File.InternalReadAllLines(String path, Encoding encoding)
  at System.IO.File.ReadAllLines(String path)
  at _2._5DHero.PokedexScreen.InitializeHabitat()
  at _2._5DHero.PokedexScreen.UpdateHabitat()
  at _2._5DHero.PokedexScreen.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)
This is a break between a new system and an old one
nillzz forgot to tell the game to look for .poke files in the new location
poke files are now sorted by where the corresponding map file's location is(so if a map file is in the maps folder and no subfolders then the poke file is in the pokemon folder but if the file is in the maps sub folder xxx then the file path for the poke file needs to be /poke/xxx/file.poke) much as battle maps are as well.
however it looks like the habitat mode was not redirected
i will mention this to nilllzz(coincidentaly the game also doesn't check gamemodes for these files and always reads the vanilla ones)
 

Darkfire

Administrator
Administrator
P3D Developer
So...gamemodes can edit the pokedex locations now? :)
Nice to know it'd be fixed next update. Thanks, Darkfire.
We have been able to edit the Pokemon locations but not that the pokedex directs them
that is still not in
so right now if you look in habitat mode of a silver's soul download for burned tower f1 it will show you numbers 019, 109, 041, and 020(which are not rattata, koffing, Zubat and raticate in silvers soul but rather torchic, Gallade, glaceon, and combusken) while in reality 9 different pokemon specias reside in the first floor of the burned tower in silver's soul
 
Status
Not open for further replies.
Top