Critical Error

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
THE__DRIFTER
Posts: 12
Joined: 2008-03-04 05:43

[SOLVED]Critical Error

Post by THE__DRIFTER »

What should I be looking for?

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-01-08T23:53:36

Critical Error: An unhandled exception has occured. Details are as follows:

An attempt was made to access a socket in a way forbidden by its access permissions

Further details can be found in the following file:

[url]F:\Games\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.Net.Sockets.SocketException (0x80004005): An attempt was made to access a socket in a way forbidden by its access permissions
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at System.Net.Sockets.TcpListener.Start(Int32 backlog)
   at Reality.BF2.GameSpy.MasterServer.ListRetrieveServer.Start(UInt16 )
   at Reality.BF2.GameSpy.MasterServer.LocalMasterServer.StartServers()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1_0(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Windows 10 64 bit current build as far as I know. Been a long while since I have played and I know a lot has changed. This is a stand alone version originally bought in a series on dvd / cd and then updated with origin.
Last edited by THE__DRIFTER on 2021-02-21 04:06, edited 1 time in total.
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2177
Joined: 2016-10-12 13:25
Location: Poland

Re: Critical Error

Post by Suchar »

F:\Games\mods\pr\bin\PRLauncher.log

Are you aware that in this case "\Games" is the main directory of PR? How did you install it?

Did you install it as a BF2 mod? PR doesn't care about your BF2, we are standalone. If you installed PR as a BF2 mod, you certainly broke your BF2, not sure about PR.
Image
Lonely
Posts: 2
Joined: 2021-02-04 11:43

Re: Critical Error

Post by Lonely »

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-02-04T18:45:59

Critical Error: An unhandled exception has occured. Details are as follows:

Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.
   at ??.?..()
   at ??.?.()
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
User avatar
Suchar
PR:BF2 Lead Developer
Posts: 2177
Joined: 2016-10-12 13:25
Location: Poland

Re: Critical Error

Post by Suchar »

Lonely wrote:

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2021-02-04T18:45:59

Critical Error: An unhandled exception has occured. Details are as follows:

Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.

Further details can be found in the following file:

[url]C:\Program Files (x86)\Project Reality\Project Reality BF2\mods\pr\bin\PRLauncher.log[/url]

Please report this error to the Project Reality Team, and include the log file in your report.

[url=https://www.realitymod.com/forum/forumdisplay.php?f=27]Visit Support Forum[/url]

 > System.MissingMethodException: Method not found: 'Int32 System.Runtime.InteropServices.Marshal.SizeOf(!!0)'.
   at ??.?..()
   at ??.?.()
   at Reality.BF2.Settings.Video.GetDefaultResolution()
   at Reality.BF2.Settings.Video.CreateDefault(UInt16 )
   at -.f.a()
   at -.f.OnStartup(StartupEventArgs a)
   at System.Windows.Application.<.ctor>b__1(Object unused)
   at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
   at MS.Internal.Threading.ExceptionFilterHelper.TryCatchWhen(Object source, Delegate method, Object args, Int32 numArgs, Delegate catchHandler)
This is a completely different and unrelated error. Click to open relevant thread.
Image
Lonely
Posts: 2
Joined: 2021-02-04 11:43

Re: Critical Error

Post by Lonely »

oh my bad
THE__DRIFTER
Posts: 12
Joined: 2008-03-04 05:43

Re: Critical Error

Post by THE__DRIFTER »

Thought I had marked this completed /resolved but I had not. So far this is working well. Really missed this mod but too bad I cannot seem to get friends to play. I'm old school so will just tough it out in single player.

As always, thank you for this mod and all the hard work. I wish I could do more but have zero code skills. Maybe there is something else that can be done? Thats a new thread though so goodnight all.
Post Reply

Return to “PR:BF2 Support”