Page 1 of 1

possible fix for keypacket loss

Posted: 2012-09-21 12:00
by ExeTick
I didnt write this :P


Hello everyone,

I had lots of trouble with punkbuster losing key packet 9003 and 9005 error
and since no one out there was able to help me i went searching and searching
on my pc and on tons of forums.

Well i am not that great with pc's actualy my self but after a day of struggling i fixed this error for me.


I did the following:


There is a PnkbstrA . exe (is active all time)
and there is a PnkbstrB. exe (becomes active once u go in a game it requires.)

i found out that those 2 need to communicate in order to stay in game.

But for me and lots of oders i supose the B . exe keeps turning off and on
eventualy turning off fully getting u the missing key packets error

I found out from reading the pnkbstrB logfile in system 32 that it gets an critical error
about having LOW PRIORITY

What you have to do is following:

*LAUNCH apb and
*once ur on the main login screen tab out to desktop
* open task manager (ctrl +alt+del)
*go to services search for PnkbstrA . exe and PnkbstrB. exe make sure it says they are both RUNNING
IF 1 or both aint running RIGHT CLICK them and click start service
*next u go to processes in ur taskbar menu
*search the list for pnkbstrA. exe and pnkbstrB . exe
*now right click on PnkbstrA . exe and go to SET PRIORITY put this on HIGH
do the same to the pnkbstrB . exe and close task manager
( u can check if it worked by opening taskmanager again going processes and checking if the priority of the file is stile on high.)

***EDIT***
I FOUND THAT when ever ur game closes or ur pc restarts
the priority of PnkbstrB. exe gets reset to normal
so u manualy have to put it back to high again TY.

*******
*NOW CLOSE APB
*NEXT TIME U LAUNCH APB MAKE SURE U LAUNCH IT AS ADMINISTRATOR

for me this worked the log file of PnkbstrB . exe doesnt go crazy any more and i can run the game without crashes.


Sorry if this is wrong section.. or if my english is not the best..
Also like i said i totaly have not much idea of pc's i just found this by luck and from talking with others.


I HOPE THIS CAN HELP YOU GUYS.

Re: possible fix for keypackey loss

Posted: 2012-09-21 23:00
by Anderson29
nah man this is an excellent find, but what is APB exactly?

Re: possible fix for keypackey loss

Posted: 2012-09-21 23:15
by LITOralis.nMd
I believe he means the game APB:Reloaded , which also uses Evenbalance punkbuster and has been suffering similar problems for much of the year since the bugged April WindowsUpdate.


The following has not been tested yet, could use knowledgable people to help me test this:

IF YOU USE WINDOWS XP 32 or 64 BIT, Vista 32 or 64, Win7 32 or 64, Win8 32 or 64, WinServker2k8 32 or 64 bit, this program should also allow you to permanently change the priority of PunkbusterA and punkbuster B
Process Lasso - Automate and optimize priorities, CPU affinities, power profiles, and much more!
A second tutorial and download link: Process Lasso a Process Manager


If any gurus want to write a script for us,

You could create a batch file using start command to set affinity.
Then create a shortcut to that batch file and use that to start the
application.

the start help text for affinity:

START ["title"] [/D path] [/I] [/MIN] [/MAX] [/SEPARATE | /SHARED]
[/LOW | /NORMAL | /HIGH | /REALTIME | /ABOVENORMAL | /BELOWNORMAL]
[/AFFINITY <hex affinity>] [/WAIT] [/B] [command/program]
[parameters]

AFFINITY The new application will have the specified processor
affinity mask, expressed as a hexadecimal number.

Re: possible fix for keypackey loss

Posted: 2012-09-22 04:25
by LITOralis.nMd
Testing this out, need more people to help test this:

1. Download and install the correct version (32bit or 64bit) of ProcessLasso from here:
Process Lasso - Automate and optimize priorities, CPU affinities, power profiles, and much more!

2. Install ProcessLasso with start at each boot, for both the UI and the core process. For all users or just your main PR windows user login, your choice.

Start ProcessLasso.
Start PR.
Join a multiplayer server that uses punkbuster, join a squad.
alt-tab out,
Maximize ProcessLasso

You need to go through each process , and add these:
bf2.exe
pr.exe
pnkbstra.exe
pnkbstrb.exe

You want to right click on these processes and select these:
DefaultPriorities = High
DefaultIOPriorities = High
KeepRunningProcesses
AutomaticGamingMode

Here is the important bits from my test .ini file for tonight:

