Raised This Month: $87 Target: $400
 21% 

[CS:GO] Give Stats Cash and Weapons to Bot Controller


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Sheepdude
SourceMod Donor
Join Date: Aug 2012
Location: Chicago
Plugin ID:
3398
Plugin Version:
1.0.1
Plugin Category:
Gameplay
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Gives bot cash, stats, and weapons to its controller.
    Old 12-05-2012 , 16:20   [CS:GO] Give Stats Cash and Weapons to Bot Controller
    Reply With Quote #1

    Give Stats Cash and Weapons to Bot Controller

    Version 1.0.1


    Table of Contents
    ----------------------------------------------------
    Description
    Commands and Cvars
    Installation
    Changelog
    To Do
    Notes
    Download


    Description
    ----------------------------------------------------
    Normally, stats, cash, and weapons are awared to bots, instead of
    to the players controlling them. This plugin gives bot controllers
    all the stats, cash, and weapons that they earn while playing on a bot.


    Commands and Cvars
    ----------------------------------------------------
    Cvars
    sm_bot_controller_version - Plugin version.
    sm_bot_controller_kills - (Default 1) Award kills to the bot's controller (1 - award to player, 0 - award to bot)
    sm_bot_controller_assists - (Default 1) Award assists to the bot's controller (1 - award to player, 0 - award to bot)
    sm_bot_controller_deaths - (Default 1) Award deaths to the bot's controller (1 - award to player, 0 - award to bot)
    sm_bot_controller_score - (Default 1) Award score to the bot's controller (1 - award to player, 0 - award to bot)
    sm_bot_controller_cash - (Default 1) Award cash to the bot's controller (1 - award to player, 0 - award to bot)
    sm_bot_controller_equipment - (Default 1) Award equipment to the bot's controller (1 - award to player, 0 - award to bot)


    Installation
    ----------------------------------------------------
    Place botcontrollerstats.smx in the /csgo/addons/sourcemod/plugins directory.
    After running the plugin for the first time, botcontrollerstats.cfg will be automatically created.
    Change settings in /csgo/cfg/sourcemod/botcontrollerstats.cfg.


    Changelog
    ----------------------------------------------------
    • 1.0.0 (5 December 2012)
      - Initial version

    • 1.0.1 (5 December 2012)
      - Bug fixes: Added some missing checks to see if clients are still connected.

    To Do
    ----------------------------------------------------
    • None.

    Notes
    ----------------------------------------------------
    • You are still using the bot's money to buy weapons. Purchases made on a bot will be deducted from your money at the start of the next round. However, if you spend more money than you have, the money that you can't account for is deducted from the bot's cash. Likewise, excess money gained on a bot which puts you over the maximum money limit is awarded to the bot.

    Download
    ----------------------------------------------------
    Attached Files
    File Type: sp Get Plugin or Get Source (botcontrollerstats.sp - 461 views - 18.8 KB)
    File Type: smx botcontrollerstats.smx (8.6 KB, 669 views)
    __________________

    Last edited by Sheepdude; 12-08-2012 at 12:47.
    Sheepdude is offline
    TnTSCS
    AlliedModders Donor
    Join Date: Oct 2010
    Location: Undisclosed...
    Old 12-05-2012 , 22:40   Re: [CS:GO] Bot Controller Stats Cash Weapons
    Reply With Quote #2

    Nice - thanks
    __________________
    View my Plugins | Donate
    TnTSCS is offline
    Sheepdude
    SourceMod Donor
    Join Date: Aug 2012
    Location: Chicago
    Old 12-05-2012 , 23:55   Re: [CS:GO] Bot Controller Stats Cash Weapons
    Reply With Quote #3

    Glad you enjoy. I just made a small update with extra client checks, I recommend installing it unless you like your error logs to fill up. =P
    __________________
    Sheepdude is offline
    Root_
    Veteran Member
    Join Date: Jan 2012
    Location: ryssland
    Old 03-05-2013 , 09:54   Re: [CS:GO] Give Stats Cash and Weapons to Bot Controller
    Reply With Quote #4

    Great plugin! But why are you using assists offset as m_iFrags + 4 instead of m_iAssists?
    Also
    Code:
    [SM] Native "GetEntData" reported: Entity 6 (6) is invalid
    [SM] Displaying call stack trace for plugin "botcontrollerstats.smx":
    [SM]   [0]  Line 332, botcontrollerstats.sp::MigrateCash()
    [SM]   [1]  Line 183, botcontrollerstats.sp::OnRoundStart()
    Error log file session closed.
    __________________


    dodsplugins.com - Plugins and Resources for Day of Defeat
    http://twitch.tv/zadroot
    Root_ is offline
    addam
    Junior Member
    Join Date: Apr 2006
    Location: Hungary
    Old 03-24-2013 , 08:48   Re: [CS:GO] Give Stats Cash and Weapons to Bot Controller
    Reply With Quote #5

    Hi,

    After the latest GO update, plugin does not work.


    UPDATE: new cash cvars added, so maybe its working now again.
    Attached Files
    File Type: sp Get Plugin or Get Source (botcontrollerstats.sp - 685 views - 19.6 KB)
    File Type: smx botcontrollerstats.smx (9.5 KB, 305 views)
    __________________
    Mirage Servers Hungary
    Now only for private access

    Last edited by addam; 04-21-2013 at 03:15. Reason: Maybe fixed it
    addam is offline
    Send a message via MSN to addam
    Reply


    Thread Tools
    Display Modes

    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 22:45.


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