Author: flying_popcorn
Description: Prevents players from picking their own team flag up. Also it flag resets (unused) when a flag is captured.
Min Version: I don't know

Capture the Base is a game style where you zone one team's flags on the opposite team's base. Then you set up spawn zones so the two teams spawn on the side of the map opposite their base. The goal is to get across the map to your base, where you can immediately capture the opponent's flag.

But there is a common problem with this game style -- some players don't get how to play, and repeatedly capture their own flag. This plugin prevents players from capturing their own flag. If someone picks up their own team flag, the plugin will /flag take it from them before they can capture their own flag.

This plugin also does /flag reset unused whenever a flag gets captured. This keeps flags evenly spread out and keeps team flags on the bases.

You have to compile it with Visual C++. And it might have to be the same version that built your version of bzfs. (The official 2.0.10 windows package was done with Visual Studio .NET 2003)

If you're intending to run a public server, I would recommend not using Windows for hosting. Hosting on Windows has a lot more issues than Linux/BSD/OSX. I would also recommend using the latest 2.0.x code instead of 2.0.10 or 2.0.12. The v2_0branch SVN is 2.0.13 (odd number means it's a development version). There are a few bzfs fixes in the SVN code.

"In addition to knowing the secrets of the Universe, I can assure you that I am also quite potty trained." -Koenma (Yu Yu Hakusho)

Since I don't have C++ installed on my computer (I have Visual C# 2008 Express), can someone that has C++ convert the source code into my dll file then post it here, I would greatly appreiciate it.
Thanks,
Propane Tank