Page 1 of 1
CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-01 16:27
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

Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-01 18:21
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.
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-01 18:31
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.
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-01 19:40
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
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-02 14:27
by Sexy_SnipeR
issue still remain the same

what should i do next ?
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-02 17:38
by Mats391
What anti virus do you use and please post your hosts file
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-02 19:28
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
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-03 17:36
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.
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-04 06:17
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
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-04 17:20
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.
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-07-13 18:45
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.
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-08-22 13:26
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
Re: CRASH AFTER 5 MIN ONLINE PVP
Posted: 2018-08-22 18:47
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.