C:L4D2Banlist

From Devicenull's Code

Jump to: navigation, search

Image:Lobbybanlist.png

Contents

Description

L4D2 has a number of people who I never want to play with again, and Valve has been unwilling to provide a system to do this. Through the Steam API there is a way to determine what lobby you are in, and who is in it with you. With a bit of work I was able to match these against a predefined list of people who are not fun to play with.

This will also log any players that are present in the lobbies for you, so you can always find someone's steamid that you have played with.


Note: This does not interact with the game at all (it all goes through the public API), so this will *not* cause VAC bans.


Thanks to AzuiSleet for helping me with the API.

Usage

Extract *all* the files somewhere. Open up the banlist.txt file, and add the steamids of any one you want to be warned about. You would need to put one per line, in the STEAM_x:y:zzz format. After that, just run the application. If you install Snarl, you will get popup notifications whenever a blacklisted player joins the game. These appear on top of the game, so this is an easy solution if you don't have multiple monitors.

side-by-side configuration error

Install this

Changes

0.2:

  • Fixed crash that occurred if blacklist was not present.
  • Fixed interface caused by the recent steam client update.
  • Added support for Snarl, which provides popup notifications.
  • Rewrote blacklist parser, so comments can be added after each steamid.
  • Added logging of all lobbies and players that you play with.
  • A slight delay was added to the checks, so as to not use excessive CPU.
  • Compiled in release mode, file size was roughly halved.

Download

l4d2_banlist_0.2.zip v0.2 (12/10/2009) (source code)

l4d2_banlist_0.1.zip v0.1 (12/05/2009)