[PHP][ProcessDefaults]
DefaultPriorities=pnkbstra.exe,high,pnkbstrb.exe,high,pr.exe,high,bf2.exe,high
DefaultIOPriorities=pnkbstra.exe,3,pnkbstrb.exe,3,pr.exe,3,bf2.exe,3
DisableThreadPriorityBoost=
DefaultAffinities=
KeepRunningProcesses=c:\windows\syswow64\pnkbstrb.exe;c:\windows\syswow64\pnkbstrb.exe;0,c:\windows\syswow64\pnkbstra.exe;c:\windows\syswow64\pnkbstra.exe;0
MatchWildcardsToPathnames=False
[AdvancedRules]
DivideCPUPercentThresholdsBySystemCPUCount=False
OverloadProcessActions=
[GamingMode]
GamingModeEnabled=False
[Classifications]
AutomaticGamingModeProcessPaths=c:\windows\syswow64\pnkbstrb.exe,c:\windows\syswow64\pnkbstra.exe,v:\program files (x86)\ea games\battlefield 2\mods\pr\pr.exe,v:\program files (x86)\ea games\battlefield 2\bf2.exe
[PowerManagement]
Display=
PC=
AllowDisplaysPreventPC=
[ProcessDefaults]
DefaultPowerSchemes=pnkbstra.exe;gaming mode power plan,pnkbstrb.exe;gaming mode power plan,pr.exe;gaming mode power plan,bf2.exe;gaming mode power plan[/PHP]

Re: possible fix for keypackey loss

Posted: 2012-09-22 07:49
by Anderson29
played 4 maps tonight in 1 server by setting the priority to punkbuster A & B on high in task manager. and usually i always crash on the 2nd or 3rd map. so i think we may have something here.... thx exetick.

Re: possible fix for keypackey loss

Posted: 2012-09-22 11:15
by ExeTick
well it could have worked :P seems to have worked for some people in APB.

Re: possible fix for keypackey loss

Posted: 2012-09-22 14:31
by 6Skrillex6
Brilliant find. :)

I had this issue a few months ago and it was incredibly frustrating! Nicely done my friend, have a cookie! :D

Re: possible fix for keypackey loss

Posted: 2012-09-27 23:44
by =HCM= Shwedor
Does this work? And if it does can you sticky the fix?

Re: possible fix for keypackey loss

Posted: 2012-09-28 01:10
by LITOralis.nMd
I have been using it since I posted in this thread on 09-21-2012, but haven't had much time to test it. I've been trying to get guys in OD-S and other PR R-Devs, R-Cons, and Beta testers to test, and guys in the OD-S clan to test.

I'd appreciate it if you told the guys in H about this and get more people testing.

Waiting on this before we sticky this.


Please give specifics when responding so I don't have to ask over and over again:

CPU:
Amount of RAM:
OS:
32 or 64 bit:
Run PR.exe in compatibility Mode or not:
IF so , which Compatibility Mode?:

IF you CTD or get KeyPacket Loss, or PunkBusterB heartbeat stopped, etc, please post,
also, go to your \Battlefield 2\mods\pr\prError.log file and find the bottom entries and post in response.

If you CTD or get KeyPacket Loss, (and specifically any type of PunkBusterB kick, please find and post this file:
AppData\Local\PunkBuster\BF2\pb\pbcl.log
How to find this file:
http://www.youtube.com/watch?v=W4JbucUgr2w

Re: possible fix for keypacket loss

Posted: 2012-09-28 08:49
by ExeTick
I set it to high everytime I connect to PR but like I stated before. I get key packey loss maybe 1-3 times every month.

but I havent got it while setting it to high atm.

Re: possible fix for keypacket loss

Posted: 2012-09-28 20:15
by Eskil_swe
still getting lossingkey packaged.

CPU: i7 950
Amount of RAM: 12 gb
OS: win7
32 or 64 bit: 64bit
Run PR.exe in compatibility Mode or not: Not

IF you CTD or get KeyPacket Loss, or PunkBusterB heartbeat stopped: No error from today.
\Battlefield 2\mods\pr\prError.log

If you CTD or get KeyPacket Loss, (and specifically any type of PunkBusterB kick: dont have any file called pbcl.log.. have one called pbcl.db and pbcl.dll
AppData\Local\PunkBuster\BF2\pb\pbcl.log

Re: possible fix for keypacket loss

Posted: 2012-09-28 20:17
by ExeTick
I got it today aswell. I guess this doesnt work for BF2.

CTD can be fixed if you set BF2.exe to run on 1 core. because bf2 only support 1 core.

Re: possible fix for keypacket loss

Posted: 2012-09-30 02:23
by =HCM= Shwedor
I am still getting kicked using this "fix."

Re: possible fix for keypacket loss

Posted: 2012-09-30 22:02
by ExeTick
It didnt work for this game. I tried it aswell.

I just found it on a random website and decided to post it here to see if more players have success in this.

Re: possible fix for keypacket loss

Posted: 2013-04-06 02:35
by Anderson29
i just tryed this today and played for quite a long time to test it and had no packet losses....hope this can work for everyone else to.

https://www.realitymod.com/forum/f27-pr ... -here.html

third post is all i did...step by step.