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

TeamBets (Mani Bet Module Conversion)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
ferret
SourceMod Developer
Join Date: Dec 2004
Location: Atlanta, GA
Plugin ID:
29
Plugin Version:
1.4
Plugin Category:
Fun Stuff
Plugin Game:
Counter-Strike: Source
Plugin Dependencies:
    Servers with this Plugin:
    Plugin Description:
    Bet on which team will win for cash!
    Unapprover:
    Reason for Unapproving:
    New version: http://forums.alliedmods.net/showthread.php?t=85914
    Old 06-16-2007 , 21:10   TeamBets (Mani Bet Module Conversion)
    Reply With Quote #1

    TeamBets
    Version 1.4

    By: ferret!
    Thanks: Mani for original idea

    Description

    This plugin allows players to bet on which team will win the round. Their winnings are based on how many players on each team is still alive. Bomb defusals and hostages rescues, etc, count as well.

    Players bet by saying "bet team amount". Team must be T or CT. Amount can be either an actual number, or the words all, half, or third.

    Examples:
    bet t all
    bet t half
    bet t 3000

    Cvars
    • sm_bet
      • Turns the bet plugin on and off
      • Default is on. Set to 0 to disable.
    • sm_bet_deadonly
      • Sets whether or not living players can bet.
      • Default is on. Set to 0 to disable.
    • sm_bet_announce
      • Announces when the teams are 1v1. Does not occur if sm_bet_onevsmany is on.
      • Default is off. Set to 1 to enable.
    • sm_bet_onevsmany
      • Sets whether or not a player is rewarded the "Losing Bets" when its One vs Many. For example, if there are 2 players on each team, and one dies, it's now 1v2. A message will be displayed stating to place your bets. If the 1 player beats the 2 players, they will be rewarded with all the money lost from players who bet on the 2 players. This only counts bets that occured after 1v2 began, not before.
      • Default is 0 or "disabled". Set to 2 or higher to enable.
    Change Log:
    • Version 1.4 (June 29th)
      • Updated to conform to new plugin submission standards.
      • Changed version CVAR to sm_teambets_version
    • Version 1.3 (June 26th)
      • Exposed sm_bet_version cvar for tracking usage
      • Corrected translation files
    • June 18th 9PM EST
      • German translations added to plugins.teambets.cfg, provided by Isias
      • Fixed english translation of One Vs Many Start
    • Version 1.2 (June 18th)
      • Embarassing. I forgot to get the player's money before giving them back their bid and winnings.
    • June 17th Part 2
      • French Translations by magicyan (Redownload plugin.teambets.cfg)
      • Changed [TB] prefix to [Bet]
    • June 17th
      • Changed message prefix from [SM] to [TB]
      • Added a "use bet team amount" advertisement, shown to players on connect.
      • Several fixes to the One Vs Many code
      • Added "team_say" so you can bet in team_say now
      • We only hook player death and round end events is sm_bet is on now.
      • Officially incremented the version to 1.0
    Suggested Plugins

    It is suggested you use Bugs's "No Spec for Cash" plugin with TeamBets. It will stop players from betting all their money, switching to spectator, then switching back to their old team to get a fresh $800.

    Link: http://forums.alliedmods.net/showthread.php?t=57405

    Bugs, Requests, Translations, or Other Issues


    Please use my project area on the Allied Modders Bug Tracker to report any issues or make requests. Your login for the bug tracker is the same as your forum login. Set the category to this plugin's name.
    Attached Files
    File Type: txt plugin.teambets.txt (2.9 KB, 8160 views)
    File Type: sp Get Plugin or Get Source (teambets.sp - 14377 views - 9.4 KB)
    __________________
    I'm a blast from the past!

    Last edited by ferret; 07-05-2007 at 10:27.
    ferret is offline
    tcviper
    Veteran Member
    Join Date: Oct 2005
    Location: Netherlands
    Old 06-17-2007 , 07:15   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #2

    Nice, very nice Keep them coming people!
    __________________
    tcviper is offline
    Send a message via MSN to tcviper
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-17-2007 , 09:48   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #3

    Good job, I'm liking the less and less necessity to mani we've got going >.<
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-17-2007 , 16:34   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #4

    June 17th
    • Changed message prefix from [SM] to [TB]
    • Added a "use bet team amount" advertisement, shown to players on connect.
    • Several fixes to the One Vs Many code
    • Added "team_say" so you can bet in team_say now
    • We only hook player death and round end events is sm_bet is on now.
    __________________
    I'm a blast from the past!
    ferret is offline
    Falco
    SourceMod Donor
    Join Date: Dec 2004
    Location: CANADA
    Old 06-17-2007 , 16:52   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #5

    11 "Team Bets" (0.1) by ferret
    In debug I get this:
    Quote:
    L 06/17/2007 - 14:49:07: [SM] Native "PrintToChat" reported: Client 1 is not in game
    L 06/17/2007 - 14:49:07: [SM] Displaying call stack trace:
    L 06/17/2007 - 14:49:07: [SM] [0] Line 285, /home/groups/alliedmodders/forums/files/1/4/0/6/8/171
    07.attach::Timer_Advertise()
    __________________
    [DmZ|EPSILON CSS 70.75.139.92:27016
    [DmZ|EPSILON GG 70.75.167.30:27015
    [DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
    [DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
    [DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
    www.dmzepsilon.ca
    ----------------------
    Falco is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-17-2007 , 16:57   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #6

    You don't have the latest version, redownload it. The June17th update fixed that. Make sure it says 1.0
    __________________
    I'm a blast from the past!
    ferret is offline
    Falco
    SourceMod Donor
    Join Date: Dec 2004
    Location: CANADA
    Old 06-17-2007 , 17:18   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #7

    ok, cool
    __________________
    [DmZ|EPSILON CSS 70.75.139.92:27016
    [DmZ|EPSILON GG 70.75.167.30:27015
    [DmZ|EPSILON CS:GO Classic Casual 70.75.139.92:27013
    [DmZ|EPSILON CS:GO Demolition 70.75.139.92:27014
    [DmZ|EPSILON BF3 69.46.43.221:25203 (8-slot) Practice Server
    www.dmzepsilon.ca
    ----------------------
    Falco is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-17-2007 , 18:20   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #8

    I want to point out [TB] may imply Team Balancer. I believe the GMP Team Balancer uses this prefxi.

    I suggest [Bet] for a prefix.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose is offline
    ferret
    SourceMod Developer
    Join Date: Dec 2004
    Location: Atlanta, GA
    Old 06-17-2007 , 18:25   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #9

    Don't get smart with me I'll change it in 1.1.....
    __________________
    I'm a blast from the past!
    ferret is offline
    FlyingMongoose
    Veteran Member
    Join Date: Mar 2004
    Old 06-17-2007 , 18:31   Re: [PLUGIN] TeamBets (Mani Bet Module Conversion)
    Reply With Quote #10

    I'm not, I'm just pointing out possible problems. and helping to avoid potential confusion.
    __________________
    Please do NOT PM for support.

    Only ask for support in plugin threads.

    TunedChaos.com - Precision Tuned Game Servers
    FlyingMongoose 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 18:03.


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