Thread: Bounty
View Single Post
Author Message
^BuGs^
Senior Member
Join Date: May 2007
Old 06-24-2007 , 15:34   Bounty
Reply With Quote #1

This plugin is a bounty script. Post all bug reports/ideas here and view current status here. Bug reports/ideas posted on the forums will not be taken. Use your forum user name and password to log in. Do not have more than one bounty script running on your server!

REQUIREMENT:
  • Min: Sourcemod Version 1.0.0.1094
CREDIT:
  • BAILOPAN - Sourcemod/Issue List And SVN Hosting
  • FlyingMongoose - Started the Sourcemod script/Idea man
  • stoic - Worked on what FlyingMongoose started
CVARS:
  • sm_bounty_status - 1/0 - To Enable/Disable the whole script
  • sm_bounty_custom - 1/0 - To Enable/Disable Custom Bounty's
DEFAULTS:
  • Streak: 4 kills
  • Base Bounty: $1,000
  • Increased After base: $250
  • Round Increased Bounty: $500
  • Head shot bouns: 30%
  • Hostage Bounty: Off
  • Hostage Bounty Value: $500
These are now changed, along with all the default options in:
  • configs/bounty/plugin.bounty.cfg
COMMANDS:
  • sm_bounty Brings up Bounty GUI if any active bounty exist
  • sm_bounty <#userid|name> <amount> - Sets a custom bounty.
You can do it in chat also:
  • !bounty
  • !bounty <#userid|name> <amount>
Using the IRC Realy Script:
  • !bounty <trigger> - See the current bounty in the server (Voice (+v) Required)
FILE STRUCTURE:
  • plugins/bounty.smx
  • scripting/
    • bounty.sp
    • bounty/ All Development Files
  • translations/plugin.bounty.txt
ATTENTION TRANSLATORS:
  • German Translation (1.0.8.0)
  • French Translation (1.0.6.0)
  • Turkish Translation (1.0.6.0)
Submit translations to the bug reporting site. Do not post them in the forums. Thanks.

CHANGELOG:
  • 1.0.9.0 (07/22/07)
    • IRC Relay Not working (FS#483)
    • Returned text said the wrong amount once it was invalid (FS#635)
    • World "kills" made the script go weird. (FS#642)
    • Add "Ad" messge to Ad plugin if installed (FS#648)
  • 1.0.8.0 (07/13/07)
    • Hostage bounty message was shown to the wrong person (FS#621)
    • the "client" chaning teams with a bounty still had problems (FS#619)
  • 1.0.7.0 (07/11/07)
    • Error in the translation file prevented the script to work right. (FS#572) (reopened)
    • Kill Hostages, Bounty Placed on User (FS#591)
    • German Translation fixed (FS#593)
    • Remove the IsStrNumber function (FS#604)
    • Remove plugin.bounty-simple.txt from Translation folder if you have it.
    • r1094 of Sourcemod and higher needed!
  • 1.0.6.0 (07/09/07)
    • Error in the translation file prevented the script to work right. (FS#572)
  • 1.0.5.0 (07/06/07)
    • German Translation - Bounty 1.0.4.0 fixed after Turkish translation (FS#562)
    • Change team userid invaild (FS#540)
  • 1.0.4.0 (07/02/07)
    • Initial Streak bounties were not setting and were not updating based if you wree still alive at the end of the round.
    • Added a "MEGA" message that is shown when the user has gotten to a 16k Streak bounty.
  • 1.0.3.0 (06/30/07)
    • Get Vailded Status (FS#501)
    • After a bounty was set on a person, another one could not be set later. (FS#508)
    • No money being taken away (FS#509)
    • Switching from T to CT or vice versa does not return money (FS#498)
    • French language (bounty) (FS#502)
    • cvar for custombounty is the same for bounty enabled (FS#499)
    • returned money message. (FS#500)
    • Ammount ---> Amount (FS#510)
  • 1.0.2.0 (06/27/07)
    • !bounty <user> -5000 gives the user $5000 is now disabled. Has to be a valid number. (FS#490)
    • Client Leaves Server With Custom Bounty removes the custom bounty and returns the money. (FS#486)
    • Values come from a cfg file instead of being hard coded in (FS#474)
    • General Code Cleanup, optimization, and "security" checks. (FS#473)
    • Switching Team removes the custom bounty and returns the money. (FS#485)
    • Set a Bounty From IRC (FS#454)
    • Change variables to conform with Sourcemod (FS#465)
  • 1.0.1.0 (06/25/07)
    • 1.0.0.1020 of Sourcemod Needed. See bug report for upgrade instructions. (FS#461)
    • If you kill someone with a head shot and they had a bounty set via Streak method, you now get the bonus. (FS#452)
    • The GUI is now active. Doing !bounty shows all active bounties plus the amount. (FS#453)
    • Added German to Translation File (FS#463)
    • General Code Optimization
  • 1.0.0.0 (06/24/07)
    • Public Release
Attached Files
File Type: zip bounty_1.0.9.0.zip (42.7 KB, 8048 views)
__________________
Sourcemod Plugin Author and Plugin Approver
"The correct way is MAXPLAYERS + 1"
I will not take bugs/new idea reports over the forums. Please use the issue list.

Last edited by ^BuGs^; 07-22-2007 at 13:34. Reason: Updated to 1.0.9.0!
^BuGs^ is offline