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

[CS:GO / any] bot_quota 0 enforcer


Post New Thread Reply   
 
Thread Tools Display Modes
Author
nikooo777
AlliedModders Donor
Join Date: Apr 2010
Location: Lugano, Switzerland
Plugin ID:
4131
Plugin Version:
1
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Enforces a bots-free server
    Old 03-15-2014 , 21:05   [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #1

    This is probably the smallest and shortest plugin you'll ever see.
    I don't even expect it to be approved.
    Anyway I had this problem were CS:GO would just not follow my cvars and spawn bots randomly causing the player report to be screwed up completely.

    If you don't ever want bots in your game then this is the plugin you need.
    There is no cvar to set, nothing to be done other than putting the plugin in the right directory.

    This plugin kicks all the bots that try to join the server.

    Installation:
    • put nobots_enforcer.smx into your sourcemod/plugins/ directory
    • optionally put nobots_enforcer.sp into sourcemod/scripting (it's the source code if you don't know)

    Enjoy...
    Attached Files
    File Type: sp Get Plugin or Get Source (nobots_enforcer.sp - 5926 views - 383 Bytes)
    __________________
    nikooo777 is offline
    SpT7777
    Junior Member
    Join Date: Jan 2010
    Old 04-18-2014 , 18:42   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #2

    You do not need plugin... all you need for no bots on server is command line parameter:
    -nobots

    Last edited by SpT7777; 04-18-2014 at 18:42.
    SpT7777 is offline
    boombee
    SourceMod Donor
    Join Date: Nov 2013
    Old 04-20-2014 , 11:28   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #3

    Quote:
    Originally Posted by SpT7777 View Post
    You do not need plugin... all you need for no bots on server is command line parameter:
    -nobots
    If you run popular servers like my old competitive, servers that sometimes stays days up. It can occur to out of nowhere bots join.
    boombee is offline
    secondtimesold
    Senior Member
    Join Date: Feb 2015
    Old 04-01-2015 , 12:57   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #4

    if this works. THANK YOU
    secondtimesold is offline
    TheWho
    AlliedModders Donor
    Join Date: Jul 2012
    Old 04-01-2015 , 21:35   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #5

    Thats not an "bot_quota 0 enforcer" its an bot_kick enforcer..

    PHP Code:
    #pragma semicolon 1
    #include <sourcemod>

    public Plugin:myinfo 
    {
        
    name "[CS:GO] Bot Quota fix",
        
    author "TheWho",
        
    description "Bot Quota fix",
        
    version "FINAL",
        
    url "http://forums.alliedmods.net/"
    }

    new 
    Handle:g_hBotQuota;
     
    public 
    OnPluginStart()
    {
        
    g_hBotQuota FindConVar("bot_quota");
        if (
    g_hBotQuota != INVALID_HANDLE)
        {
            
    HookConVarChange(g_hBotQuotaOnBotQuotaChange);
        }
    }
     
    public 
    OnBotQuotaChange(Handle:cvar, const String:oldVal[], const String:newVal[])
    {
        if (
    StringToInt(newVal) > 0)
        {
            
    SetConVarInt(cvar0);
            
    //return Plugin_Handled;
        
    }

    TheWho is offline
    theworm
    Junior Member
    Join Date: Jan 2016
    Old 01-30-2016 , 16:01   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #6

    Works, thanks a lot man!
    theworm is offline
    ElleVen
    AlliedModders Donor
    Join Date: May 2016
    Location: Italy, Milan
    Old 04-30-2017 , 17:29   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #7

    -nobots maybe?
    __________________
    ElleVen is offline
    raj kaul
    Senior Member
    Join Date: Mar 2018
    Location: www.lotgaming.xyz
    Old 11-09-2019 , 15:43   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #8

    -nobots is nice option but for DM servers only not for retakes and competitive servers because of smoke bug . you can see enemy in radar if there is a smoke
    __________________

    Last edited by raj kaul; 11-09-2019 at 15:44.
    raj kaul is offline
    paulo_crash
    AlliedModders Donor
    Join Date: May 2016
    Location: Brazil
    Old 12-05-2019 , 22:29   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #9

    Quote:
    Originally Posted by raj kaul View Post
    -nobots is nice option but for DM servers only not for retakes and competitive servers because of smoke bug . you can see enemy in radar if there is a smoke
    Does this BUG still exist in CSGO? Valve has not released a fix for this issue?
    paulo_crash is offline
    ayrton09_arg
    Senior Member
    Join Date: Nov 2017
    Old 12-05-2019 , 23:54   Re: [CS:GO / any] bot_quota 0 enforcer
    Reply With Quote #10

    Quote:
    Originally Posted by paulo_crash View Post
    Does this BUG still exist in CSGO? Valve has not released a fix for this issue?
    yep stills exist no matter if you have -nobots when you have dm or warmup time bots will join anyways lol
    ayrton09_arg 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 08:25.


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