Page 1 of 1

PunkBuster Client Logs

Posted: 04 Jun 2010, 10:57
by [RC]Hunter
PunkBuster Client Logging
--------------------------------------------------------------------------------

Client logging is having PB log all messages to a log file located in your PB folder named pbcl.log. This is handy to get your guid, find out why you are PB kicked, find the server ip of a server and even logs other players kicks.


Client Logging Setup
--------------------------------------------------------------------------------
What you need

- Text Editor
- PBCL Config


Setup Logging

To enable this you need to have the pbcl.cfg file in your root PB folder (Windows Vista and Windows 7 users please read the note at the end of this document). The contents of this file should contain the following:

Code: Select all

pb_MsgPrefix "[skipnotify]PunkBuster Client"
pb_Sleep 500 
pb_LogToFile 1 
pb_SsLog 1 
pb_SsSave 1
If you want to see all the PB messages on the screen use the following to replace the first line:

Code: Select all

pb_MsgPrefix "PunkBuster Client"
This will however spam a lot of PB messages on the lower, middle of your screen (Max 3 lines showing)


Retrieve your PB GUID

Once PB logging is enabled join a PB enabled server. Load into the server and join a team.

Now you GUID should be saved in the log. To get it open the pbcl.log file and search for:
PB Server assigned guid = <guid>

The full line should look like the following:

Code: Select all

&#91;date and time&#93; PB Server assigned guid = 289e3ab09c9b0334530be5a78aeff1f0
Now you can use this to search ban lists to see if you're banned should you get a Prior Kick/Ban message from PB.


Note for Windows Vista and Windows 7 Users

Please note that Windows Vista and Windows 7 stores the logs and other PB files outside the game folder commonly located at:

Code: Select all

C&#58;\Users\<User>\AppData\Local\PunkBuster\<Game>\pb\
You can enter this to view the PunkBuster working folder for the current user and select the game you wish to setup logging for:

Code: Select all

%USERPROFILE%\Appdata\Local\PunkBuster\
or

Code: Select all

%LOCALAPPDATA%\PunkBuster\
<center>[img]http://www.clusterwars.net/userpix/2_wi ... lder_1.jpg[/img] </center>
Put the pbcl.cfg file in this location for each game you wish to enable logging for. The log file will be saved here.