• ✨ 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 [0.31] Crash when trying to battle swimmer on route 41

Status
Not open for further replies.

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Bug seems like a pretty simple fix.
System specifications:
Pokémon 3D version: 0.31
Operating system: Microsoft Windows 7 Ultimate [6.1.7600.0]
Decimal seperator: .
---------------------------

Here is further information:
Message: Could not find a part of the path 'C:\Users\owner\Games\Try2\Pokemon\Scripts\trainer\route41\002.dat'.
InnerException: NOTHING
BaseException: Could not find a part of the path 'C:\Users\owner\Games\Try2\Pokemon\Scripts\trainer\route41\002.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: 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.InternalReadAllText(String path, Encoding encoding)
at System.IO.File.ReadAllText(String path)
at _2._5DHero.ActionScript.StartScript(String Input, Int32 InputType)
at _2._5DHero.NPC.ActivateScript()
at _2._5DHero.NPC.ClickFunction()
at _2._5DHero_OverworldCamera.CheckEntity()
at _2._5DHero_OverworldCamera.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)

Edit: This applies to 001.dat as well.
 

Darkfire

Administrator
Administrator
P3D Developer
oops some files got left out in the uploading process
All r41 trainers will crash the game....
Nilllzz is uploading a fix now
Good luck dodging them all til then ;)
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
oops some files got left out in the uploading process
All r41 trainers will crash the game....
Nilllzz is uploading a fix now
Good luck dodging them all til then ;)
Thankfully they won't initiate fights! Man, that would be completely crazy otherwise.
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Still broken

System specifications:
Pokémon 3D version: 0.31.1
Operating system: Microsoft Windows 7 Ultimate [6.1.7600.0]
Decimal seperator: .
---------------------------

Here is further information:
Message: Could not find a part of the path 'C:\Users\owner\Games\Try2\Pokemon\Scripts\trainer\route41\002.dat'.
InnerException: NOTHING
BaseException: Could not find a part of the path 'C:\Users\owner\Games\Try2\Pokemon\Scripts\trainer\route41\002.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: 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.InternalReadAllText(String path, Encoding encoding)
at System.IO.File.ReadAllText(String path)
at _2._5DHero.ActionScript.StartScript(String Input, Int32 InputType)
at _2._5DHero.NPC.ActivateScript()
at _2._5DHero.NPC.ClickFunction()
at _2._5DHero_OverworldCamera.CheckEntity()
at _2._5DHero_OverworldCamera.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)
 

Darkfire

Administrator
Administrator
P3D Developer
Oh god.....
I must appologize nilllzz has not gotten enough sleep apparently and he ended up putting the trainers in the wrong folder
If you really want to battle those trainers then you need to goto the /scripts/ folder and move the /route41/ foulder into the /trainer/ folder
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
Oh god.....
I must appologize nilllzz has not gotten enough sleep apparently and he ended up putting the trainers in the wrong folder
If you really want to battle those trainers then you need to goto the /scripts/ folder and move the /route41/ foulder into the /trainer/ folder
Ah man, I understand. Of course, I'm screwing around right now, but I was up until 5:30am on Monday finishing O chem and physics. I'll just move that folder for now, thanks man.
 

Malcaroni

Bugs Moderator
Trusted Support
Retired Mod
O...this is awkward.

The trainers now begin to talk to you, but as soon as the dialog is done, the game crashes.

Crash report after cutting or copying the folder as instructed:
System specifications:
Pokémon 3D version: 0.31.1
Operating system: Microsoft Windows 7 Ultimate [6.1.7600.0]
Decimal seperator: .
---------------------------

Here is further information:
Message: An unexpected error has occurred.
InnerException: NOTHING
BaseException: An unexpected error has occurred.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: Microsoft.Xna.Framework.Graphics
TargetSite: Name: .ctor [
Attributes: PrivateScope, Assembly, HideBySig, SpecialName, RTSpecialName
CallingConvention: Standard, HasThis
ContainsGenericParameters: False
DeclaringType: Microsoft.Xna.Framework.Graphics.Texture2D
IsAbstract: False
IsAssembly: True
IsConstructor: True
IsFamily: False
IsFamilyAndAssembly: False
IsFamilyOrAssembly: False
IsFinal: False
IsGenericMethod: False
IsGenericMethodDefinition: False
IsHideBySig: True
IsPrivate: False
IsPublic: False
IsSecurityCritical: True
IsSecuritySafeCritical: True
IsSecurityTransparent: False
IsSpecialName: True
IsStatic: False
IsVirtual: False
MemberType: Constructor
MetadataToken: 100663846
MethodHandle: System.RuntimeMethodHandle
Module: Microsoft.Xna.Framework.Graphics.dll
ReflectedType: Microsoft.Xna.Framework.Graphics.Texture2D
]

StackTrace: at Microsoft.Xna.Framework.Graphics.Texture2D..ctor(GraphicsDevice graphicsDevice, Stream stream, Int32 width, Int32 height, XnaImageOperation operation)
at Microsoft.Xna.Framework.Graphics.Texture2D.FromStream(GraphicsDevice graphicsDevice, Stream stream)
at _2._5DHero.Textures.GetTexture(String Name, Rectangle r, String TexturePath)
at _2._5DHero.Textures.GetTexture(String Name, Rectangle r)
at _2._5DHero.BattleIniScreen.DrawTrainerIntro()
at _2._5DHero.BattleIniScreen.Draw()
at _2._5DHero.Basic.Draw()
at _2._5DHero.DGame.Draw(GameTime gameTime)
at Microsoft.Xna.Framework.Game.DrawFrame()
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)
 

Darkfire

Administrator
Administrator
P3D Developer
Oh god oh god why..............They are missing the textures.....
Each .trainer file in the folder i told you to move should have either a 34(male) or 35(female) on line 8(TextureID|)
I will have nilllzz fix this.......
 

Darkfire

Administrator
Administrator
P3D Developer
Yep.......Use what malcom gave above it should work(havent checked it yet my self but.....)
 

Genshie

Pokémon Ranger
It does.(Wrong background during battles though, not even on the beach just in the forest whenever the battle starts) My only complaint as of right now is that route 41 lags like heck and the level 40+ Tentacruels. Omg....
 
Status
Not open for further replies.
Top