bot_quota control help CS/CZ bots
Looking for a script that will control the bot_quota of cz bots/humans on either T or CT. For example, if bot_quota is set to 10, the number of players on both teams should total 10 at any given time. This excludes spectators and unassigned. There is this https://forums.alliedmods.net/showth...08253?p=808253 that works almost perfectly but it causes crashes sometimes right after a bot gets kicked and disconnects. Adding connected and team checks didn't help. Any help would be appreciated.
|
Re: bot_quota control help CS/CZ bots
I'll check how it's done soon ( it has a cvar ), but do you have a steam counter strike or non steam counter strike?
|
Re: bot_quota control help CS/CZ bots
Currently running steam only, metamod 1.21-am, latest dev build amxx 1.8.3, windows. The crash happens when a real player joins team and a bot is kicked. For example, these are the last few logs before crash.
L 07/14/2017 - 11:33:52: "???<880><STEAM_0:1:???????><>" joined team "TERRORIST" L 07/14/2017 - 11:33:53: Server cvar "bot_quota" = "11" L 07/14/2017 - 11:33:53: Kick: "Superbot<877><BOT><>" was kicked by "Console" L 07/14/2017 - 11:33:53: "Superbot<877><BOT><TERRORIST>" disconnected |
Re: bot_quota control help CS/CZ bots
Still trying to find a fix or replacement script for this function.
Code:
public check_players() { |
Re: bot_quota control help CS/CZ bots
When do you call check_players?
Maybe doing a break after Kick the bot to stop the loop |
Re: bot_quota control help CS/CZ bots
Quote:
Code:
public plugin_cfg() { |
Re: bot_quota control help CS/CZ bots
Bump.
|
| All times are GMT -4. The time now is 23:11. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.