PunkBuster

In this part the most neccacary knowlage for serverowners and admins will be explained. pb_power and pb_sv_rcon will not be explained.

Punkbuster is usefull to catch noob hackers. Expert hackers will almost never get cought by punkbuster or screenshots.

Basic commands

A few bassic commands that you should know are as a admin:

playerlist
this shows all playernames with playerslots

pb_power
get all PB playerslots.

admin pb_sv_enable
Enables Punkbuster.

admin PB_SV_BadName 0 [clantag]
This keeps certain clans out of you server.

admin PB_SV_Ban [PB playerslot/playername]
bans a player from your server.

admin PB_SV_BanMask [first 2 parts of the IP Address]
Only use this on if you really hate someone. example admin PB_SV_BanMask 182.234 .

admin PB_SV_GetSs [PB PlayerSlot/playername]
this gets a screenshot from a player and saves it in the servers system/pb/pbss folder.

admin PB_SV_Kick [Playerslot/playername]
kicks a player, but he can reconnect.

Admin commandpost (same as f12)
Here you can manage the server, kick/ban player and switch maps.

go to http://www.evenbalance.com/publications/aa-ad/index.htm if you wana know more about Punkbuster and use it to the fullest.

PB files

All pb files are in system/pb/.

The usefull config files that get autoloaded by punkbuster are:

  • pbsv.cfg
  • pbsvuser.cfg
  • pbsvgame.cfg (Contains pb enabled)

PB Screenshots

You can use auto screenshots and manual screenshots. Auto screenshots do not work on mac poeple. I personnaly think screenshots are a waist of good ping. Most average hackers use screenshot cleaners. So you won't see any radars or wallhacks.

Auto:
To use auto screenshots put this in your pbsv.cfg. These are my personal favorites.

pb_sv_autoss 1 //enables screenshots
pb_sv_SsWidth 800
pb_sv_SsHeight 600
pb_sv_SsSrate 2
pb_sv_SsDelay 3
pb_sv_SsXpct -1
pb_sv_SsYpct -1
pb_sv_AutoSsFrom 300
pb_sv_AutoSsTo 400
pb_sv_SsCeiling 6000

Manual:

I prefere this mode the most. Manual only checks poeple if an admin want it. if an admin types admin PB_SV_GetSs [PB PlayerSlot/playername] he/she will take a screenshot of that player. and the screenshot will be saved in the servers system/pb/pbss folder.

If you want to have some good screenshots put this in your pbsv.cfg.

pb_sv_autoss 0 //disables screenshots
pb_sv_SsWidth 800
pb_sv_SsHeight 600
pb_sv_SsSrate 2
pb_sv_SsDelay 3
pb_sv_SsXpct -1
pb_sv_SsYpct -1
pb_sv_AutoSsFrom 300
pb_sv_AutoSsTo 400
pb_sv_SsCeiling 6000

all screenshots are saved in system/pb/pbss

Finding playerinfo

If you find a susposious player on your server you first start looking in your own server fills. the files you need to check are:

1. server.log. In this file you can find a MAC, GUID and ip. After you restart the server this info will be erased.
2. Go to system/pb/pbsvlogs. The highest logfile contains the latest players. In these files all poeple that login to you server get logged. You also can find MAC, GUID and IP here.
3. After obtaining the MAC, GUID and IP you can go to 2 websites.
Hazard
-{DG}-
4. Check the guid, ip, mac and playername on those websites. and see if something suspisious comes up.

PB NameLock

Namelock prevents poeple from using your playername on your server. This is the command:
admin pb_sv_namelock [GUID] [Name]
example:
admin pb_sv_namelock 8c1a4b1fd267e59d10af11bccc240c3c -{DG}-_Crusade
you also can use a small part from your guid
example:
admin pb_sv_namelock 8c1a4b1fd -{DG}-_Crusade

to find your guid look in your server.log or check the -{DG}- account linker website:

If you always want to have it loaded put it in the pbsv.cfg. but then without the admin part.
Example:
pb_sv_namelock 8c1a4b1fd267e59d10af11bccc240c3c -{DG}-_Crusade

Reduce Lag

I personal find this a very usefull command. It reduces the lag on a server A BIT.
If you are logged in as a admin type this:
admin pb_sv_sleep 100

If you want this advantage permanent add this to the pbsv.cfg
pb_sv_sleep 100

PB cvars

Cvars checks player settings. They can search trou all files including the user.ini. All cvars are pretty useless agains good hackers. But agains noob hackers they are very usefull. Put the cvars in the pbsv.cfg file to load them everytime you start the server.

These 4 cvars are the most usefull ones:

pb_sv_cvar "AGP_Interface.AAGUIController AutoLoad User.old.230.ini" EXCLUDE e
pb_sv_cvar "AGP_Interface.AAGUIController AutoLoad User.ini" EXCLUDE e
pb_sv_cvar "XInterface.GUIController AutoLoad User.ini" EXCLUDE e
pb_sv_cvar "XInterface.GUIController AutoLoad User.old.230.ini" EXCLUDE e

 

They check if someone loaded a bot with the user.ini file. But some smart poeple delete the lines from the ini before they start playing. then they are useless.

You also can make your own cvars. If you know the loading line of a bot you can make a cvar.
Example:
This is how te bot should be loaded

[AGP_Interface.AAGUIController] AutoLoad=(MenuClassName="NoRecoil.H4x",bPreInitial ize=True)
this is the counter measurment:
pb_sv_cvar "H4x Class *" EXCLUDE C
IS IT THAT EASY? yes.

 

PB Say

This is a little trick to let the server "spam" messages in the chat. The code go's like this

admin pb_sv_task 30 300 Say [the text]
Example:
admin pb_sv_task 30 300 Say Welcome to the Death Guardians
If you want to have in loaded every time you start the server put this code in pbsv.cfg
pb_sv_task 30 300 Say [the text]

Example:
pb_sv_task 30 300 Say Welcome to the Death Guardians