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

[CS:GO] Bot Quota Fix (Updated 2016-06-11)


Post New Thread Reply   
 
Thread Tools Display Modes
Author
nullb
Junior Member
Join Date: Jun 2016
Plugin ID:
5236
Plugin Version:
Plugin Category:
General Purpose
Plugin Game:
Counter-Strike: GO
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Plugin emulates "bot_quota_mode fill"
    Old 06-10-2016 , 13:03   [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #1

    I've updated the bot quota fix plugin originally created by altex then further modified by DoPe^.

    Re-factored the code, I was having issues with bots not getting removed after all human players left so I added that function and cleaned up the code's logic so it makes more sense. Probably a little faster.

    cvars:
    sm_csgobotquotafix_enable - Enable bot quota fix
    sm_csgobotquotafix_quota - Bot quota
    sm_csgobotquotafix_delay_enable - Enable/Disable the Bot Join Delay
    sm_csgobotquotafix_delay - Delay in seconds for when the bots should join

    Recommend usage, e.g. a DM server:
    bot_quota 0
    bot_quota_mode normal
    bot_join_after_player 0
    sm_csgobotquotafix_enable 1
    sm_csgobotquotafix_quota 10

    Hopefully this update is of use to some people, probably those who don't want to hibernate their servers, or have weird issues were the bots aren't getting kicked for what ever reason. It's a good safeguard if nothing else.
    Attached Files
    File Type: sp Get Plugin or Get Source (sm_csgobotquotafix.sp - 2800 views - 4.5 KB)
    nullb is offline
    triarry
    New Member
    Join Date: Jun 2016
    Old 06-15-2016 , 17:01   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #2

    Best fix I've found so far, except it seems to kick two bots instead of one, once the second player joins. I had the sm_csgobotquotafix_quota 9 enabled; I joined, and a bot got kicked for me to join. My friend joined, and two more bots got kicked, bringing the server count down to 8 instead of 9.
    triarry is offline
    nullb
    Junior Member
    Join Date: Jun 2016
    Old 06-19-2016 , 10:40   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #3

    I'll investigate I haven't noticed that and the source code shouldn't allow for that... Very odd, in my quick attempts I wasn't able to recreate it maybe you have another plugin getting in the way.
    __________________

    nullb is offline
    FallenNT
    Member
    Join Date: Feb 2013
    Location: Russia
    Old 09-18-2016 , 08:56   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #4

    Quote:
    //SourceMod Batch Compiler
    // by the SourceMod Dev Team


    //// sm_csgobotquotafix.sp
    //
    // D:\Server\cs_go\csgo\addons\sourcemod\scripti ng\sm_csgobotquotafix.sp(52) : w
    arning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this f
    lag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // D:\Server\cs_go\csgo\addons\sourcemod\scripti ng\sm_csgobotquotafix.sp(56) : w
    arning 234: symbol "FCVAR_PLUGIN" is marked as deprecated: No logic using this f
    lag ever existed in a released game. It only ever appeared in the first hl2sdk.
    //
    //
    // Code size: 6236 bytes
    // Data size: 2912 bytes
    // Stack/heap size: 16384 bytes
    // Total requirements: 25532 bytes
    //
    // 2 Warnings.
    //
    // Compilation Time: 0,34 sec
    // ----------------------------------------

    Press enter to exit ...
    FallenNT is offline
    Send a message via ICQ to FallenNT
    root88
    Senior Member
    Join Date: May 2016
    Old 09-18-2016 , 20:20   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #5

    Don't you understand those warnings or how can we help you?
    __________________
    root88 is offline
    chouchouille28
    Junior Member
    Join Date: Dec 2012
    Old 01-15-2017 , 00:25   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #6

    not working
    chouchouille28 is offline
    rZr
    Member
    Join Date: Aug 2006
    Old 04-23-2017 , 14:41   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #7

    +1 not working One has an alternative ?
    rZr is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 04-24-2017 , 16:14   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #8

    Can also confirm, plugin does not function as intended. Not to mention it forces bots in place of human players, kicking the humans for server being full/reserved slots. Sometimes it bugs out so much it has bots rejoining several tens of times a second, causing server var to be insanely high/crash the server.
    __________________
    sneaK is offline
    red4911
    Senior Member
    Join Date: Sep 2010
    Location: Russia
    Old 04-24-2017 , 16:42   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #9

    not working
    red4911 is offline
    nullb
    Junior Member
    Join Date: Jun 2016
    Old 10-05-2017 , 04:47   Re: [CS:GO] Bot Quota Fix (Updated 2016-06-11)
    Reply With Quote #10

    This plugin functioned correctly when I published it, it's no longer necessary to use a plugin like this to manage bots though.

    This thread can be moved to the broken section, I don't see any reason to update it now the native bot functions work as they should.

    Unless they don't I'm not aware of any issues, somebody confirm if there is I will update.
    __________________


    Last edited by nullb; 10-05-2017 at 04:49.
    nullb is offline
    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 19:52.


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