• ✨ 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 [Indev 0.49.1] PSS Profile Crash

Fanta

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

I opened the PSS Passby, and I was checking the profile of someone, then pressed E and it crashed, I am not sure if it is related to the guy I was checking because he left by the time I joined back.

Steps to reproduce:
1. I don't know how to reproduce this.
2. I am just posting this in case you can find something in the crash log.
...

Code:
---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.49.1 (80)
Content Packs: {Anime Cries,DEHDMP}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (126000)
Playing on Servers: TRUE (Official P3D Server/karp.pokemon3d.net:15124)
Game Environment: PokegearScreen
Actionscript: No script running
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (PokegearScreen)

Screen state not implemented for screen class: PokegearScreen

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

Error information:

Message: Collection was modified; enumeration operation may not execute.
InnerException: NOTHING
BaseException: Collection was modified; enumeration operation may not execute.
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib

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

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.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at _2._5DHero.GameJolt.PokegearScreen.FillLocalList()
at _2._5DHero.GameJolt.PokegearScreen.UpdateLocalList()
at _2._5DHero.GameJolt.PokegearScreen.UpdatePSS()
at _2._5DHero.GameJolt.PokegearScreen.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)

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

Tornado9797

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

I opened the PSS Passby, and I was checking the profile of someone, then pressed E and it crashed, I am not sure if it is related to the guy I was checking because he left by the time I joined back.

Steps to reproduce:
1. I don't know how to reproduce this.
2. I am just posting this in case you can find something in the crash log.
...

Code:
---------------------------------------------------------------------------------

Game information:

Pokémon 3D Indev version: 0.49.1 (80)
Content Packs: {Anime Cries,DEHDMP}
Active GameMode: Pokemon 3D
GameJolt Account: TRUE (126000)
Playing on Servers: TRUE (Official P3D Server/karp.pokemon3d.net:15124)
Game Environment: PokegearScreen
Actionscript: No script running
File Validation: True
Sandboxmode: False

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

Screen state for the current screen (PokegearScreen)

Screen state not implemented for screen class: PokegearScreen

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

Error information:

Message: Collection was modified; enumeration operation may not execute.
InnerException: NOTHING
BaseException: Collection was modified; enumeration operation may not execute.
HelpLink: No helplink available.
Data: Items: 0
Source: mscorlib

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

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.ThrowHelper.ThrowInvalidOperationException(ExceptionResource resource)
at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
at System.Collections.Generic.List`1.Enumerator.MoveNext()
at _2._5DHero.GameJolt.PokegearScreen.FillLocalList()
at _2._5DHero.GameJolt.PokegearScreen.UpdateLocalList()
at _2._5DHero.GameJolt.PokegearScreen.UpdatePSS()
at _2._5DHero.GameJolt.PokegearScreen.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 could be a server issue, so I'm moving this to Server and Launcher Bugs.
 

nilllzz

Original Developer
Administrator
P3D Developer
Not related to Server or the Launcher software, moved back to Bugs.
And I love that type of crash btw, will try to fix. Happens when I edit items in a list while being in a for loop of the same list.
 

Fanta

Content Developer
P3D Developer
Global Moderator
Not related to Server or the Launcher software, moved back to Bugs.
And I love that type of crash btw, will try to fix. Happens when I edit items in a list while being in a for loop of the same list.
There's another bug that is happening these days in the game, but I don't know how to report it... It's related to the wonders trade feature.
Apparently sometimes when people catch pokemon, instead of getting that pokemon, they get one that is getting wonder traded at the exact moment, while the party involved in the wonder trade gets the caught pokemon instead.
so.....? how do I report this?
 

nilllzz

Original Developer
Administrator
P3D Developer
There's another bug that is happening these days in the game, but I don't know how to report it... It's related to the wonders trade feature.
Apparently sometimes when people catch pokemon, instead of getting that pokemon, they get one that is getting wonder traded at the exact moment, while the party involved in the wonder trade gets the caught pokemon instead.
so.....? how do I report this?
Good thing catching is not at all related to any networking actions. WonderTrade is not actually Peer to Peer as it appears to be.
At all times, one Pokémon is stored on the server. Once you use the feature, the online Pokémon gets replaced with the Pokémon you chose and the Pokémon on the server gets added to your team, then the animation plays.
These server connections can only be established in the Wondertrade screen environment. Besides that, the catching isn't related to any online features apart from the statistics. I would not believe that this is true unless proven otherwise. Have you been able to successfully recreate that behavior?
 

Fanta

Content Developer
P3D Developer
Global Moderator
Good thing catching is not at all related to any networking actions. WonderTrade is not actually Peer to Peer as it appears to be.
At all times, one Pokémon is stored on the server. Once you use the feature, the online Pokémon gets replaced with the Pokémon you chose and the Pokémon on the server gets added to your team, then the animation plays.
These server connections can only be established in the Wondertrade screen environment. Besides that, the catching isn't related to any online features apart from the statistics. I would not believe that this is true unless proven otherwise. Have you been able to successfully recreate that behavior?
To me, No, It never happened (can't remember the last time I wonder traded or caught a pokemon :p)
But I have witnessed it happening to people on the server.
1 case was someone who just started the game and caught a rattata, but he got an unown instead
another one tried to catch a fletchinder in the safari but got a lvl14 (obtained from the daycare) fletchling
Also, it happened to @Sparrow Lancaster where he wonder traded his cyndaquil to someone but the other guy got a rattata instead.

Anyway, that's why I didn't report it, cause I don't know anything about it (it is not necessarily wonder trade related issue, but I don't know what is it)
 

nilllzz

Original Developer
Administrator
P3D Developer
To me, No, It never happened (can't remember the last time I wonder traded or caught a pokemon :p)
But I have witnessed it happening to people on the server.
1 case was someone who just started the game and caught a rattata, but he got an unown instead
another one tried to catch a fletchinder in the safari but got a lvl14 (obtained from the daycare) fletchling
Also, it happened to @Sparrow Lancaster where he wonder traded his cyndaquil to someone but the other guy got a rattata instead.

Anyway, that's why I didn't report it, cause I don't know anything about it (it is not necessarily wonder trade related issue, but I don't know what is it)
Ah I see.
That is a misconception of how the Wondertrade actually works. As I said, it's not Peer to Peer. So your "Trade partner" doesn't actually receive the Pokémon you "give" him. The Pokémon you give away will be stored on the server for the next wondertrade user. The user that is your "Trade partner" uploaded the last Pokémon before you did.
If there was someone using the Wondertrade between Sparrow and the friend, then that person got the Cyndaquil and probably uploaded a Rattata.
 

Fanta

Content Developer
P3D Developer
Global Moderator
Ah I see.
That is a misconception of how the Wondertrade actually works. As I said, it's not Peer to Peer. So your "Trade partner" doesn't actually receive the Pokémon you "give" him. The Pokémon you give away will be stored on the server for the next wondertrade user. The user that is your "Trade partner" uploaded the last Pokémon before you did.
If there was someone using the Wondertrade between Sparrow and the friend, then that person got the Cyndaquil and probably uploaded a Rattata.
Ahh, That explains the wonders trade issue but not the catching issue, but either way, since I don't know how to reproduce it and no much details is available about it, you can ignore it until I can find something solid ;), thanks.
 
Top