CRASH AFTER 5 MIN ONLINE PVP

Help and support regarding PR:BF2 installation and in-game issues
Post Reply
Sexy_SnipeR
Posts: 14
Joined: 2017-10-22 14:40

CRASH AFTER 5 MIN ONLINE PVP

Post by Sexy_SnipeR »

Hello fellow dev, i don't know whats wrong with the game. i was able to play nicely until the last update.3 month i did play pr .i was hoping for a fixed.i try my best to get dump files but no dump was left after the game close itself(i don't think its a crash ). The game work fine in single player as i get on pvp after 5 to 6 min the game close itself.
i managed to get a log but am not sure its useful.

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-07-01T19:59:06

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

Failed sending keep alive

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/f27-pr-bf2-support]Visit Support Forum[/url]

 > System.InvalidOperationException: Failed sending keep alive
   at Reality.BF2.GameSpy.MasterServer.SocketState.(Object )
   at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   at System.Threading.TimerQueueTimer.CallCallback()
   at System.Threading.TimerQueueTimer.Fire()
   at System.Threading.TimerQueue.FireNextTimers()

thank you for looking in :roll:
WeeD-KilleR
Posts: 792
Joined: 2009-11-01 13:32

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by WeeD-KilleR »

The error messages pretty much says it all. For online play PRlauncher requires a permanent connection to the master server. If that connection drops, the launcher drops you out of the game. Possible solutions is to whitelist PR or disable your AV or firewall.
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

WeeD-KilleR wrote:The error messages pretty much says it all. For online play PRlauncher requires a permanent connection to the master server. If that connection drops, the launcher drops you out of the game. Possible solutions is to whitelist PR or disable your AV or firewall.
This is actually not the connection to the remote master server, but to the local one we use to connect to pr:bf2. ;)
Solution is the same tho: Make sure loopback is not blocked by AV or firewall and make sure to run PR as admin.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Sexy_SnipeR
Posts: 14
Joined: 2017-10-22 14:40

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Sexy_SnipeR »

i run that launcher as admin , i think so dose the game. i will try to add rules on firewall and report back
Sexy_SnipeR
Posts: 14
Joined: 2017-10-22 14:40

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Sexy_SnipeR »

issue still remain the same :( what should i do next ?
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

What anti virus do you use and please post your hosts file
Image

Mineral: TIL that Wire-guided missiles actually use wire
Sexy_SnipeR
Posts: 14
Joined: 2017-10-22 14:40

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Sexy_SnipeR »

i don't have antivirus i just uninstall all defensive system and windows defender is off.
many people seem to have this issue. i think the launcher is having a bug !!! that might your side ??
can i have a old launcher or a good one so that i can copy past.??
my host look clean :/
# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost128.199.121.125 sladp.com
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

Sexy_SnipeR wrote:i don't have antivirus i just uninstall all defensive system and windows defender is off.
many people seem to have this issue. i think the launcher is having a bug !!! that might your side ??
can i have a old launcher or a good one so that i can copy past.??
my host look clean :/
Yea it might be our side, but I did not hear of anyone else having this problem. If anyone does, please let us know as the more information we can get the faster we can fix this.
That being said, I cannot give you some "fixed" file and it will work. :( Once we figure out the cause we need to make a new patch with the fix. If we did not find the problem until the weekend, would you have time to meet in some instant messenger to do some more live debugging? I know that timezones will make that one quite difficult tho.
Image

Mineral: TIL that Wire-guided missiles actually use wire
SCAR-H
Posts: 20
Joined: 2017-07-10 05:19

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by SCAR-H »

i have same crash

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-07-02T21:38:59

Warning: Error in game thread: 3

 > Could not find address of Node upd_launcher
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

SCAR-H wrote:i have same crash

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-07-02T21:38:59

Warning: Error in game thread: 3

 > Could not find address of Node upd_launcher
Thats not even remotely the same error. That error also should not get raised 5min into the game but 5sec after entering the main menu.
Image

Mineral: TIL that Wire-guided missiles actually use wire
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

I changed the way it handles errors here now. It will log the error and just continue. However this is a crucial part and PRBF2.exe relies on it. If this fails, you might still crash while in main menu, but should not cause issues while playing.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Lorfah
Posts: 78
Joined: 2007-10-09 14:59

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Lorfah »

SCAR-H wrote:i have same crash

Code: Select all

Project Reality Log File
PRLauncher.exe started at: 2018-07-02T21:38:59

Warning: Error in game thread: 3

 > Could not find address of Node upd_launcher
Mats391 wrote:Thats not even remotely the same error. That error also should not get raised 5min into the game but 5sec after entering the main menu.
What would be the solution for this error then?
I run Win10 64 bit
User avatar
Mats391
PR:BF2 Lead Developer
Posts: 7636
Joined: 2010-08-06 18:06

Re: CRASH AFTER 5 MIN ONLINE PVP

Post by Mats391 »

Lorfah wrote:What would be the solution for this error then?
I run Win10 64 bit
This error happens when the Launcher fails to link to the game process. So first step would be to make sure the Launcher can do that. For that make sure to run the Launcher as admin and maybe temporarily disable any anti virus as those might interfere.
If all that fails, we need to analyze the memory of the game process to see why it cant find what the Launcher is searching for. To do that we would need a memory dump. Easiest way to do that would be to start PR in windowed mode (assuming it also does not work in windowed) and then make a memory dump through task manager the moment the menu loaded. You have to be quick as shortly after the game will be closed.
Image

Mineral: TIL that Wire-guided missiles actually use wire
Post Reply

Return to “PR:BF2 Support”