AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   [cstrike & csgo] Continue Bot quota order (https://forums.alliedmods.net/showthread.php?t=313044)

Bacardi 12-26-2018 11:49

[cstrike & csgo] Continue Bot quota order
 
1 Attachment(s)
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"


arcticx2 12-26-2018 19:22

Re: [cstrike & csgo] Continue Bot quota order
 
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

Bacardi 12-26-2018 23:37

Re: [cstrike & csgo] Continue Bot quota order
 
Thanks :3
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 :/

Dr.Mohammad 12-27-2018 01:22

Re: [cstrike & csgo] Continue Bot quota order
 
good job !!

sneaK 01-30-2019 15:42

Re: [cstrike & csgo] Continue Bot quota order
 
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:
https://share.snksrv.com/i/UNq0CS.png

Enrory 02-03-2019 08:01

Re: [cstrike & csgo] Continue Bot quota order
 
I think it not work.
i use bot quota 6 and fill

https://cosmoline.at/downloads/bot.jpg

Bacardi 09-01-2019 07:27

Re: [cstrike & csgo] Continue Bot quota order
 
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

Enrory 05-11-2020 13:02

Re: [cstrike & csgo] Continue Bot quota order
 
Quote:

Originally Posted by Bacardi (Post 2665463)
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 :)


All times are GMT -4. The time now is 06:45.

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