Raised This Month: $51 Target: $400
 12% 

Ratio Limit Item


Post New Thread Reply   
 
Thread Tools Display Modes
Author
^BuGs^
Senior Member
Join Date: May 2007
Plugin ID:
66
Plugin Version:
1.0.2.0
Plugin Category:
Server Management
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    If you reached a certain KDR for the map and based on the settings set, those items would be then restricted for use.
    Unapprover:
    Reason for Unapproving:
    Reported not working, depends on unapproved plugin, author inactive
    Old 07-05-2007 , 11:28   Ratio Limit Item
    Reply With Quote #1

    This plugin is a KDR checker. If someone gets a certain KDR on a map, based on the setting it would restrict those item for that player only. This script depends on Restrict Item. It has to be installed to work, even if you don't use any restrictions on the server. It also has to be enabled.

    Post all bug reports/ideas here and view current status here. Bug reports/ideas posted on the forums will not be taken. If you do not report bugs, I will not be able to fix it. Use your forums username and password to login to the system!

    CREDIT:
    • BAILOPAN - Sourcemod/Help/Issue List And SVN Hosting
    • theY4Kman - Tester
    REQUIREMENTS:
    CVARS:
    • sm_ratiolimit_version - Used for stats tracking only.
    • sm_ratiolimit_status - Used to turn off/on checking.
      • 1 = on
      • 0 = off
    DEFAULTS:

    To change the defaults: configs/ratiolimit/plugin.ratiolimit.cfg

    COMMANDS:
    • None.
    For how to setup the config file, please see the README file.

    FILE STRUCTURE:
    • plugins/
      • ratiolimit.smx
    • scripting/
      • ratiolimit.sp
      • ratiolimit/
        • All Development Files
    VALID NAMES:
    • glock
    • usp
    • p228
    • deagle
    • elite
    • fiveseven
    • m3
    • xm1014
    • galil
    • ak47
    • scout
    • sg552
    • awp
    • g3sg1
    • famas
    • m4a1
    • aug
    • sg550
    • mac10
    • tmp
    • mp5navy
    • ump45
    • p90
    • m249
    • primammo
    • secammo
    • vest
    • vesthelm
    • flashbang
    • hegrenade
    • smokegrenade
    • defuser
    • nvgs
    CHANGELOG:
    • 1.0.2.0 (08/09/07)
      • Memory leak fix
    • 1.0.1.0 (07/14/07)
      • Forgot the default config file (FS#624)
      • Updated Total Index count because of Restrict updated item count (FS#629)
    • 1.0.0.0 (07/03/07)
      • Public Release
    Attached Files
    File Type: zip ratio_limit_1.0.1.0.zip (28.2 KB, 1209 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^; 10-09-2007 at 15:26. Reason: Updated to 1.0.2.0! :)
    ^BuGs^ is offline
    yester64
    Senior Member
    Join Date: May 2007
    Old 07-05-2007 , 17:44   Re: Ratio Limit Item
    Reply With Quote #2

    this plugin could make play more fair, considering that most people use ak, mk
    so that might be a good thing. i will try it out on my server.
    i wonder, nobody responded. mmm.
    __________________
    yester64 is offline
    benkoren
    Junior Member
    Join Date: Jun 2007
    Old 07-09-2007 , 21:28   Re: Ratio Limit Item
    Reply With Quote #3

    Quote:
    Originally Posted by yester64 View Post
    this plugin could make play more fair, considering that most people use ak, mk
    so that might be a good thing. i will try it out on my server.
    i wonder, nobody responded. mmm.
    Hmm....most people here are probably on the top of the score list when they play.... personally as an admin I find it harder to entertain the people who aren't doing so good, rather than the winners. After all, this is all for entertainment isn't it? Great idea for a plugin
    benkoren is offline
    ^BuGs^
    Senior Member
    Join Date: May 2007
    Old 07-14-2007 , 21:28   Re: Ratio Limit Item
    Reply With Quote #4

    Updated to 1.0.1.0!

    Needs Restrict 1.1.1.0. Enjoy!
    __________________
    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.
    ^BuGs^ is offline
    doa
    Member
    Join Date: Nov 2007
    Old 11-14-2007 , 13:37   Re: Ratio Limit Item
    Reply With Quote #5

    Sorry, but I dont get it, I am sure there's nothing wrong with the plugin, just me...

    Can someone please assist me in a very simple configuration question:
    How do I disable the AWP for a specific team if they are up by 4 or more rounds?

    Yes, I have Restrict Item (1.1.5.0) installed.

    TIA
    doa is offline
    GriMz
    Senior Member
    Join Date: Jul 2007
    Old 02-17-2008 , 21:11   Re: Ratio Limit Item
    Reply With Quote #6

    i dont get this either, needs better instructions.

    anyways that you could create the config for me bugs?
    I can explain pretty easily what i want.

    <.70 sg552 available
    <.70 g3sg1 available
    <1.3 Awp available
    anything > 1.3 scout only

    how would this be coded please?
    __________________
    GriMz is offline
    st0rm_r1der
    Member
    Join Date: Feb 2008
    Location: DE
    Old 03-22-2008 , 15:54   Re: Ratio Limit Item
    Reply With Quote #7

    hi all
    does someone now were to get v1.0.2.0 ???
    st0rm_r1der is offline
    GriMz
    Senior Member
    Join Date: Jul 2007
    Old 04-16-2008 , 23:37   Re: Ratio Limit Item
    Reply With Quote #8

    bump

    still havent figured this out..

    This is whats in the cfg file..

    To view the latest information, see: http://forums.alliedmods.net/showthread.php?t=57377
    * Author(s): Shane A. ^BuGs^ Froebel
    *
    *
    * File: configs/ratiolimit/plugin.ratiolimit.cfg
    *
    **/
    "RatioLimit"
    {
    "Config"
    {
    "CheckFrags" "1"
    "GlobalRatio" "3:1"
    "MinFrags" "20"
    "CheckMidRound" "1"
    "EnableRatioDebug" "0"
    }
    "Items"
    {
    "deagle" "1"
    "m3" "1"
    "xm1014" "1"
    "galil" "1"
    "ak47" "1"
    "scout" "1"
    "sg552" "1"
    "awp" "1"
    "g3sg1" "1"
    "famas" "1"
    "m4a1" "1"
    "aug" "1"
    "sg550" "1"
    "mac10" "1"
    "tmp" "1"
    "mp5navy" "1"
    "ump45" "1"
    "p90" "1"
    "m249" "1"
    }
    }


    And this is whats in the read me:

    Ratio Limit Item

    This script will restrict a user to certain items if they
    go over their KDR ratio set forth in the config file.

    Use at your OWN risk! Please submit your changes of this
    script to Shane. Known issues/Submit bug reports at:

    http://bugs.alliedmods.net/?project=9&do=index

    Thanks.

    Name of Author: Shane A. Froebel
    Credits: #sourcemod on irc.gamesurge.com
    Website: http://bugssite.org
    E-mail: [email protected]

    Credit to who helped create this plugin...
    * BAILOPAN - Sourcemod/Help/Issue List And SVN Hosting
    * theY4Kman - Testing Guy
    Setup:


    Inside the plugin.ratiolimit.cfg file you have to place items that will fall under
    restriction under "Items". Each item must be on a new line. Items that you don't
    want checked, you do not need to add them. They are false by default otherwise.

    Each item must be in the:

    "itemalias" "1"

    ...format to work.

    If you want to have a spelized check for an item, it sill must go in the items list,
    but you must create it's own key.

    "deagle"
    {
    "CustomRatio" "4:1"
    "MinFrags" "20"
    "CheckMidRound" "1"
    }

    Global Var Descriptions:

    "CheckFrags" "1" -- Enable Checking (You can always override the CVAR ingame)
    "GlobalRatio" "3:1" -- What the global ratio. It must be in X:X format. Zero's can not exist.
    "MinFrags" "20" -- This is the min amount of frags the user must have for it to check.
    "CheckMidRound" "1" -- Enable/Disable checking while playing the game. If they hit their ratio while playing, it will kick the items out.
    "EnableRatioDebug" "0" -- Enable/Disable this for debugging. Requested by the author if someone goes crazy.

    Items Var Descriptions:

    All three must exist!

    "CustomRatio" "4:1" -- What the item's ratio should be to disable
    "MinFrags" "20" -- The min amount of frags the user must have for it to check
    "CheckMidRound" "1" -- Enable/Disable checking while playing the game. If they hit their ratio while playing, it will kick the items out.

    so with all that in mind.. would this be correct:

    "RatioLimit"
    {
    "Config"
    {
    "CheckFrags" "1"
    "GlobalRatio" "3:1"
    "MinFrags" "20"
    "CheckMidRound" "1"
    "EnableRatioDebug" "0"
    }
    "Items"
    {
    "deagle" "1"
    "m3" "1"
    "xm1014" "1"
    "galil" "1"
    "ak47" "1"
    "scout" "1"
    "sg552" "1"
    "awp" "1"
    "awp"
    {
    "CustomRatio" "2:1"
    "MinFrags" "10"
    "CheckMidRound" "0"
    }
    "g3sg1" "1"
    {
    "CustomRatio" "1:1"
    "MinFrags" "10"
    "CheckMidRound" "0"
    }
    "famas" "1"
    "m4a1" "1"
    "aug" "1"
    "sg550" "1"
    {
    "CustomRatio" "1:1"
    "MinFrags" "10"
    "CheckMidRound" "0"
    }
    "mac10" "1"
    "tmp" "1"
    "mp5navy" "1"
    "ump45" "1"
    "p90" "1"
    "m249" "1"
    }
    }
    __________________

    Last edited by GriMz; 04-16-2008 at 23:54.
    GriMz is offline
    FrostbyteX
    Senior Member
    Join Date: Dec 2007
    Old 04-18-2008 , 15:39   Re: Ratio Limit Item
    Reply With Quote #9

    Ugh. I just played on a server with a similar plugin. Ended up Deagling for five rounds, then glocked because couldn't Deagle after 4:1 KD. Worst experience playing CS:S in a while.
    FrostbyteX is offline
    GriMz
    Senior Member
    Join Date: Jul 2007
    Old 04-27-2008 , 12:45   Re: Ratio Limit Item
    Reply With Quote #10

    thats not what was asked man, cant get a damn answer..

    where are ya bugz????
    __________________
    GriMz is offline
    Reply



    Posting Rules
    You may not post new threads
    You may not post replies
    You may not post attachments
    You may not edit your posts

    BB code is On
    Smilies are On
    [IMG] code is On
    HTML code is Off

    Forum Jump


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


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