AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [CS:GO] Give Stats Cash and Weapons to Bot Controller (https://forums.alliedmods.net/showthread.php?t=202443)

Sheepdude 12-05-2012 15:20

[CS:GO] Give Stats Cash and Weapons to Bot Controller
 
2 Attachment(s)
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
----------------------------------------------------

TnTSCS 12-05-2012 21:40

Re: [CS:GO] Bot Controller Stats Cash Weapons
 
Nice - thanks :)

Sheepdude 12-05-2012 22:55

Re: [CS:GO] Bot Controller Stats Cash Weapons
 
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

Root_ 03-05-2013 08:54

Re: [CS:GO] Give Stats Cash and Weapons to Bot Controller
 
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.


addam 03-24-2013 07:48

Re: [CS:GO] Give Stats Cash and Weapons to Bot Controller
 
2 Attachment(s)
Hi,

After the latest GO update, plugin does not work.


UPDATE: new cash cvars added, so maybe its working now again.


All times are GMT -4. The time now is 23:11.

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