AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Bounty (https://forums.alliedmods.net/showthread.php?t=56939)

^BuGs^ 06-24-2007 15:34

Bounty
 
2 Attachment(s)
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

Isias 06-25-2007 03:26

Re: [PLUGIN] Bounty
 
1 Attachment(s)
Now, well, i'm sorry, i did read your request to add translations to the bug reporting site, but as i don't see any registration link for the system and the forum doesn't seem to be synced i can't submit it there? Then i tried via PM recognizing that I can't attach any files. Sending the text itself via PM didn't work as the translation exceeded the 5000 words character limit. So i had to attach it here, i'm sorry.

^BuGs^ 06-25-2007 11:36

Re: [PLUGIN] Bounty
 
Quote:

Originally Posted by -<[PAGC]>- Isias (Post 494396)
Now, well, i'm sorry, i did read your request to add translations to the bug reporting site, but as i don't see any registration link for the system and the forum doesn't seem to be synced i can't submit it there? Then i tried via PM recognizing that I can't attach any files. Sending the text itself via PM didn't work as the translation exceeded the 5000 words character limit. So i had to attach it here, i'm sorry.

It is. Same forums username and password. :) Thanks. I will add it tot he bug reporting site so it's there and recorded. :)

^BuGs^ 06-28-2007 01:33

Re: Bounty
 
Updated
Version 1.0.2.0! Enjoy!

benkoren 06-28-2007 10:52

Re: Bounty
 
Huge improvement! I love it!

FlyingMongoose 06-28-2007 12:04

Re: Bounty
 
So you're saying if you try to set a negative value it automatically changes it to positive?

^BuGs^ 06-28-2007 16:57

Re: Bounty
 
It did this in the previous version. Not this version. :)

FlyingMongoose 06-28-2007 19:32

Re: Bounty
 
I feel you should never be able to actually set a negative bounty, it has to be a whole, positive number. So if it's -5000 it should either block it, or change it to 5000.

^BuGs^ 06-28-2007 20:02

Re: Bounty
 
It's blocked.

^BuGs^ 06-30-2007 03:44

Re: Bounty
 
Updated to 1.0.3.0!

I got my first real taste of how this went with about 16 users tonight. There was some problems during my coding were I switched up values that didn't reset people status for custom bounties. Streak bounties still worked. They were very minor, but still caused enough for an updated. I suggest an update. Cheers. :)


All times are GMT -4. The time now is 03:59.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.