• ✨ 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 Trying to Co-Op

Isshen

Starting Trainer
Every time I try to join a Co-Op game, it crashes, and when people try to connect to me, it says it can't connect. What am I doing wrong?

Also here's the error.
Code:
Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.39
Operating system: Microsoft Windows 7 Ultimate  [6.1.7601.65536]
System time: 21.11.2013 0:56:03
System language: ETILoaded language: en
Decimal seperator: ,
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (132529)
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: Object reference not set to an instance of an object.
InnerException: NOTHING
BaseException: Object reference not set to an instance of an object.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: System
TargetSite: Name: get_Connected [
  Attributes: PrivateScope, Public, HideBySig, SpecialName
  CallingConvention: Standard, HasThis
  ContainsGenericParameters: False
  DeclaringType: System.Net.Sockets.TcpClient
  IsAbstract: False
  IsAssembly: False
  IsConstructor: False
  IsFamily: False
  IsFamilyAndAssembly: False
  IsFamilyOrAssembly: False
  IsFinal: False
  IsGenericMethod: False
  IsGenericMethodDefinition: False
  IsHideBySig: True
  IsPrivate: False
  IsPublic: True
  IsSecurityCritical: True
  IsSecuritySafeCritical: True
  IsSecurityTransparent: False
  IsSpecialName: True
  IsStatic: False
  IsVirtual: False
  MemberType: Method
  MetadataToken: 100675659
  MethodHandle: System.RuntimeMethodHandle
  Module: System.dll
  ReflectedType: System.Net.Sockets.TcpClient
  ]

StackTrace:  at System.Net.Sockets.TcpClient.get_Connected()
  at _2._5DHero.TCPClientClass.Update(String IP)
  at _2._5DHero.Level.UpdateConnection()
  at _2._5DHero.Level.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)
 

Tornado9797

Content Developer
P3D Developer
Global Moderator
Every time I try to join a Co-Op game, it crashes, and when people try to connect to me, it says it can't connect. What am I doing wrong?

Also here's the error.

Kolben Games Crash Log V 1.0
Pokémon 3D has crashed!
---------------------------

System specifications:
Pokémon 3D version: 0.39
Operating system: Microsoft Windows 7 Ultimate [6.1.7601.65536]
System time: 21.11.2013 0:56:03
System language: ETILoaded language: en
Decimal seperator: ,
Content Packs: {}
Active GameMode: Pokemon 3D
Operating online: TRUE (132529)
Game environment: OverworldScreen
Actionscript: No script running
---------------------------

Here is further information:
Message: Object reference not set to an instance of an object.
InnerException: NOTHING
BaseException: Object reference not set to an instance of an object.
HelpLink: No helplink available.
Data: System.Collections.ListDictionaryInternal
Source: System
TargetSite: Name: get_Connected [
Attributes: PrivateScope, Public, HideBySig, SpecialName
CallingConvention: Standard, HasThis
ContainsGenericParameters: False
DeclaringType: System.Net.Sockets.TcpClient
IsAbstract: False
IsAssembly: False
IsConstructor: False
IsFamily: False
IsFamilyAndAssembly: False
IsFamilyOrAssembly: False
IsFinal: False
IsGenericMethod: False
IsGenericMethodDefinition: False
IsHideBySig: True
IsPrivate: False
IsPublic: True
IsSecurityCritical: True
IsSecuritySafeCritical: True
IsSecurityTransparent: False
IsSpecialName: True
IsStatic: False
IsVirtual: False
MemberType: Method
MetadataToken: 100675659
MethodHandle: System.RuntimeMethodHandle
Module: System.dll
ReflectedType: System.Net.Sockets.TcpClient
]

StackTrace: at System.Net.Sockets.TcpClient.get_Connected()
at _2._5DHero.TCPClientClass.Update(String IP)
at _2._5DHero.Level.UpdateConnection()
at _2._5DHero.Level.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)
Though I can't tell what's happening through the crash log, can you please put it in a code module? (It gets rid of the faces).
 
Top