As you might know, CyberGamer has the following rule concerning illegal binds and scripts:
Quote from CG Rules:
Illegal Scripts and Binds
Scripts & config tweaking including but not limited to nadescripts, weapon_next, macros and so forth, including configs that change commands/rates. These commands range from set nade binds to gain the longest throw to scripting a superior firing rate of semi-automatic weapons. This also includes multi-command binds such as bind KEY "toggleads; +attack" on the scroll wheel. Players found guilty of abusing these will be banned as seen fit.
A lot of people do not know that it is possible to let your own server scan for illegal binds. In this short tutorial I will explain how to set-up your server so it scans for illegal binds such as vstr binds and strafe scripts. Hopefully this will give more teams the chance to make the game more fair and get the illegal binds out of the game.
*NOTE*: If a person uses an illegal bind, he will not be kicked, the bind and the name of the player using the bind will be saved in a logfile. The location of this logfile is shown in STEP 4.
*NOTE #2*: I have uploaded both the "pbsvuser.cfg" and "pbsv.cfg" files, the download link is on the bottom of this post. This way you can just replace the two files in order for your server to scan for illegal binds. If you still want to know how to change settings, I suggest you read the steps below.
The first requirement is that you have access to your server's FTP.
Once you have access to the FTP of your server, the next step is to add some lines in the "pbsvuser.cfg" file, which is located at ..\pb\pbsvuser.cfg.
Open the file and add the following:
Quote from pbsvuser.cfg:
pb_sv_load stock_iwd_md5.cfg // stock-iwd checksum control, remove the "//" to enable and put stock_iwd_md5.cfg in your pb folder
pb_sv_load promod_iwd_md5.cfg // promod-iwd-file checksum control, remove the "//" to enable and put promod_iwd_md5.cfg in your pb folder
pb_sv_task 20 2500 pb_sv_cvarsrch wait
pb_sv_task 80 2500 pb_sv_cvarsrch vstr
pb_sv_task 140 2500 pb_sv_cvarsrch bind
pb_sv_task 200 2500 pb_sv_bindsrch wait
pb_sv_task 260 2500 pb_sv_bindsrch vstr
pb_sv_task 320 2500 pb_sv_bindsrch com_maxfps
pb_sv_task 380 2500 pb_sv_bindsrch rate
pb_sv_task 440 2500 pb_sv_bindsrch exec
pb_sv_task 500 2500 pb_sv_bindsrch bind
pb_sv_task 560 2500 pb_sv_bindsrch set
The "pb_sv_task 20 2500" command performs a task after 20 seconds in a loop of 2500 seconds. If you want the server to scan more frequently, just lower the value of 2500. Make sure that the highest value of the scantime (currently 560), does not exceed the value of the loop (currently 2500).
You can also add more values to be scanned for. For example if you want to add a scan for a toggle bind, just add:
"pb_sv_task 40 2500 pb_sv_cvarsrch toggle" and "pb_sv_task 240 2500 pb_sv_bindsrch toggle".
Now you need to edit another pb file: pbsv.cfg. This file is located at ...\pb\pbsv.cfg.
Open the file and edit and add the following:
First make sure that the following command is set to "1" like this:
Secondly, add the following command:
You have completed all the settings on the server side. Your server should now make logs and save them on the following location: ...\pb\svlogs. The logs start with the number 00000001.log and new files are made every time the server is rebooted. I prefer to reboot the server at least once a week, to ensure that the files are not getting massive.
DOWNLOAD LINK OF "pbsvuser.cfg" AND "pbsv.cfg":
If you have any questions, please post them here and I will check if I can help out.Edited 7 times, last edited 4/4/13 - 2:17pm