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

[cstrike & csgo] Continue Bot quota order


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Plugin ID:
6380
Plugin Version:
1.0
Plugin Category:
General Purpose
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Helps to keep bot quota amount right after round start
    Old 12-26-2018 , 11:49   [cstrike & csgo] Continue Bot quota order
    Reply With Quote #1

    Date 26.12.2018

    Have tested in these games (cstrike, csgo).

    [Problem] When you are using bot_quota_ mode "fill" or "match":
    - Bots join and disconnect automatically according to the number of players in first 25 seconds after round_start.
    - When 25 seconds have passed, bots stop joinning and disconnecting regardless of number of players.
    - After round_end, bots start work again automatically.

    This above is game own feature.
    Problem would be in really long rounds or rounds which not end. Bots not leave from teams to make room.

    So I tried made plugin what keep continue order bots amount, after 25 seconds have passed of round_start.
    - plugin take action only when player change team (player_team event)

    I have not tested much, so no guarantee.



    As a reminder:
    Code:
    // Determines the total number of bots in the game.
    // Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
    // Default: "10"
    bot_quota "0"
    
    // Determines the type of quota.
    // Allowed values: 'normal', 'fill', and 'match'.
    // If 'fill', the server will adjust bots to keep N players in the game, where N is bot_quota.
    // If 'match', the server will maintain a 1:N ratio of humans to bots, where N is bot_quota.
    // Flags: FCVAR_GAMEDLL|FCVAR_REPLICATED|FCVAR_RELEASE
    // Default: "normal"
    bot_quota_mode "fill"
    
    // bot_quota_mode "normal" // plugin not take any action, this mode should work.
    
    // examples
    //
    // Spawn 3 bots per 1 human player
    // bot_quota 3
    // bot_quota_mode "match"
    
    // Minimi amount of players to keep in server, bots fill missing player count.
    // bot_quota 6
    // bot_quota_mode "fill"
    Attached Files
    File Type: sp Get Plugin or Get Source (continue_bot_quota_order.sp - 934 views - 5.0 KB)
    Bacardi is offline
    arcticx2
    Senior Member
    Join Date: Nov 2011
    Old 12-26-2018 , 19:22   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #2

    I LOOOOOOOOOOOOOOOVE YOU BACARDI !!!! men you are the one ! helping people non stop and this good stuff ! i was suffering from this problem and drove me crazy !

    i hope / sure with this plugin , this problem goes away !

    Regards
    arcticx2 is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 12-26-2018 , 23:37   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #3

    Thanks
    It's just my silly hobby, to help/figure out/solve puzzle/troll posts/copy others devs codes.
    To workout my brain.

    Anyway, I shoul add more code in this plugin, maximum player count and kick certain bots in right order.

    I look it later :/
    Bacardi is offline
    Dr.Mohammad
    Senior Member
    Join Date: Jan 2016
    Location: CSGO Servers
    Old 12-27-2018 , 01:22   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #4

    good job !!
    Dr.Mohammad is offline
    sneaK
    SourceMod Moderator
    Join Date: Feb 2015
    Location: USA
    Old 01-30-2019 , 15:42   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #5

    Seems to be working as intended, clever way going about solving the issue!

    Edit: Upon further investigation, doesn't seem to function properly all the time:
    __________________

    Last edited by sneaK; 01-30-2019 at 19:16.
    sneaK is offline
    Enrory
    Senior Member
    Join Date: Nov 2016
    Location: Austria
    Old 02-03-2019 , 08:01   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #6

    I think it not work.
    i use bot quota 6 and fill

    __________________
    Enrory is offline
    Bacardi
    Veteran Member
    Join Date: Jan 2010
    Location: mom's basement
    Old 09-01-2019 , 07:27   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #7

    It have been long time I have using SourceMod and Source games last time.

    In CSGO there is one bad feature, in fast respawn system. (Has it been fixed ?)
    Not sure (can't remember) did this and another plugin work well together.

    But here [CS:GO] bug fix - bot add jointeam
    __________________
    Do not Private Message @me
    Bacardi is offline
    Enrory
    Senior Member
    Join Date: Nov 2016
    Location: Austria
    Old 05-11-2020 , 13:02   Re: [cstrike & csgo] Continue Bot quota order
    Reply With Quote #8

    Quote:
    Originally Posted by Bacardi View Post
    It have been long time I have using SourceMod and Source games last time.

    In CSGO there is one bad feature, in fast respawn system. (Has it been fixed ?)
    Not sure (can't remember) did this and another plugin work well together.

    But here [CS:GO] bug fix - bot add jointeam
    thanks work good for me
    __________________
    Enrory 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 01:20.


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